Skip to content

Instantly share code, notes, and snippets.

@kkismd
Created October 19, 2013 05:45
Show Gist options
  • Save kkismd/7052040 to your computer and use it in GitHub Desktop.
Save kkismd/7052040 to your computer and use it in GitHub Desktop.
$ bundle exec rake -T
/usr/local/bin/rake:23:in `load': cannot load such file -- /usr/local/lib/ruby/gems/1.9.1/specifications/bin/rake (LoadError)
from /usr/local/bin/rake:23:in `<main>'
$ bundle exec ruby -e 'p Gem.bin_path("rake", "rake")'
"/usr/local/lib/ruby/gems/1.9.1/specifications/bin/rake"
$ ruby -e 'p Gem.bin_path("rake", "rake")'
"/usr/local/lib/ruby/gems/1.9.1/gems/rake-10.0.4/bin/rake"
$ ls /usr/local/lib/ruby/gems/1.9.1/specifications/bin
ls: cannot access /usr/local/lib/ruby/gems/1.9.1/specifications/bin: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment