<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">/usr/local/lib/ruby/gems/1.9.1/gems<br></blockquote><div><br>It looks like you're using ruby 1.9.1<br>


<br>It might just be confusing the gem path for the ubuntu ruby 1.9 install<br>or it could be an actually problem.<br><br>If you're using the default ubuntu packages, I'd stick with ruby 1.8.7,<br>or if you're going to upgrade to ruby 1.9.2 via rvm or installing from source<br>

make sure you've removed the system install.<br><br>Personally I use ruby enterprise edition (via rvm) for local development<br>
(I find it runs my tests significantly faster than any other version)<br></div><br><div class="gmail_quote">On 16 November 2010 22:07, Mateus <span dir="ltr"><<a href="mailto:mcavanholi@gmail.com" target="_blank">mcavanholi@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi guys<div><br></div><div>Few months ago I start to study Ruby on Rails. At the time, I was using the version 2.x of Rails (Don't remember which exactly) and it was working fine. (running on Ubuntu 9.04)</div>


<div><br>

</div><div>I get some troubles and personal problems and I stop with rails.</div><div><br></div><div>Now, I update my ubuntu to 10.10 and install the Rails 3 (rails 3.0.1, ruby 1.9.2p0).</div><div>But, when I just start to use and I was to deploy my app to heroku, I get the following error:</div>




<div><br></div><div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

/usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/commands/pg.rb:8:in `<class:Pg>': uninitialized constant Heroku::Command::Pg::Help (NameError)</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/commands/pg.rb:5:in `<module:Command>'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/commands/pg.rb:4:in `<top (required)>'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from <internal:lib/rubygems/custom_require>:29:in `require'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from <internal:lib/rubygems/custom_require>:29:in `require'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/command.rb:5:in `block in <top (required)>'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/command.rb:5:in `each'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/command.rb:5:in `<top (required)>'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from <internal:lib/rubygems/custom_require>:29:in `require'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from <internal:lib/rubygems/custom_require>:29:in `require'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/bin/heroku:7:in `<top (required)>'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from /usr/local/bin/heroku:19:in `load'</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<span style="white-space: pre-wrap;">   </span>from /usr/local/bin/heroku:19:in `<main>'</blockquote><div><br></div><div>This happen with every single heroku command I try.</div><div><br></div><div>

I try google for it, and even check something with gem environment, which give the following:</div><div><br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




 </blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

RubyGems Environment:</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  - RUBYGEMS VERSION: 1.3.7</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-linux]</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  - RUBY EXECUTABLE: /usr/local/bin/ruby</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  - EXECUTABLE DIRECTORY: /usr/local/bin</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  - RUBYGEMS PLATFORMS:</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

    - ruby</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

    - x86_64-linux</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  - GEM PATHS:</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

     - /usr/local/lib/ruby/gems/1.9.1</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

     - /home/cavanholi/.gem/ruby/1.9.1</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  - GEM CONFIGURATION:</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

     - :update_sources => true</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

     - :verbose => true</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

     - :benchmark => false</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

     - :backtrace => false</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

     - :bulk_threshold => 1000</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  - REMOTE SOURCES:</blockquote><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

     - <a href="http://rubygems.org/" target="_blank">http://rubygems.org/</a></blockquote><div><br></div><div>As I look for some answer to my problem, this was all I could get.</div><div>And, for me, it seen fine. (I'm kind of noob with linux, so sometimes I don't get the problem)</div>




<div><br></div><div>When I installed the gem, its been everything fine, no errors at all.</div><div>I wonder what can I do to solve this problem, since I cannot add the SSH Key. Even the command "heroku help" don't work.</div>




<div><br></div><div>thx for the time and help, and sorry if I'm asking in the wrong place</div><div><br></div><div><br></div>-- <br>Mateus Cavanholi<br>
</div>
<br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br>