You're absolutely right, sorry I hadn't looked closely enough. You could gem install Radiant and generate an instance and then merge the necessary bits from the environment.rb it generates into your existing app.
If I get a chance I'll try and determine what those necessary bits are later today and email back what I learn. Loren On Jun 1, 2007, at 2:21 AM, Meekish wrote: > Loren Johnson wrote: >> Read through the Readme in the extension now posted on RubyForge (see >> Matt's original post for address, etc) and you'll find that the >> "installation" is very straight forward and will be the same whether >> it's with a fresh Rails app or an existing one. >> >> Give it a shot... > > I read the README before posting, but it seemed to me like it was > explaining how to modify an existing Radiant app, rather than an > existing Rails app: > > ================================================== > 1. Edit RAILS_ROOT/config/environment.rb and change the following line > > config.view_path = File.join(RADIANT_ROOT, 'app', 'views') > > to > > config.view_paths << File.join(RAILS_ROOT, 'app', 'views') > config.view_paths << File.join(RADIANT_ROOT, 'app', 'views') > ================================================== > > The environment.rb file (RAILS_ROOT/config/environment.rb) in a stock > Rails app wouldn't have any mention of 'RADIANT_ROOT' > > Am I misunderstanding the directions? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
