Sto ospitando su un vps, ubuntu 10.04, rails 3, ruby e mysql installati correttamente seguendo alcuni tutorial. Se corro bundle check
o visualizzo bundle install
l'errore "-bash: bundle: comando non trovato". Da quello gem list --local
che vedo 'bundler (1.0.2, 1.0.0)' è installato.
Non so che cosa non va ...
gem environment
ritorna:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2010-04-19 patchlevel 253) [i686-linux]
- INSTALLATION DIRECTORY: /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby
- EXECUTABLE DIRECTORY: /opt/ruby-enterprise-1.8.7-2010.02/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8
- /root/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
e echo $PATH
ritorna:
/opt/myruby/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/bin/gem:/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/:/root/.gem/ruby/1.8
e which gem
ritorna:
/usr/bin/gem
locate bundle
ritorna:
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/