Capistrano上限部署在ubuntu 10.10上失败。使用RVM安装Ruby

时间:2011-02-21 14:57:06

标签: ruby ubuntu capistrano webby

我通过RVM以及webby和capistrano宝石安装了ruby 1.9.2。 Webby不能与1.9.2一起工作,所以我通过RVM备份到ruby 1.8.7,将其设置为默认值,webby更好。

在此以前正常运行的网站上运行 cap deploy (对于其他人)时,我会收到以下信息:

  

瑞安@ ruby​​1:〜/项目/辛辛那提敏捷的会议$   上限部署   /home/ryan/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in   gem_original_require': no such file to load -- railsless-deploy (LoadError) from /home/ryan/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in 需要”                   来自/home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:152:in   require' from Capfile:5:in负载”                   来自/home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:172:in   load_from_file' from /home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:89:in 负载”                   来自/home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in   load' from /home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in 每个”                   来自/home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/configuration/loading.rb:86:in   load' from /home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:65:in load_recipes'                   来自/home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:65:in   each' from /home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:65:in load_recipes'                   来自/home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:31:in   execute!' from /home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/lib/capistrano/cli/execute.rb:14:in 执行”                   来自/home/ryan/.rvm/gems/ruby-1.8.7-p334/gems/capistrano-2.5.19/bin/cap:4                   来自/home/ryan/.rvm/gems/ruby-1.8.7-p334/bin/cap:19:in   `负载”                   来自/home/ryan/.rvm/gems/ruby-1.8.7-p334/bin/cap:19

Google-fu向我提出了不使用ruby软件包的建议,但我使用了RVM。

1 个答案:

答案 0 :(得分:2)

当你回到1.8.7时,你安装了无轨部署宝石吗?