I appreciate all the answers regarding what the exec package does, namely that it runs the following commands in the context of the Gemfile package. But why doesn't the rails server need the exec package? It seems like it should still apply.
The command is railslaunched from the executable file inside the folder script. If you delete this folder, you will see that the commands railsstop working. rakehowever, it works differently.
rails
script
rake