[Radiant] RadiantOnRails extension
Meekish
jedhurt at cableone.net
Fri Jun 1 03:21:44 CDT 2007
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/.
More information about the Radiant
mailing list