views:

199

answers:

2

When trying to install Bundler 0.8.1 on Ubuntu machine, it install fine but the executable "bundle" is no where to be seen. Other gems install successfully, including their executables.

using: "gem install bundler --version=0.8.1"

RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
- INSTALLATION DIRECTORY: /home/ahammad/gems
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /home/ahammad/gems/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
 - /home/ahammad/gems
- GEM CONFIGURATION:
 - :update_sources => true
 - :verbose => true
 - :benchmark => false
 - :backtrace => false
 - :bulk_threshold => 1000
 - :sources => ["http://gems.rubyforge.org/", "http://gem1.gilt.com"]
- REMOTE SOURCES:
 - http://gems.rubyforge.org/

"/home/ahammad/gems/bin" has been added to PATH, the problem is there is no bundle exe.

any ideas?

A: 

never mind, apparently 0.8.1 uses "gem bundle" rather than "bundle"

afhammad
A: 

That might be. I've used only 1.0. But I had the same problem. A tutorial assumed I could run "bundle". It was fixed only after following the directions here http://lindsaar.net/2010/3/31/bundle_me_some_sanity The directions involve installing rvm and creating an app directory with a .rvmrc file among other things. Then in that directory you can run "bundle". The binary is ~/.rvm/gems/ruby-1.8.7-p302@railsplugins/bin/bundle

Jamie