E
E
eldar_web2016-05-07 17:44:20
Ruby on Rails
eldar_web, 2016-05-07 17:44:20

What is the error in Ruby on Rails during cap production deploy?

The command cap production deploygives 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)

How will solve the problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vayladion Gognazdiak, 2016-05-11
@eldar_web

Update Capistrano

A
Andrey Andreev, 2016-05-07
@b0nn1e

`on'

It seems to me, or did you accidentally have an extra character ` squeezed in somewhere?

R
Roman Mirilaczvili, 2016-05-07
@2ord

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 question

Ask a Question

731 491 924 answers to any question