Note that there are some explanatory texts on larger screens.

plurals
  1. POHeroku gem not working with RVM
    primarykey
    data
    text
    <p>I'm following the Ruby on Rails tutorial at <a href="http://railstutorial.org/chapters/beginning#sec:1.4.1" rel="nofollow noreferrer">http://railstutorial.org/chapters/beginning#sec:1.4.1</a>, and all is going well until I tried to get my app going on Heroku.</p> <p>I installed heroku, that worked fine, but now when I run <code>heroku keys:add</code> or any other heroku command, I get the following error:</p> <pre><code>/home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/rest-client-1.4.2/lib/restclient.rb:9:in `rescue in &lt;top (required)&gt;': no such file to load -- net/https. Try running apt-get install libopenssl-ruby (LoadError) from /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/rest-client-1.4.2/lib/restclient.rb:5:in `&lt;top (required)&gt;' from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require' from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require' from /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/rest-client-1.4.2/lib/rest_client.rb:2:in `&lt;top (required)&gt;' from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require' from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require' from /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/heroku-1.9.14/lib/heroku/client.rb:2:in `&lt;top (required)&gt;' from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require' from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require' from /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/heroku-1.9.14/lib/heroku.rb:3:in `&lt;top (required)&gt;' from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require' from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require' from /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/gems/heroku-1.9.14/bin/heroku:6:in `&lt;top (required)&gt;' from /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/bin/heroku:19:in `load' from /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/bin/heroku:19:in `&lt;main&gt;' </code></pre> <p>I did what the error message said, and installed libopenssl-ruby, but heroku still didn't work.</p> <p>I've done a search and found the following two pages which try to combat the heroku errors: <a href="http://www.mail-archive.com/heroku@googlegroups.com/msg05001.html" rel="nofollow noreferrer">http://www.mail-archive.com/heroku@googlegroups.com/msg05001.html</a> <a href="http://blog.project-sierra.de/archives/1534" rel="nofollow noreferrer">http://blog.project-sierra.de/archives/1534</a></p> <p>I followed the instructions on these pages (which are the same), but heroku still doesn't work.</p> <p>I usually do my work on windows, so everything is a bit new to me on ubuntu. Here's my ruby environment:</p> <pre><code> RubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i686-linux] - INSTALLATION DIRECTORY: /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial - RUBY EXECUTABLE: /home/sirswap/.rvm/rubies/ruby-1.9.2-p0/bin/ruby - EXECUTABLE DIRECTORY: /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/bin - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /home/sirswap/.rvm/gems/ruby-1.9.2-p0@rails3tutorial - /home/sirswap/.rvm/gems/ruby-1.9.2-p0@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'm running ubuntu 10.04.</p> <p>Any help or advice for next steps would be much appreciated :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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