1
0
Fork 0
mirror of https://gitlab.com/ydkn/capistrano-rails-console.git synced 2023-02-13 20:54:14 -05:00

Fix SSHKit NoMethodError 'environment_string'

SSHKit::Command#environment_string doesn't exist in sshkit 1.3 due to a
bug/typo, causing NoMethodError when running `cap <stage> rails:console`

Bug was fixed in https://github.com/capistrano/sshkit/commit/f3955d1a,
which was included in 1.4.0, so update gemspec to require sshkit >= 1.4
This commit is contained in:
Mark Woods 2016-04-19 09:02:15 +01:00
parent 230fe7d0e4
commit 7add7a7138

View file

@ -21,6 +21,8 @@ Gem::Specification.new do |spec|
spec.add_dependency 'capistrano', '>= 3.1.0', '< 4.0.0' spec.add_dependency 'capistrano', '>= 3.1.0', '< 4.0.0'
spec.add_dependency 'capistrano-interactive', '~> 0.2.0' spec.add_dependency 'capistrano-interactive', '~> 0.2.0'
spec.add_dependency 'sshkit', '>= 1.4'
spec.add_development_dependency 'bundler' spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake' spec.add_development_dependency 'rake'
spec.add_development_dependency 'yard' spec.add_development_dependency 'yard'