[Radiant] Re: sns and sass

2010-11-27 Thread Tobi
I failed to get this working the last time.
But after cloning it directly from github it works fine.

Tobi

On 25 Nov., 03:19, Thomas Hollars  wrote:
> Try this:https://github.com/SwankInnovations/radiant-sns-sass-filter-extension
>
> --
> Posted viahttp://www.ruby-forum.com/.


Re: [Radiant] Re: How can i deploy radiant application to sub-directory?

2010-11-27 Thread Fima Leshinsky
Why wouldn't a web-server-level (e.g. Apache) rewrite work?

Thanks,
Fima


[Radiant] Radiant as Rails3 engine & RADIANT_ROOT

2010-11-27 Thread Mario Aquino
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