I am just getting started with Radiant and am trying to use it as a Rails 3 engine. When I try to install an extension, I get an error about RAILS_ROOT not being defined. This was easy enough to resolve (I added a RAILS_ROOT constant in config/boot.rb of my app). However, the RADIANT_ROOT constant is also undefined. Here is the stacktrace:
mario:(git)strangeloop[radiant_engine]/$ script/extension install forms /Users/mario/.rvm/gems/ruby-1.8.7-p302/bundler/gems/ radiant-1e7494558a8e/lib/radiant/extension/script.rb:286:in `extension_paths': uninitialized constant Radiant::Extension::Script::Util::RADIANT_ROOT (NameError) from /Users/mario/.rvm/gems/ruby-1.8.7-p302/bundler/gems/ radiant-1e7494558a8e/lib/radiant/extension/script.rb:278:in `installed?' from /Users/mario/.rvm/gems/ruby-1.8.7-p302/bundler/gems/ radiant-1e7494558a8e/lib/radiant/extension/script.rb:304:in `initialize' from /Users/mario/.rvm/gems/ruby-1.8.7-p302/bundler/gems/ radiant-1e7494558a8e/lib/radiant/extension/script.rb:261:in `new' from /Users/mario/.rvm/gems/ruby-1.8.7-p302/bundler/gems/ radiant-1e7494558a8e/lib/radiant/extension/script.rb:261:in `execute' from script/extension:5 Since I am trying to use Radiant as a Rails engine, what should the RADIANT_ROOT be? Should I freeze the radiant gem (and put it under vendor/gems)? --Mario