can't find Bundler
I'm trying to get bundler working on my Dreamhost account. when I type bundle update in my application I get
-bash: bundle: command not found
I installed bundler 1.0.15 in gem bundler
gem environment
results in:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/tarscher/gems
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /home/tarscher/gems/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/tarscher/gems
- /usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gempath" => ["/home/tarscher/gems", "/usr/lib/ruby/gems/1.8"]
- "gemhome" => "/home/tarscher/gems"
- REMOTE SOURCES:
- http://rubygems.org/
I configured my .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
PATH=$PATH:/usr/lib/ruby/gems/1.8/bin;/home/myuser/gems/bin
and my .gemrc
gemhome: /home/myuser/gems
gempath:
- /home/tarscher/gems
- /usr/lib/ruby/g开发者_高级运维ems/1.8
UPDATE
When I go into /home/myuser/gems/bin
where the bundle script is located dir and type bundle I also get -bash: bundle: command not found
.
Someone knows why bundler isn't found?
Thanks
There's an error here:
PATH=$PATH:/usr/lib/ruby/gems/1.8/bin;/home/myuser/gems/bin
The paths must be separated by :
, not ;
精彩评论