Created
July 13, 2011 17:09
-
-
Save magic-hat/1080765 to your computer and use it in GitHub Desktop.
"$ Heroku keys:add" error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
james@Blue-moon:~/rails_projects/first_app$ gem install heroku | |
Fetching: term-ansicolor-1.0.5.gem (100%) | |
Fetching: rest-client-1.6.3.gem (100%) | |
Fetching: configuration-1.3.1.gem (100%) | |
Fetching: launchy-0.4.0.gem (100%) | |
Fetching: heroku-2.3.6.gem (100%) | |
Successfully installed term-ansicolor-1.0.5 | |
Successfully installed rest-client-1.6.3 | |
Successfully installed configuration-1.3.1 | |
Successfully installed launchy-0.4.0 | |
Successfully installed heroku-2.3.6 | |
5 gems installed | |
Installing ri documentation for term-ansicolor-1.0.5... | |
Installing ri documentation for rest-client-1.6.3... | |
Installing ri documentation for configuration-1.3.1... | |
Installing ri documentation for launchy-0.4.0... | |
Installing ri documentation for heroku-2.3.6... | |
Installing RDoc documentation for term-ansicolor-1.0.5... | |
Installing RDoc documentation for rest-client-1.6.3... | |
Installing RDoc documentation for configuration-1.3.1... | |
Installing RDoc documentation for launchy-0.4.0... | |
Installing RDoc documentation for heroku-2.3.6... | |
james@Blue-moon:~/rails_projects/first_app$ heroku keys:add | |
/home/james/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': no such file to load -- readline (LoadError) | |
from /home/james/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
from /home/james/.rvm/gems/ruby-1.9.2-p180/gems/heroku-2.3.6/lib/heroku/command/run.rb:1:in `<top (required)>' | |
from /home/james/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
from /home/james/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
from /home/james/.rvm/gems/ruby-1.9.2-p180/gems/heroku-2.3.6/lib/heroku/command.rb:17:in `block in load' | |
from /home/james/.rvm/gems/ruby-1.9.2-p180/gems/heroku-2.3.6/lib/heroku/command.rb:16:in `each' | |
from /home/james/.rvm/gems/ruby-1.9.2-p180/gems/heroku-2.3.6/lib/heroku/command.rb:16:in `load' | |
from /home/james/.rvm/gems/ruby-1.9.2-p180/gems/heroku-2.3.6/bin/heroku:13:in `<top (required)>' | |
from /home/james/.rvm/gems/ruby-1.9.2-p180/bin/heroku:19:in `load' | |
from /home/james/.rvm/gems/ruby-1.9.2-p180/bin/heroku:19:in `<main>' | |
james@Blue-moon:~/rails_projects/first_app$ gem env | |
RubyGems Environment: | |
- RUBYGEMS VERSION: 1.8.5 | |
- RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [x86_64-linux] | |
- INSTALLATION DIRECTORY: /home/james/.rvm/gems/ruby-1.9.2-p180 | |
- RUBY EXECUTABLE: /home/james/.rvm/rubies/ruby-1.9.2-p180/bin/ruby | |
- EXECUTABLE DIRECTORY: /home/james/.rvm/gems/ruby-1.9.2-p180/bin | |
- RUBYGEMS PLATFORMS: | |
- ruby | |
- x86_64-linux | |
- GEM PATHS: | |
- /home/james/.rvm/gems/ruby-1.9.2-p180 | |
- /home/james/.rvm/gems/ruby-1.9.2-p180@global | |
- GEM CONFIGURATION: | |
- :update_sources => true | |
- :verbose => true | |
- :benchmark => false | |
- :backtrace => false | |
- :bulk_threshold => 1000 | |
- REMOTE SOURCES: | |
- http://rubygems.org/ |
Do you have any solutions for this? I'm using ubuntu 11.04, what it looks like to me is that heroku is installed, but ruby or whatever isn't looking in the right path to find where it's installed. I looked in the directory from the first line with the 'no such file to load -- readline (LoadError)' and heroku isn't in there.
Does $ sudo gem install [gem] work for you? No matter what I try, it always ends up with a no such command error. I can do a $ gem install [gem] but not with sudo.
i find the question why!
no such file to load -- readline (LoadError)
slove:
gem install rb-readline //this is key
THANKS!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
me too!
[root@bogon ~]# heroku
/usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
gem_original_require': no such file to load -- readline (LoadError) from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
require'from /usr/local/ruby/lib/ruby/gems/1.8/gems/heroku-2.3.6/lib/heroku/command/run.rb:1
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
gem_original_require' from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
require'from /usr/local/ruby/lib/ruby/gems/1.8/gems/heroku-2.3.6/lib/heroku/command.rb:17:in
load' from /usr/local/ruby/lib/ruby/gems/1.8/gems/heroku-2.3.6/lib/heroku/command.rb:16:in
each'from /usr/local/ruby/lib/ruby/gems/1.8/gems/heroku-2.3.6/lib/heroku/command.rb:16:in
load' from /usr/local/ruby/lib/ruby/gems/1.8/gems/heroku-2.3.6/bin/heroku:13 from /usr/local/ruby/bin/heroku:19:in
load'from /usr/local/ruby/bin/heroku:19