[Radiant] radiant edge on dreamhost
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: Radiant@radiantcms.org 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
Re: [Radiant] radiant edge on dreamhost
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 m...@siforster.net 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: Radiant@radiantcms.org 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
Re: [Radiant] radiant edge on dreamhost
Si Forster said the following on 04/27/2010 11:06 AM: 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? You're using Passenger, right? Passenger seems ignore the ENV and RAILS_ENV and always run as production. I believe this is documented and I recall it being mentioned here when I encountered that last year :-) Of course access though Passenger is only for web-based access. For command line you have to specify it explicitly, as you point out. I've got ENV['RAILS_ENV'] = 'production' specificed in my environments file but this doesn't seem to make a difference. I observed this too and I don't know why it is. Maybe its in the libraries they use ... Try compiling your own version of RAKE. Hopefully my findings will help others using dreamhost. BTDT. -- The maxim that people should not have a right till they are ready to exercise it properly, is worthy of the fool in the old story who resolved not to go into the water till he had learned to swim. --Macaulay ___ Radiant mailing list Post: Radiant@radiantcms.org 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