Jeff Casimir wrote:
I looked through the Rakefile and finally had an idea.  Rake wasn't
looking at environment.rb, it was going for boot.rb.  So I opened up
my config/boot.rb, casually ignored the warnings at the top of the
file, and put the following on the first line:

ENV['RAILS_ENV'] = 'production'

Now everything is golden.  Installs are no problem.  Is this dumb or
bad practice for some reason?

I believe that the general practice is to run rake as:
rake production ....
when installing extensions, etc.

I don't think people would usually change boot.rb - on the other hand, if it works for you, it 'works for you' :)

Cheers,
Mohit.
6/16/2009 | 1:04 PM.

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to