Ok got it. I was using rails 2.2.2 on my local however on rails 2.3.2
your application.rb needs to be renamed application_controller.rb.


On Apr 11, 4:00 pm, Nicktabs <[email protected]> wrote:
> I've moved my app over from herokugarden (where it was working fine!)
> but the app fails to start with Heroku:
>
> ===========================================
>
> App failed to start
>
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/
> action_controller/vendor/rack-1.0/rack.rb:17: warning: already
> initialized constant VERSION
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/dependencies.rb:443:in `load_missing_constant':
> uninitialized constant ApplicationController (NameError)
>         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/dependencies.rb:80:in `const_missing'
>         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/dependencies.rb:92:in `const_missing'
>         from /disk1/home/slugs/9867_97eda8c_19e2/mnt/app/controllers/
> account_controller.rb:1
>         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `gem_original_require'
>         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `require'
>         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/dependencies.rb:158:in `require'
>         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/dependencies.rb:265:in `require_or_load'
>         from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/dependencies.rb:224:in `depend_on'
>          ... 25 levels...
>         from /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
> 29:in `instance_eval'
>         from /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
> 29:in `initialize'
>         from /home/heroku_rack/heroku.ru:1:in `new'
>         from /home/heroku_rack/heroku.ru:1
> Error: User authentication failed
>
> ========================================================
>
> The errors make a certain amount of sense but I can't think what I
> need to do to get it working. Anyone run into this or know what to do?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to