這裏是束錯誤Capistrano的部署後安裝Rails 3.1的應用程序:捆綁Capistrano的部署後遠程服務器上安裝錯誤
[email protected]:/$ cd /vol/www/emclab
[email protected]:/vol/www/emclab$ /home/dtt/.rvm/gems/ruby-1.9.2-p290/bin/bundle install vendor/gems
/home/dtt/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find bundler (>= 0) amongst [minitest-1.6.0, rake-0.8.7, rdoc-2.5.8] (Gem::LoadError)
from /home/dtt/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /home/dtt/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1210:in `gem'
from /home/dtt/.rvm/gems/ruby-1.9.2-p290/bin/bundle:18:in `<main>'
這裏是下/電流子目錄寶石列表輸出:
[email protected]:/vol/www/emclab/current$ gem list
*** LOCAL GEMS ***
actionmailer (3.1.1)
actionpack (3.1.1)
activerecord (3.1.1)
activeresource (3.1.1)
activesupport (3.1.1)
arel (2.2.1)
builder (3.0.0)
bundler (1.0.21)
daemon_controller (0.2.6)
erubis (2.7.0)
fastthread (1.0.7)
hike (1.2.1)
i18n (0.6.0)
json (1.6.1)
mail (2.3.0)
mime-types (1.17.2)
minitest (1.6.0)
multi_json (1.0.3)
passenger (3.0.9)
polyglot (0.3.2)
rack (1.3.5)
rack-cache (1.1)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
railties (3.1.1)
rake (0.8.7)
rdoc (3.11, 2.5.8)
sprockets (2.0.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.30)
以下是錯誤的創業板安裝捆綁:
[email protected]:/vol/www/emclab/current# gem install bundler
ERROR: Could not find a valid gem 'bundler' (>= 0) in any repository
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
too many connection resets (http://production.s3.rubygems.org/latest_specs.4.8.gz)
如何有什麼想法解決問題?謝謝。
'找不到捆綁商' - 捆綁商gem沒有安裝。 – jdl
你的意思是bundler沒有安裝在/ vol/www/emclab下? – user938363