Skip to content

Instantly share code, notes, and snippets.

@jtrupiano
Created February 16, 2010 19:26
Show Gist options
  • Save jtrupiano/305821 to your computer and use it in GitHub Desktop.
Save jtrupiano/305821 to your computer and use it in GitHub Desktop.
rvm rake not working
~/projects/rack-rewrite (master) $> rvm list
rvm Rubies
ruby-1.8.6-p399 [ i386 ]
ruby-1.8.7-p249 [ i386 ]
ruby-1.9.1-p378 [ i386 ]
System Ruby
system [ ppc i386 ]
~/projects/rack-rewrite (master) $> rvm rake test
'rake not found for ruby-1.8.6-p399' either does not exist or is not executable? :(
'rake not found for ruby-1.8.7-p249' either does not exist or is not executable? :(
ruby-1.9.1-p378: ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin9.8.0]
(in /Users/john/projects/rack-rewrite)
Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler
/Users/john/.rvm/rubies/ruby-1.9.1-p378/bin/ruby -I"lib:.:lib:test" "/Users/john/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/rack-rewrite_test.rb" "test/rule_test.rb"
Loaded suite /Users/john/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
................................................................
Finished in 0.025024 seconds.
64 tests, 72 assertions, 0 failures, 0 errors, 0 skips
~/projects/rack-rewrite (master) $> rvm 1.8.6
ruby-1.8.6-p399 ~/projects/rack-rewrite (master) $> rake test
(in /Users/john/projects/rack-rewrite)
Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler
/Users/john/.rvm/rubies/ruby-1.8.6-p399/bin/ruby -I"lib:.:lib:test" "/Users/john/.rvm/gems/ruby-1.8.6-p399%global/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/rack-rewrite_test.rb" "test/rule_test.rb"
./test/test_helper.rb:15: warning: already initialized constant TEST_ROOT
Loaded suite /Users/john/.rvm/gems/ruby-1.8.6-p399%global/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
..........................................................
Finished in 0.034613 seconds.
58 tests, 66 assertions, 0 failures, 0 errors
ruby-1.8.6-p399 ~/projects/rack-rewrite (master) $>
@suzukimilanpaak
Copy link

Im getting same error. Did you sort it out?

@jtrupiano
Copy link
Author

I think so. When in doubt with rvm, rvm update --head. That usually works.

@suzukimilanpaak
Copy link

Thank you for sharing that information with me. I did the same thing after I commented though. thanks anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment