Eiffel Qiu
2009-Apr-17 03:21 UTC
How can i copy file to rails public folder when install gem
I wrote a rails plugin, and i wish to make it as a gem. it seems easy when i use it as a libary code. but it will copy some js, css file to rails public folder. as a rails plugin, Install.rb will copy file during the ruby script/plugin install xx process, but how can i achieve this and convert it as a fully functional rubygem, so i can run ''ruby gems:install" to deploy it. any help arreciate. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---