Note that there are some explanatory texts on larger screens.

plurals
  1. POHeroku Toolbelt on Fedora 17
    text
    copied!<p>I am trying to do the heroku setup portion of the tutorial <a href="http://ruby.railstutorial.org/">http://ruby.railstutorial.org/</a>. But on <a href="https://toolbelt.heroku.com/">https://toolbelt.heroku.com/</a>, I noticed there isn't an .rpm for Fedora, so I tried to install Foreman and the Heroku CLI individually. Foreman and Git installed fine, but I'm having trouble with the Heroku CLI.</p> <p>When I try to do:</p> <pre><code>$yum install rubygem-heroku </code></pre> <p>and then subsequently do simply</p> <pre><code>$heroku </code></pre> <p>I get the error:</p> <pre><code> /usr/share/rubygems/rubygems/dependency.rb:247:in `to_specs': Could not find heroku (&gt;= 0) amongst [actionmailer-3.2.8, actionpack-3.2.8, activemodel-3.2.8, activerecord-3.2.8, activeresource-3.2.8, activesupport-3.2.8, addressable-2.3.2, arel-3.0.2, builder-3.0.4, builder-3.0.3, bundler-1.2.3, bundler-1.2.1, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.4.0, coffee-script-source-1.3.3, erubis-2.7.0, excon-0.16.10, execjs-1.4.0, foreman-0.60.2, heroku-api-0.3.7, hike-1.2.1, i18n-0.6.1, journey-1.0.4, jquery-rails-2.1.4, jquery-rails-2.1.3, jquery-rails-2.0.2, json-1.7.5, launchy-2.1.2, libv8-3.3.10.4-x86_64-linux, mail-2.4.4, mime-types-1.19, multi_json-1.5.0, multi_json-1.3.6, netrc-0.7.7, polyglot-0.3.3, rack-1.4.1, rack-cache-1.2, rack-ssl-1.3.2, rack-test-0.6.2, rails-3.2.8, railties-3.2.8, rake-10.0.3, rake-0.9.2.2, rdoc-3.12, rest-client-1.6.7, rubygems-bundler-1.1.0, rubyzip-0.9.9, rvm-1.11.3.5, sass-3.2.3, sass-3.2.1, sass-rails-3.2.5, sprockets-2.1.3, sqlite3-1.3.6, sqlite3-1.3.5, therubyracer-0.10.2, thor-0.16.0, tilt-1.3.3, treetop-1.4.12, treetop-1.4.11, treetop-1.4.10, tzinfo-0.3.35, tzinfo-0.3.33, uglifier-1.3.0, uglifier-1.2.3, uglifier-1.0.3] (Gem::LoadError) from /usr/share/rubygems/rubygems/dependency.rb:256:in `to_spec' from /usr/share/rubygems/rubygems.rb:1231:in `gem' from /usr/bin/heroku:18:in `&lt;main&gt;' </code></pre> <p>So I yum removed it and tried to instead do:</p> <pre><code>$rvmsudo gem install heroku </code></pre> <p>Now when I run heroku, I get:</p> <pre><code>/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- readline (LoadError) from /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/gems/heroku-2.33.5/lib/heroku/command/run.rb:1:in `&lt;top (required)&gt;' from /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/gems/heroku-2.33.5/lib/heroku/command.rb:14:in `block in load' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/gems/heroku-2.33.5/lib/heroku/command.rb:13:in `each' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/gems/heroku-2.33.5/lib/heroku/command.rb:13:in `load' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/gems/heroku-2.33.5/lib/heroku/cli.rb:27:in `start' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/gems/heroku-2.33.5/bin/heroku:17:in `&lt;top (required)&gt;' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/bin/heroku:19:in `load' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/bin/heroku:19:in `&lt;main&gt;' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/bin/ruby_noexec_wrapper:14:in `eval' from /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/bin/ruby_noexec_wrapper:14:in `&lt;main&gt;' </code></pre> <p>Trying <code>rvm info</code> yields</p> <pre><code>ruby-1.9.3-p194@rails3tutorial2ndEd: system: uname: "Linux angelo 3.6.5-1.fc17.x86_64 #1 SMP Wed Oct 31 19:37:18 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux" system: "redhat/17./x86_64" bash: "/usr/bin/bash =&gt; GNU bash, version 4.2.37(1)-release (x86_64-redhat-linux-gnu)" zsh: " =&gt; not installed" rvm: version: "rvm 1.16.6 (master) by Wayne E. Seguin &lt;wayneeseguin@gmail.com&gt;, Michal Papis &lt;mpapis@gmail.com&gt; [https://rvm.io/]" updated: "2 months 20 days 1 hour 33 minutes 52 seconds ago" ruby: interpreter: "ruby" version: "1.9.3p194" date: "2012-04-20" platform: "x86_64-linux" patchlevel: "2012-04-20 revision 35410" full_version: "ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]" homes: gem: "/usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd" ruby: "/usr/local/rvm/rubies/ruby-1.9.3-p194" binaries: ruby: "/usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby" irb: "/usr/local/rvm/rubies/ruby-1.9.3-p194/bin/irb" gem: "/usr/local/rvm/rubies/ruby-1.9.3-p194/bin/gem" rake: "/usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/bin/rake" environment: PATH: "/home/angelo/.rvm/bin:/usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/bin:/usr/local/rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p194/bin:/usr/local/rvm/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/angelo/heroku-client/:/home/angelo/.local/bin:/home/angelo/bin" GEM_HOME: "/usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd" GEM_PATH: "/usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd:/usr/local/rvm/gems/ruby-1.9.3-p194@global" MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.9.3-p194" IRBRC: "/usr/local/rvm/rubies/ruby-1.9.3-p194/.irbrc" RUBYOPT: "" gemset: "rails3tutorial2ndEd" </code></pre> <p>And my rails version</p> <pre><code>$ rails -v Rails 3.2.8 </code></pre> <p>Gem env:</p> <pre><code>$ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.8.24 - RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [x86_64-linux] - INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd - RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby - EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd/bin - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: - /usr/local/rvm/gems/ruby-1.9.3-p194@rails3tutorial2ndEd - /usr/local/rvm/gems/ruby-1.9.3-p194@global - GEM CONFIGURATION: - :update_sources =&gt; true - :verbose =&gt; true - :benchmark =&gt; false - :backtrace =&gt; false - :bulk_threshold =&gt; 1000 - REMOTE SOURCES: - http://rubygems.org/ </code></pre> <p>I am pretty new to this whole ruby (as well as heroku), so I'm not sure what I should be looking for to match up, but everything seems to be ruby-1.9.3, so I am confused as to why Heroku doesn't want to cooperate.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload