Rails 3 - Error after deploying to Heroku
I have an application working in localhost and also heroku. The last time that I pushed the new version to heroku I got an  error during heroku db:migrate and did heroku db:push and everything was ok.

I get the following error when executing the App.
/app/.bundle/gems/ruby/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:206:in `const_missing_from_s3_library': uninitialized constant AnswersController::Authentication (NameError)

Here is the relevant code

    class AnswersController < ApplicationController
      include Authentication
      ...

Authentication is a module defined in lib:

    # encoding: utf-8
    require 'base64'
    require 'openssl'

    module Authentication
    ...


It is working in localhost but not in heroku.
Any help??
Thanks



Rails 3 - Error after deploying to Heroku
===

I have an application working in localhost and also heroku. The last time that I pushed the new version to heroku I got an  error during heroku db:migrate and did heroku db:push and everything was ok.

I get the following error when executing the App.
/app/.bundle/gems/ruby/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:206:in `const_missing_from_s3_library': uninitialized constant AnswersController::Authentication (NameError)

Here is the relevant code

    class AnswersController < ApplicationController
      include Authentication
      ...

Authentication is a module defined in lib:

    # encoding: utf-8
    require 'base64'
    require 'openssl'

    module Authentication
    ...


It is working in localhost but not in heroku.
Any help??
Thanks


