Created
August 14, 2011 14:42
-
-
Save tomwans/1144937 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Toms:.rbenv/master tom$ rbenv version | |
rbx-1.2.4 (set by /Users/tom/.rbenv/default) | |
Toms:.rbenv/master tom$ gem install bundler --no-ri --no-rdoc | |
Successfully installed bundler-1.0.17 | |
1 gem installed | |
Toms:.rbenv/master tom$ bundle | |
rbenv: bundle: command not found | |
The `bundle' command exists in these Ruby versions: | |
1.8.7-p352 | |
Toms:.rbenv/master tom$ rbenv rehash | |
Toms:.rbenv/master tom$ bundle | |
rbenv: bundle: command not found | |
The `bundle' command exists in these Ruby versions: | |
1.8.7-p352 |
This is fixed with the newest ruby-build. I used ruby-build to build rbx (way back when) and it didn't specify the gemsdir, so rbenv didn't know where the gem went.
If you:
- Install the newest version of ruby-build and rbenv (you can do it through homebrew)
- rebuild the version of ruby you want with ruby-build into (~/.rbenv/versions/)
- should work.
Yes! Yes! Thanks, Tom!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you solve this problem? I'm having it too :(