No, I didn't work. I googled for possible errors involving rails 3 and PostGres gem. It gave me something related to bundle, and then that I don't have to do nothing about it on rails 3. Oh, I look for it on the Gemfile, it isn't there, and just adding "gem 'postgres'" don't help.
Or I could be doing something wrong. Anyway, still with the problem. On 16 November 2010 14:18, Abel Tamayo <[email protected]> wrote: > I think the following line: > > /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) > > gives away that the culprit could be the PostGres gem. Makes sense too > since it's one of the things Heroku uses but you don't usually need it in > your development environment. > > You should probably check to see if it's correctly listed in your Gemfile. > Hope that helps. > > > On Tue, Nov 16, 2010 at 3:07 PM, Mateus <[email protected]> wrote: > >> Hi guys >> >> 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) >> >> I get some troubles and personal problems and I stop with rails. >> >> Now, I update my ubuntu to 10.10 and install the Rails 3 (rails 3.0.1, >> ruby 1.9.2p0). >> But, when I just start to use and I was to deploy my app to heroku, I get >> the following error: >> >> /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) >> >> from >>> /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/commands/pg.rb:5:in >>> `<module:Command>' >> >> from >>> /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/commands/pg.rb:4:in >>> `<top (required)>' >> >> from <internal:lib/rubygems/custom_require>:29:in `require' >> >> from <internal:lib/rubygems/custom_require>:29:in `require' >> >> from >>> /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/command.rb:5:in >>> `block in <top (required)>' >> >> from >>> /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/lib/heroku/command.rb:5:in >>> `each' >> >> from >>> /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/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 /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.13.1/bin/heroku:7:in >>> `<top (required)>' >> >> from /usr/local/bin/heroku:19:in `load' >> >> from /usr/local/bin/heroku:19:in `<main>' >> >> >> This happen with every single heroku command I try. >> >> I try google for it, and even check something with gem environment, which >> give the following: >> >> >> >> RubyGems Environment: >> >> - RUBYGEMS VERSION: 1.3.7 >> >> - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-linux] >> >> - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1 >> >> - RUBY EXECUTABLE: /usr/local/bin/ruby >> >> - EXECUTABLE DIRECTORY: /usr/local/bin >> >> - RUBYGEMS PLATFORMS: >> >> - ruby >> >> - x86_64-linux >> >> - GEM PATHS: >> >> - /usr/local/lib/ruby/gems/1.9.1 >> >> - /home/cavanholi/.gem/ruby/1.9.1 >> >> - GEM CONFIGURATION: >> >> - :update_sources => true >> >> - :verbose => true >> >> - :benchmark => false >> >> - :backtrace => false >> >> - :bulk_threshold => 1000 >> >> - REMOTE SOURCES: >> >> - http://rubygems.org/ >> >> >> As I look for some answer to my problem, this was all I could get. >> And, for me, it seen fine. (I'm kind of noob with linux, so sometimes I >> don't get the problem) >> >> When I installed the gem, its been everything fine, no errors at all. >> 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. >> >> thx for the time and help, and sorry if I'm asking in the wrong place >> >> >> -- >> Mateus Cavanholi >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<heroku%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<heroku%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- Mateus Cavanholi -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
