utensils / docker-lobsters

Lobsters in a minimal Docker container.
https://github.com/lobsters/
MIT License
60 stars 41 forks source link

Rails and Rake not found #3

Closed Rayraegah closed 5 years ago

Rayraegah commented 5 years ago

Container throws the following error

Status: Downloaded newer image for jamesbrink/lobsters:latest
/usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem rake (>= 0.a) with executable rake (Gem::GemNotFoundException)
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:302:in `activate_bin_path'
    from /usr/local/bin/rake:23:in `<main>'
2019-07-04 05:53:06 - DB Version: 
2019-07-04 05:53:06 - Creating database.
/usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem rake (>= 0.a) with executable rake (Gem::GemNotFoundException)
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:302:in `activate_bin_path'
    from /usr/local/bin/rake:23:in `<main>'
2019-07-04 05:53:06 - Loading schema.
/usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem rake (>= 0.a) with executable rake (Gem::GemNotFoundException)
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:302:in `activate_bin_path'
    from /usr/local/bin/rake:23:in `<main>'
2019-07-04 05:53:06 - Migrating database.
/usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem rake (>= 0.a) with executable rake (Gem::GemNotFoundException)
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:302:in `activate_bin_path'
    from /usr/local/bin/rake:23:in `<main>'
2019-07-04 05:53:06 - Seeding database.
/usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem rake (>= 0.a) with executable rake (Gem::GemNotFoundException)
    from /usr/local/lib/ruby/site_ruby/2.3.0/rubygems.rb:302:in `activate_bin_path'
    from /usr/local/bin/rake:23:in `<main>'
2019-07-04 05:53:06 - No SECRET_KEY provided, generating one now.
2019-07-04 05:53:06 - Your new secret key: 72fbdf64319c9aab16793aa3dfdf0432ac220bbf9c8ae9ecc83b9117658cefc0bb58bdba8babdb02cab21f45b798952b7c58c97c264b772a2e279608baa15c08
/usr/local/bin/docker-entrypoint.sh: line 55: rails: not found
2019-07-04 05:53:06 - Exiting
jamesbrink commented 5 years ago

Thanks, I'll take a look at this

jamesbrink commented 5 years ago

@Rayraegah, this should be resolved now if you pull the most recent changes and be sure to update the submodule as well

Rayraegah commented 5 years ago

Thanks @jamesbrink local dev is now up and running.