Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Problem building rails 3 sample #1

Open

Description

@friism
/app/heroku/ruby/bundle/ruby/2.2.0/gems/activesupport-3.2.19/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
/app/heroku/ruby/bundle/ruby/2.2.0/gems/newrelic_rpm-3.9.1.236/lib/new_relic/agent/configuration/default_source.rb:675: warning: duplicated key at line 987 ignored: :disable_mongo
/app/heroku/ruby/ruby-2.2.2/bin/ruby /app/heroku/ruby/bundle/ruby/2.2.0/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
/app/heroku/ruby/bundle/ruby/2.2.0/gems/activesupport-3.2.19/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
/app/heroku/ruby/bundle/ruby/2.2.0/gems/newrelic_rpm-3.9.1.236/lib/new_relic/agent/configuration/default_source.rb:675: warning: duplicated key at line 987 ignored: :disable_mongo
rake aborted!
LoadError: Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (sqlite3 is not part of the bundle. Add it to Gemfile.)
/app/heroku/ruby/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/rubygems_integration.rb:263:in `block in replace_gem'

Building this app: https://github.com/memcachier/examples-rails

Can that be mended?

Activity

  1. friism commented on Aug 14, 2015

    @friism
    Author

    (I know that it'll fall over later due to mandatory precompile)

  2. hone commented on Aug 17, 2015

    @hone
    Member

    @friism talked about this on hipchat, but just wanted to circle back around. This is b/c we don't create a config/databse.yml which is required for Rails < 4.1. Without conditional programming support in Dockerfile, we'll need to resort to bash or something else to do it.

  3. friism commented on Aug 17, 2015

    @friism
    Author
  4. hone commented on Aug 18, 2015

    @hone
    Member

    @friism it doesn't even mention compiling assets at all?

  5. pirhoo commented on Jan 15, 2016

    @pirhoo

    Hey guys,

    did you find a solution for this? I still have the problem... My only workaround was to clone this Dockerfile and add a RACK_ENV variable manually.

    Edit: I'm using Rails 4.2.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions