Rubygems likes to install things into places where you can't execute their scripts by default if you leave off the sudo. It's lame.
Do this: export PATH=$PATH:/Users/lyssandroreis/.gem/ruby/1.8/bin * * Or do this: gem uninstall haml gem uninstall sass sudo gem install haml sudo gem install sass * * On Thu, Jun 9, 2011 at 7:18 PM, Lyssandro Reis <lyssan...@gmail.com> wrote: > Hi Guys, > > I cannot use sass as I can't get the haml gem to work, would somebody be > able to give me a hand? > > Error msg when I call sass: > > *$ sass* > */Library/Ruby/Site/1.8/rubygems.rb:316:in `bin_path': can't find gem haml > (>= 0) with executable sass (Gem::GemNotFoundException)* > * from /Users/lyssandroreis/.gem/ruby/1.8/bin/sass:19* > > > Seems that it is a problem on haml gem. When I call haml it does not > work. Please, see below the trace: > > *$ haml --trace* > *^C/Library/Ruby/Gems/1.8/gems/haml-3.1.2/bin/../lib/haml/exec.rb:263:in > `read': Interrupt* > * from > /Library/Ruby/Gems/1.8/gems/haml-3.1.2/bin/../lib/haml/exec.rb:263:in > `process_result'* > * from > /Library/Ruby/Gems/1.8/gems/haml-3.1.2/bin/../lib/haml/exec.rb:41:in `parse' > * > * from > /Library/Ruby/Gems/1.8/gems/haml-3.1.2/bin/../lib/haml/exec.rb:21:in > `parse!'* > * from /Library/Ruby/Gems/1.8/gems/haml-3.1.2/bin/haml:9* > * from /Users/lyssandroreis/.gem/ruby/1.8/bin/haml:19:in `load'* > * from /Users/lyssandroreis/.gem/ruby/1.8/bin/haml:19* > > > However, it prints the version: > > *$ haml --version* > *Haml 3.1.2 (Separated Sally)* > > > Sass does not print the version: > > *$sass --version* > */Library/Ruby/Site/1.8/rubygems.rb:316:in `bin_path': can't find gem haml > (>= 0) with executable sass (Gem::GemNotFoundException)* > * from /Users/lyssandroreis/.gem/ruby/1.8/bin/sass:19* > > > *$ rails --version* > *Rails 3.0.8* > > > *$ gem env > * > *RubyGems Environment:* > * - RUBYGEMS VERSION: 1.8.5* > * - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) > [universal-darwin10.0]* > * - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8* > * - RUBY EXECUTABLE: > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby* > * - EXECUTABLE DIRECTORY: /usr/bin* > * - RUBYGEMS PLATFORMS:* > * - ruby* > * - universal-darwin-10* > * - GEM PATHS:* > * - /Library/Ruby/Gems/1.8* > * - /Users/lyssandroreis/.gem/ruby/1.8* > * - GEM CONFIGURATION:* > * - :update_sources => true* > * - :verbose => true* > * - :benchmark => false* > * - :backtrace => false* > * - :bulk_threshold => 1000* > * - REMOTE SOURCES:* > * - http://rubygems.org/* > > > I tried updating the gems, re-installing, and also tried gem update > --system. > > My compass seems to be working normally, but I really need to use my > sass-convert. > > Thank you so much! > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/haml/-/K21ROBmebn4J. > To post to this group, send email to haml@googlegroups.com. > To unsubscribe from this group, send email to > haml+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to haml@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.