Red Box is not working
Posted
by palani
on Stack Overflow
See other posts from Stack Overflow
or by palani
Published on 2010-03-25T07:06:22Z
Indexed on
2010/03/25
12:53 UTC
Read the original article
Hit count: 445
ruby-on-rails
Hi , I have install the Red box plugin by using the following command
script/plugin install svn://rubyforge.org/var/svn/ambroseplugins/redbox .
It installed successfully. and again ran the following command the following location
/myapp/vendor/plugin/redbox/rake update_scripts . It shows me the following output
(in /myapp/vendor/plugins/redbox) rake aborted! private method `copy' called for File:Class /home/myapp/vendor/plugins/redbox/Rakefile:28 (See full trace by running task with --trace)
I don't know How to solve this ... Then i understand that "rake update_scripts" copying the Js and Css file only. so i manually copied the Redbox.js & redbox.css files into the respective places under /public folder
I include the follwoing into my application.html.erb
<%= stylesheet_link_tag 'redbox' %> <%= javascript_include_tag :defaults %> <%= javascript_include_tag 'redbox' %>
It included in the page successfully. The following is my view code :
<%= link_to_remote_redbox('Red_box', :url => {:action=> 'log'} ,:method =>'get') %>
The popup box doesn't appear. I have no clue what is the exact error. Is that any Jquery clash?
Please help me
© Stack Overflow or respective owner