Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rackup file should require environment

  • Loading branch information...
commit 92bfc693f2293fe5d459a6edb4216594cd5a7eb2 1 parent 3971d97
@josh josh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/generators/rails/app/templates/config.ru
View
2  railties/lib/rails/generators/rails/app/templates/config.ru
@@ -1,5 +1,5 @@
# Require your environment file to bootstrap Rails
-require ::File.expand_path('../config/application', __FILE__)
+require ::File.expand_path('../config/environment', __FILE__)
# Dispatch the request
run Rails.application.new
Please sign in to comment.
Something went wrong with that request. Please try again.