Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error on boot #7

Merged
merged 1 commit into from
Dec 19, 2017
Merged

Fix error on boot #7

merged 1 commit into from
Dec 19, 2017

Conversation

willnet
Copy link
Contributor

@willnet willnet commented Dec 11, 2017

capistrano 3.10.0 and capistrano-locally raise error on booting rails.

Adding require: false to gem 'capistrano-locally' fixed this error, so I think we need it in README.

Error log

NameError: uninitialized constant Capistrano::Configuration::SSHKit
/var/www/linkers/shared/bundle/ruby/2.2.0/gems/capistrano-3.10.0/lib/capistrano/configuration/server.rb:4:in `<class:Configuration>'
/var/www/linkers/shared/bundle/ruby/2.2.0/gems/capistrano-3.10.0/lib/capistrano/configuration/server.rb:3:in `<module:Capistrano>'
/var/www/linkers/shared/bundle/ruby/2.2.0/gems/capistrano-3.10.0/lib/capistrano/configuration/server.rb:2:in `<top (required)>'
/var/www/linkers/shared/bundle/ruby/2.2.0/gems/capistrano-3.10.0/lib/capistrano/configuration.rb:4:in `require_relative'
/var/www/linkers/shared/bundle/ruby/2.2.0/gems/capistrano-3.10.0/lib/capistrano/configuration.rb:4:in `<top (required)>'
/var/www/linkers/shared/bundle/ruby/2.2.0/gems/capistrano-3.10.0/lib/capistrano/configuration/filter.rb:1:in `<top (required)>'
/var/www/linkers/shared/bundle/ruby/2.2.0/gems/capistrano-3.10.0/lib/capistrano/dsl.rb:5:in `<top (required)>'
/var/www/linkers/shared/bundle/ruby/2.2.0/gems/capistrano-locally-0.2.4/lib/capistrano/locally.rb:2:in `<top (required)>'
/var/www/linkers/releases/20171211080024/config/application.rb:9:in `<top (required)>'
/var/www/linkers/releases/20171211080024/Rakefile:5:in `<top (required)>'
/var/www/linkers/shared/bundle/ruby/2.2.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
/home/app/.rbenv/versions/2.2.6/bin/bundle:23:in `load'
/home/app/.rbenv/versions/2.2.6/bin/bundle:23:in `<main>'

@komazarari
Copy link
Owner

Right, thank you for the PR! 🤝

@komazarari komazarari merged commit 758a5b8 into komazarari:master Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants