Gem install bundler works, gem bundle doesn't?

This is probably a simple user error, but why doesn’t “gem bundle” work
after “gem install bundler”?

bash$ gem install bundler
Successfully installed bundler-0.9.26
1 gem installed
Installing ri documentation for bundler-0.9.26…
Installing RDoc documentation for bundler-0.9.26…

bash$ gem bundle
ERROR: While executing gem … (RuntimeError)
Unknown command bundle

Is there something I need to do to get gem to recognize the new ‘bundle’
command?
My environment:

bash$ rake about
About your application’s environment
Ruby version 1.9.2 (x86_64-darwin10.4.0)
RubyGems version 1.3.7
Rack version 1.2
Rails version 3.0.0.rc
Active Record version 3.0.0.rc
Action Pack version 3.0.0.rc
Active Resource version 3.0.0.rc
Action Mailer version 3.0.0.rc
Active Support version 3.0.0.rc
Environment development

TIA,

  • ff

On 14 Aug 2010, at 20:55, Fearless F. [email protected] wrote:

This is probably a simple user error, but why doesn’t “gem bundle” work
after “gem install bundler”?

The command is just “bundle”. No need to put “gem” in front of it.

Chris

Chris M. wrote:

The command is just “bundle”. No need to put “gem” in front of it.

Chris

I just figured that out. There’s some erroneous documentation floating
around the web. Warn your children.

Thanks.

  • ff

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs