[LRUG] Ubuntu 10.10 (amd64) + rails 3.0.1 + heroku uninitialized constant error

Mateus mcavanholi at gmail.com
Tue Nov 16 06:07:32 PST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20101116/33f8261c/attachment-0003.html>


More information about the Chat mailing list