capistrano-rails-console icon indicating copy to clipboard operation
capistrano-rails-console copied to clipboard

Console task overwrites default rails console task for development stage

Open ezekg opened this issue 7 years ago • 1 comments

Whenever I try to run rails c locally (development env), I receive this error:

$ rails c
Could not find sshkit-interactive-0.2.0 in any of the sources
Run `bundle install` to install missing gems.

The culprit seems to be that you're overwriting the console task and forcing an interactive session. Any idea on how to fix? Removing the gem from the Gemfile fixes the issue, of course.

Running Rails 5. Let me know if you need more info.

ezekg avatar Apr 11 '17 16:04 ezekg

Hi,

there is no console task (rails:console) defined by capistrano itself or any plugin I know so this gem shouldn't be overwriting anything. Have you tried running bundle exec rails c? Maybe this will fix the dependency problem you're experiencing.

sshkit-interactive is definetly a dependency capistrano-rails-console.gemspec and bundler should install it when installing this gem.

ydkn avatar May 01 '17 19:05 ydkn