diff --git a/lib/generators/dockerfile_generator.rb b/lib/generators/dockerfile_generator.rb index c4db4c1..ca188d2 100644 --- a/lib/generators/dockerfile_generator.rb +++ b/lib/generators/dockerfile_generator.rb @@ -1134,7 +1134,7 @@ def procfile nginx: '/usr/sbin/nginx -g "daemon off;"', rails: "./bin/rails server -p 3001" } - elsif options.thruster? + elsif options.thruster? || @gemfile.include?("thruster") { rails: "thruster ./bin/rails server" } @@ -1311,7 +1311,6 @@ def fly_make_toml end end - puts @gemfile.inspect unless options.nginx? || using_passenger? || options.thruster? || @gemfile.include?("thruster") unless toml.include? "[statics]" toml += "[[statics]]\n guest_path = \"/rails/public\"\n url_prefix = \"/\"\n\n"