are you using redbox plugin?
if you using redbox plugin,
just give "require 'redbox'" in whichever controller you need to use
well you using plugin name called redbox
just copy those redbox.js, spinner.gif and redbox.css to public
stylesheets and just give require 'redbox' in controller
have you restarted your server after you install the plugin?
by using html its working?
did you check the plugin installed properly in vendors folder?
OH MY GOSH!!!!!!
finally i got your problem. lmfao
well if you want ot use redbox plugin, obviously you have to install
that plugin in vendors folder
first use this command to install the plugin on your rails project
ruby script/plugin install svn://rubyforge.org/var/svn/ambroseplugins/redbox
stylsheets and images
then restart your server
and run the app you'll get by sure.
maybe bcos of firewall or some security reason you couldnt install the plugin