Capistrano-Bereitstellungsprobleme
Geben, wenn ich
cap production deploy
Bekomme ich
Capfile locked at 3.1.0, but 3.2.0 is loaded
Wenn ich deinstallieren capistrano 3.2.0
bekomme ich
Could not find capistrano-3.2.0 in any of the sources
Run `bundle install` to install missing gems.
Mir gemfile hat
gem 'capistrano', '~> 3.1'
gem 'capistrano-rails', '~> 1.1'
Capfile Und
require 'capistrano/setup'
require 'capistrano/deploy'
require 'capistrano/bundler'
require 'capistrano/rails/assets'
Was in diesem Fall zu machen?
InformationsquelleAutor der Frage Kamil Lelonek | 2014-04-15
Du musst angemeldet sein, um einen Kommentar abzugeben.
Kommt es, dass
config/deploy.rb
hatlock '3.1.0'
.War es genug, um es ändern zu
'3.2.0'
und jetzt funktioniert es.InformationsquelleAutor der Antwort Kamil Lelonek
Sollte nicht Bundler übernehmen das für Sie? Wenn Sie die version in Ihre Gemfile, können Sie die Sperre entfernen version in der config/deploy.rb. Dann ein
bundle exec cap production deploy
sollte den trick tun.InformationsquelleAutor der Antwort spyle