I am having trouble compiling sass files with functions such as linear-gradient or box-shadow. I am getting exactly the same issue as here https://github.com/thoughtbot/bourbon/issues/68 where the resulting css is just a jumble of false
's.
I am not working on a rails project, so I thought I might have to include the bourbon.rb file as a library when doing sass --watch
, but this is not working for me:
sass --watch .:.. --r ./bourbon/lib/bourbon.rb
LoadError: cannot load such file -- bourbon/generator
Use --trace for backtrace.
no such file to load -- rubygems (LoadError) here it says that this might indicate I have several versions of Ruby installed, and which -a ruby
showed both rbenv 1.9.3-p327 as well as just /usr/bin/ruby (I am stil unclear as to what the difference is). Anyway, I moved .rbenv to a backup and supposedly now only have one version of ruby. I also tried specifying the rubygems path
echo $RUBYLIB
/usr/lib/ruby/1.9.1/rubygems
But I am still getting the same error when trying to include the bourbon.rb file to sass --watch.