Changeset 1407


Ignore:
Timestamp:
Jan 7, 2010, 12:09:30 AM (14 years ago)
Author:
mitchb
Message:
Provide enough rope to put your rails app into production mode
Evidently the Rails maintainers decided that the "right" way
to do this involved control of the webserver, and so they should
rip out the knob to do it for users on non-braindead webhosts.

The "K" is for "Kwality"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/locker-dev/locker/deploy/bin/rails

    r1297 r1407  
    9090
    9191tie my @railsenv, 'Tie::File', 'config/environment.rb';
     92unshift @railsenv, "# ENV['RAILS_ENV'] ||= 'production'";
     93unshift @railsenv, "# Uncomment below to put Rails into production mode";
     94unshift @railsenv, "";
    9295unshift @railsenv, "ENV['RAILS_RELATIVE_URL_ROOT'] = \"/$addrend\"";
    9396untie @railsenv;
Note: See TracChangeset for help on using the changeset viewer.