Question

I just upgraded to Mountain Lion and had to install Xcode 4.4 (4.1 would not work). I believe this adversely affected my Ruby install, and more specifically Sass.

When I type $ sass --version I get the following error:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in 'report_activate_error': Could not find RubyGem sass (>= 0) (Gem::LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in 'activate'
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in 'gem'
    from /usr/bin/sass:18

Any ideas? I am running ruby 1.9.2p320 (2012-04-20 revision 35421)

Was it helpful?

Solution

What I ended up doing was:

$ source ~/.bashrc

And then I did:

$ gem install sass --pre

And that worked. When I do $ sass -v it reports Sass 3.2.0.alpha.275and not the error message above.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top