Tag: 卡皮斯特拉诺

请从Capistrano配方中请求此文件(LoadError)

我正在使用Capistrano 2与Rails 3项目。 最近我重新构build了我的gemset表单,现在当我尝试运行rails服务器时,收到错误“请从Capistrano配方(LoadError)中请求此文件”。 详细的错误信息: /Users/leonidlukin/.rvm/rubies/ruby-1.9.3-p429/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/leonidlukin/Sites/moscowshows/script/rails server -b 0.0.0.0 -p 3000 -e development /Users/leonidlukin/.rvm/gems/ruby-1.9.3-p429@moscowshows/gems/capistrano-2.15.5/lib/capistrano/configuration/loading.rb:18:in `instance': Please require this file from within a Capistrano recipe (LoadError) from /Users/leonidlukin/.rvm/gems/ruby-1.9.3-p429@moscowshows/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano/helpers/base.rb:16:in `rvm_with_capistrano' from /Users/leonidlukin/.rvm/gems/ruby-1.9.3-p429@moscowshows/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano/helpers/_cset.rb:3:in `<top (required)>' from /Users/leonidlukin/.rvm/gems/ruby-1.9.3-p429@moscowshows/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' from /Users/leonidlukin/.rvm/gems/ruby-1.9.3-p429@moscowshows/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require' from /Users/leonidlukin/.rvm/gems/ruby-1.9.3-p429@moscowshows/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' from /Users/leonidlukin/.rvm/gems/ruby-1.9.3-p429@moscowshows/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' from /Users/leonidlukin/.rvm/gems/ruby-1.9.3-p429@moscowshows/gems/rvm-capistrano-1.5.6/lib/rvm/capistrano/base.rb:1:in `<top (required)>' from /Users/leonidlukin/.rvm/gems/ruby-1.9.3-p429@moscowshows/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in […]

Rails 4,Capistrano 3.0.0,无法加载这样的文件 – 部署

我只是运行软件包更新和capistrano得到更新到3.0.0,但现在当我运行cap部署我得到一个错误,不能弄清楚如何解决这个问题。 我一直在更新我的服务器每一天没有问题,直到此更新。 cap aborted! cannot load such file — deploy /home/mark/rails_apps/myapp/Capfile:1:in `load' /home/mark/rails_apps/myapp/Capfile:1:in `<top (required)>' capfile load 'deploy' load 'deploy/assets' load 'config/deploy' # remove this line to skip loading any of the default tasks