Reputation: 10109
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
$ heroku
Can anybody help me with this?
Upvotes: 3
Views: 1852
Reputation: 3628
This is what actually worked for me:
sudo apt-get install libreadline-ruby1.9.1
Upvotes: 1
Reputation: 22238
You need to install readline
as the error states.
apt-get install libreadline-dev
Upvotes: 3