Я пытаюсь запустить свой проект Ruby on Rails на своем веб-сервере. Я получил следующее сообщение от пассажира:
Error message:
Could not find rake-0.9.2.2 in any of the sources (Bundler::GemNotFound)
это происходит, когда я пытаюсь установить budle в SSH.
passenger@web2:/var/www/clients/client11/web100/web$ bundle install .bundle
/home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/lib/bundler/settings.rb:101:in `initialize': Permission denied - /var/www/clients/client11/web100/web/.bundle/config (Errno::EACCES)
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/lib/bundler/settings.rb:101:in `open'
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/lib/bundler/settings.rb:101:in `set_key'
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/lib/bundler/settings.rb:15:in `[]='
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/lib/bundler/cli.rb:211:in `install'
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/lib/bundler/vendor/thor/task.rb:22:in `run'
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/lib/bundler/vendor/thor/base.rb:386:in `start'
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.21/bin/bundle:13:in `<top (required)>'
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/bin/bundle:19:in `load'
from /home/passenger/.rvm/gems/ruby-1.9.3-p0@global/bin/bundle:19:in `<main>'
или когда я пытаюсь
passenger@web2:/var/www/clients/client11/web100/web$ bundle install
Fetching source index for https://rubygems.org/
Errno::EACCES: Permission denied - /var/www/clients/client11/web100/web/bundler/ruby/1.9.1/cache
An error occured while installing rake (0.9.2.2), and Bundler cannot continue.
Make sure that `gem install rake -v '0.9.2.2'` succeeds before bundling.
, но web закодирован в ruby1.9.3, я попытался установить rake вручную, как предложено
passenger@web2:/var/www/clients/client11/web100/web$ gem install rake -v '0.9.2.2'
Fetching: rake-0.9.2.2.gem (100%)
Successfully installed rake-0.9.2.2
1 gem installed
Installing ri documentation for rake-0.9.2.2...
Installing RDoc documentation for rake-0.9.2.2...
passenger@web2:/var/www/clients/client11/web100/web$ bundle install Fetching source index for https://rubygems.org/
Errno::EACCES: Permission denied - /var/www/clients/client11/web100/web/bundler/ruby/1.9.1/cache
An error occured while installing rake (0.9.2.2), and Bundler cannot continue.
Make sure that `gem install rake -v '0.9.2.2'` succeeds before bundling.