使用capistrano部署rails应用程序

时间:2016-06-18 19:48:02

标签: ruby-on-rails ruby deployment capistrano

执行时:cap production deploy:initial

我收到错误消息:

** Execute deploy:assets:precompile
00:08 deploy:assets:precompile
    /usr/local/rvm/bin/rvm default do bundle exec rake assets:precompile
    rake aborted!
    LoadError: cannot load such file -- single_test/tasks

    /home/deploy/apps/A_W_Creamery/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:i…

1 个答案:

答案 0 :(得分:2)

It seems like, you previously have installed Single test gem and now you remove it, but you forgot to remove command:

require 'single_test/tasks'

from your Rakefile.