Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bourbon support in Rails project #40

Closed
datacoup opened this issue Apr 12, 2013 · 6 comments
Closed

Bourbon support in Rails project #40

datacoup opened this issue Apr 12, 2013 · 6 comments

Comments

@datacoup
Copy link

When parsing scss files referencing the bourbon mixin, I receive error:

File to import not found or unreadable: bourbon. (Sass::SyntaxError)
@zmoazeni
Copy link
Owner

Thanks for the report @datacoup. I don't know much about bourbon.io so I'll need to tinker a little. And might ask more questions.

@Melindrea
Copy link

Do you have a config.rb with that as a requirement in it?

This issue is coming down from Sass - it needs to know to require the gems. If your config.rb isn't in the folder that you're wanting to run csscss, use --compass-with-config to specify the path to it.

@zmoazeni
Copy link
Owner

Thanks @Melindrea great idea. Though I'm not fond of using a switch with compass for non-compass stuff. I'll keep the conversation going in #54

@zmoazeni
Copy link
Owner

@datacoup I just released v1.3.0 with a new --require path/to/file.rb flag. That should let you bootstrap bourbon. /cc @kaishin

@kaishin
Copy link

kaishin commented Apr 21, 2013

@datacoup @zmoazeni Thanks guys for bringing this up. I tried --require with a config.rb file and it's working like a charm.

# in config.rb
require 'bourbon'
require 'neat'

And the command:

csscss --require config.rb application.css.scss

For now, that'll do it.

@datacoup
Copy link
Author

@zmoazeni Thanks for making it awesome. And thanks @Melindrea for initial idea. Easy and elegant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants