-
Notifications
You must be signed in to change notification settings - Fork 72
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
Cannot run napa console (Napa v0.3.0) #172
Comments
Are you using bundler? Does |
With bundle exec: $ bundle exec napa console production
/home/deploy/.rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/completion.rb:9:in `require': cannot load such file -- readline (LoadError)
from /home/deploy/.rbenv/versions/2.1.2/lib/ruby/2.1.0/irb/completion.rb:9:in `<top (required)>'
from /home/deploy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/napa-0.3.0/lib/napa/cli.rb:43:in `require'
from /home/deploy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/napa-0.3.0/lib/napa/cli.rb:43:in `rescue in console'
from /home/deploy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/napa-0.3.0/lib/napa/cli.rb:38:in `console'
from /home/deploy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /home/deploy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /home/deploy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /home/deploy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /home/deploy/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/napa-0.3.0/bin/napa:5:in `<top (required)>'
from /home/deploy/.rbenv/versions/2.1.2/bin/napa:23:in `load'
from /home/deploy/.rbenv/versions/2.1.2/bin/napa:23:in `<main>'
FAIL |
@dkarter your ruby needs to be compiled with readline support. We should add a check for readline support, like they do in pry: |
Thanks for looking into this! I can confirm this was the issue. |
Not sure if this is a bug but i'm getting this on two of my servers when trying to run napa console.
I tried
gem cleanup rake
but it didn't work.Also I tried updating the napa gem on an existing project and that just made my api no longer work (but that may be a separate issue) so I'm stuck with napa v0.3.0 for now.
Thanks!
The text was updated successfully, but these errors were encountered: