Skip to content

Commit

Permalink
remove debug statment, and cover thruster already included
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Mar 17, 2024
1 parent 271bcd2 commit f45d6c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/generators/dockerfile_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit f45d6c7

Please sign in to comment.