I'm having some trouble with the capistrano gem and my bundler is failing because of this. Anytime I use a rails command in terminal shell I get this error:
/Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/capistrano-2.15.5/lib/capistrano/configuration/loading.rb:18:in `instance': Please require this file from within a Capistrano recipe (LoadError)
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/rvm-capistrano-1.5.1/lib/rvm/capistrano/helpers/base.rb:16:in `rvm_with_capistrano'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/rvm-capistrano-1.5.1/lib/rvm/capistrano/helpers/_cset.rb:3:in `<top (required)>'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/rvm-capistrano-1.5.1/lib/rvm/capistrano/base.rb:1:in `<top (required)>'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/rvm-capistrano-1.5.1/lib/rvm/capistrano/selector.rb:1:in `<top (required)>'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:in `require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/rvm-capistrano-1.5.1/lib/rvm/capistrano.rb:3:in `<top (required)>'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/bundler-1.9.2/lib/bundler/runtime.rb:85:in `require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/bundler-1.9.2/lib/bundler/runtime.rb:85:in `rescue in block in require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/bundler-1.9.2/lib/bundler/runtime.rb:68:in `block in require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/bundler-1.9.2/lib/bundler/runtime.rb:61:in `each'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/bundler-1.9.2/lib/bundler/runtime.rb:61:in `require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/bundler-1.9.2/lib/bundler.rb:134:in `require'
from /Users/stefan/.Trash/givemenext/config/application.rb:7:in `<top (required)>'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/railties-3.2.17/lib/rails/commands.rb:24:in `require'
from /Users/stefan/.rvm/gems/ruby-2.0.0-p598/gems/railties-3.2.17/lib/rails/commands.rb:24:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
After some research I tried this :
group :development do
gem 'rvm-capistrano', require: false
gem "capistrano", require: false
end
I still get the same error. Can someone help me solve this ?
Aucun commentaire:
Enregistrer un commentaire