Skip to content

Support sassc? #316

Closed
Closed
@mattbrictson

Description

@mattbrictson

I tried using the cloudinary gem together with sassc-rails and it looks like this combination is not currently supported.

The cloudinary gem expects sass-rails to be present in the Gemfile, so I applied this workaround:

# Gemfile
gem 'sass-rails', require: false
gem 'sassc-rails',

This allows Rails to boot, but then when I attempt to use the cloudinary_url function in one of my .scss files I get the following error:

SassC::SyntaxError
Error: Function cloudinary_url doesn't support keyword arguments

Do you have any suggestions for using sassc-rails together with cloudinary? The sassc gem is 4x faster than Ruby sass and is a must-have for larger projects. Ideally the cloudinary gem would support either sass or sassc out of the box, without workarounds or patches.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions