handcrafted-haml-textmate-bundle icon indicating copy to clipboard operation
handcrafted-haml-textmate-bundle copied to clipboard

Could Not Find RubyGem haml

Open rainleader opened this issue 13 years ago • 2 comments

Using a fresh install of Ruby 1.9.2 (via RVM), Textmate, and the Handcrafted Haml bundle, I get the following error when trying to convert from HTML to Haml:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827:in report_activate_error': Could not find RubyGem haml (>= 0) (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:261:inactivate' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:68:in `gem' from -e:1

I ran sudo gem install haml and it installed successfully. The output of ruby -v is 1.9.2p180. It seems like TM is still looking for my system (Mac OS X) version of Ruby, not the new one I installed. Any thoughts?

rainleader avatar Apr 17 '11 20:04 rainleader

This is old, but I believe I know the answer.

Run "gem install haml" instead.

zachinglis avatar Jul 12 '11 15:07 zachinglis

Same issue. I tried both with and without sudo. Any other steps?

Dreyfuzz avatar Oct 26 '11 19:10 Dreyfuzz