Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Console task overwrites default rails console task for development stage #30

Open
ezekg opened this issue Apr 11, 2017 · 1 comment
Open

Comments

@ezekg
Copy link

ezekg commented Apr 11, 2017

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.

@ydkn
Copy link
Owner

ydkn commented May 1, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants