Back in my office I installed heroku CLI without trouble (Ubuntu 11.04). Now, after installing it in my laptop (Ubuntu 10.04) I'm getting the following error:
$ heroku
/usr/local/heroku/lib/heroku/command/run.rb:1:in `require': no such file to load -- readline (LoadError)
from /usr/local/heroku/lib/heroku/command/run.rb:1
from /usr/local/heroku/lib/heroku/command.rb:14:in `require'
from /usr/local/heroku/lib/heroku/command.rb:14:in `load'
from /usr/local/heroku/lib/heroku/command.rb:13:in `each'
from /usr/local/heroku/lib/heroku/command.rb:13:in `load'
from /usr/local/heroku/lib/heroku/cli.rb:8:in `start'
from /usr/bin/heroku:28
In both cases I followed the same procedure:
sudo apt-get install ruby$ herokuCan anybody help me with this?
You need to install readline as the error states.
apt-get install libreadline-dev
This is what actually worked for me:
sudo apt-get install libreadline-ruby1.9.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With