Try running RAILS_ENV=production script/console and let me know what happens.
Keith On Apr 12, 2010, at 4:22 PM, Gabe Koss wrote: > I have tried installing the Settings extension but it won't process any > of the Rake tasks and breaks the app... > > Gabe > > Keith Bingman wrote: >> Hi Gabe, >> >> I have a bunch of sites running on Heroku, with no problems. >> >> I think your problem is that you are missing the quotes for the radiant >> config values. It should be: Radiant::Config['assets.storage'] = "s3" >> (Quotes around the assets.storage). >> >> I think though the easiest way to do it would be to install the Settings >> extension, then just add the correct fields in the admin UI. This is the way >> I do it. Let me know if that helps. >> >> Keith >> >> Keith Bingman >> >> ke...@keithbingman.com >> http://keithbingman.com >> >> August-Ruf-Str. 38 >> D-78224 Singen >> >> Tel.: +49-7731-798 383 0 >> Mobil: +49 171 932 33 75 >> >> On Apr 12, 2010, at 4:13 PM, Gabe Koss wrote: >> >> >>> Hi, >>> >>> I am using Radiant on Heroku. I have installed the paperclipped >>> extension and I'm trying to tether it to my s3 buckets to store the >>> assets. I have read any number of tutorials so far with no success. >>> >>> The instructions here seem like they should work: >>> http://github.com/kbingman/paperclipped/blob/master/README.md >>> >>> When do either script/console OR script/console RAILS_ENV=production I >>> get the following message: >>> >>> g...@ubuntu:~/elmoreroots/radiant$ script/console RAILS_ENV=production >>> Loading RAILS_ENV=production environment (Rails 2.3.4) >>> /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/lib/initializer.rb:386:in >>> >>> `read':Errno::ENOENT: No such file or directory - >>> /home/gabe/elmoreroots/radiant/config/environments/RAILS_ENV=production.rb >>> >>> It still takes me to the console but if try and run the config command >>> >>> |>> Radiant::Config[assets.storage] = "s3" >>> NameError: undefined local variable or method `assets' for >>> #<Object:0xb75d994c> >>> from (irb):1 >>> >>> I have also tried following the instructions from: >>> >>> http://blog.heroku.com/archives/2009/4/7/config-vars/ >>> >>> but got stuck trying to configure paperclipped. Where would i place those >>> configuration settings? I am guessing that this is for more traditional >>> rails apps and won't work with paperclipped? >>> >>> Any help would be appreciated! >>> Thanks, >>> Gabe >>> >>> >>> | >>> >>> _______________________________________________ >>> 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 >>> >> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> 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 >> >> > > _______________________________________________ > 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 _______________________________________________ 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