Answer the question
In order to leave comments, you need to log in
What is the error in Ruby on Rails during cap production deploy?
The command cap production deploy
gives an error, what does it mean:
/home/eldar/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/capistrano-3.1.0/lib/capistrano/i18n.rb:4: warning: duplicated key at line 6 ignored: :starting
cap aborted!
NoMethodError: undefined method `on' for main:Object
/home/eldar/.rbenv/versions/2.2.0/bin/cap:23:in `load'
/home/eldar/.rbenv/versions/2.2.0/bin/cap:23:in `<main>'
Tasks: TOP => rbenv:validate
(See full trace by running task with --trace)
Answer the question
In order to leave comments, you need to log in
`on'
The last line in the error output directly tells you what to do to get more information.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question