Reputation: 3056
My problem is summarized in the following lines:
Joses-MacBook-Pro:~ jose$ cd Estate/
Using /Users/jose/.rvm/gems/ruby-1.9.2-p290 with gemset realstate
Joses-MacBook-Pro:Estate jose$ bundle
ERROR: Gem bundler is not installed, run `gem install bundler` first.
Joses-MacBook-Pro:Estate jose$ gem install bundler
Successfully installed bundler-1.2.1
1 gem installed
Installing ri documentation for bundler-1.2.1...
Installing RDoc documentation for bundler-1.2.1...
Joses-MacBook-Pro:Estate jose$ bundle
ERROR: Gem bundler is not installed, run `gem install bundler` first.
Joses-MacBook-Pro:Estate jose$
Here's the output for my Gem Env:
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.24
- RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [x86_64-darwin12.1.0]
- INSTALLATION DIRECTORY: /Users/jose/.rvm/gems/ruby-1.9.3-p194
- RUBY EXECUTABLE: /Users/jose/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
- EXECUTABLE DIRECTORY: /Users/jose/.rvm/gems/ruby-1.9.3-p194/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-darwin-12
- GEM PATHS:
- /Users/jose/.rvm/gems/ruby-1.9.3-p194
- /Users/jose/.rvm/gems/ruby-1.9.3-p194@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
I've tried to solve this problem by using many answers I've seen around here, like: Ruby: "gem install bundler" not installing bundler
But unfortunately so far I've not been able to solve the problem, I hope somebody can help me out figuring this out. I'm a Mac OS X newcomer.
Thanks in advance !
EDIT:
which bundle:
Joses-MacBook-Pro:Estate jose$ which bundle
/Users/jose/.rvm/bin/bundle
$(which bundle)
which gem, etc
Joses-MacBook-Pro:Estate jose$ which gem || type gem | head -n 1
/Users/jose/.rvm/bin/gem
Joses-MacBook-ProEstate jose$ hash -r
Joses-MacBook-Pro:Estate jose$
Upvotes: 0
Views: 741