How to radiant consumer plugin in application

Hi every one,

In my existing rails application i want to user radiant commodity
extension with rails consumer plug-in.

In my rails application i have configured radiant consumer plugin as
below.

RadiantConsumer.options = {
:radiant_url => ‘http://radiant.example.com’,
:expire_after => 10.minutes,
:timeout => 5,
:test_content => “Radiant Consumer plugin”
}

After doing configuration in environment.rb file application is not
working,
below error message is displaying at the time of starting the server.

Booting Mongrel
=> Rails 2.3.3 application starting on http://0.0.0.0:3000
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:443:in
load_missing_constant': uninitialized constant RadiantConsumer (NameError) from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:80:in const_missing’
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:92:in
const_missing' from /home/user/Documentaion/app/test_application/consumer/doit-live/config/environment.rb:15 from /usr/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/initializer.rb:111:in run’
from
/home/user/Documentaion/app/test_application/consumer/doit-live/config/environment.rb:13
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in require’
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:156:in
require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:521:in new_constants_in’
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:156:in
require' from /usr/lib/ruby/gems/1.8/gems/rails-2.3.3/lib/commands/server.rb:84 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require’
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require’
from script/server:3

Please Provide me the right way how to configure radiants consumer
plugin in rails application…

Thanx
Ghanshyam rathod