Okay so a bit further along now. Currently I need to specifiy "RAILS_ENV=production" in the command line after and db based changes such as "rake radiant:extensions:xxx:update" or "db:migrate".
Any idea why this might be the case? I've got ENV['RAILS_ENV'] = 'production' specificed in my environments file but this doesn't seem to make a difference. Hopefully my findings will help others using dreamhost. ------ On another note, installing bespin and tiny_mce with ray or script/extension was not enough... I also had to call :update and :migrate (again with " RAILS_ENV=production" on the end). ----- Hopefully this is a more useful reply than my previous. Si On 27 April 2010 09:23, Si Forster <[email protected]> wrote: > Morning all, > > Finally I got the edge release working on dreamhost. > > I stumbled across this article: > http://www.appletownprince.com/category/dreamhost/ > > I then had a go at switching to edge and calling rake production:db > bootstrap with RAILS_ENV=production stuck on the end, and it worked. > > The problem may have been the environments.rb getting updated on the rake > just before I called the bootstrap, and hence removing the RAILS_ENV from my > environment.rb > > I'm going to try and do a few more installs and get tweak the install > instructions for dreamhost in the wiki when I get time. > > ---------------- > > Anyhoo.. next problem! Bet you all love me! > > I've installed a number of extensions and they all work great, except where > they require javascript. > > Both Bespin and Tiny_Paper use /javascript/admin/xxx.js files and when you > navigate to those files I get "page not found". > > I installed bespin using ray and tiny_paper using script/extension > > Any thoughts on why this might be the case? > > Thanks for all your help so far. > > Si > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
