I am new to RailsTutorial.org and installed / installed rvm, ruby ββ1.9.2, rails, curl, git and created my first application and clicked it on github (so the SSH key is fine).
The next step is to deploy to Heroku, which is killing me:
gem install Heroku
works fine, but I get this error after "heroku keys: add" or "heroku create":
[app_first (master)]$ heroku keys:add <internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- readline (LoadError) from <internal:lib/rubygems/custom_require>:29:in `require' from /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial /gems/heroku-1.11.0/lib/heroku/commands/app.rb:1:in `<top (required)>' from <internal:lib/rubygems/custom_require>:29:in `require' from <internal:lib/rubygems/custom_require>:29:in `require' from /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial /gems/heroku-1.11.0/lib/heroku/command.rb:5:in `block in <top (required)>' from /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial /gems/heroku-1.11.0/lib/heroku/command.rb:5:in `each' from /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial /gems/heroku-1.11.0/lib/heroku/command.rb:5:in `<top (required)>' from <internal:lib/rubygems/custom_require>:29:in `require' from <internal:lib/rubygems/custom_require>:29:in `require' from /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial /gems/heroku-1.11.0/bin/heroku:7:in `<top (required)>' from /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial /bin/heroku:19:in `load' from /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial /bin/heroku:19:in `<main>
My guess is to do something with missing or inappropriate gems, but I'm a complete newbie, so guess what might be. here is the environment of the pearl:
[app_first (master)]$ gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i686-linux] - INSTALLATION DIRECTORY: /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial - RUBY EXECUTABLE: /home/john/.rvm/rubies/ruby-1.9.2-p0/bin/ruby - EXECUTABLE DIRECTORY: /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial /bin - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /home/john/.rvm/gems/ ruby-1.9.2-p0@rails3tutorial - /home/john/.rvm/gems/ ruby-1.9.2-p0@global - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http:
Any ideas? Grateful in advance.
ruby-on-rails heroku
John
source share