bundle command not found in linux debian
When i enter bundle install
I get the error '-bash: bundle: command not found'.
How do I find whether bundler is installed ?
gem environment returns the following
RubyGems Environment:
- RUBYGEMS VERSION: 1.2.0
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
- INSTALLATI开发者_运维技巧ON DIRECTORY: /var/lib/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /var/lib/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/
Can somebody explains me how to get the bundler command working ? I am a novice to this subject..
gem install bundler
or probably, since there is an executable
sudo gem install bundler
In addition to installing
gem install bundler
you need to put the gem installation directory in your path on Debian 11.04 with gems v1.8 I used
export PATH=/var/lib/gems/1.8/bin/:${PATH}
精彩评论