Forum: Ruby on Rails How can i copy file to rails public folder when install gem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Eiffel Q. (Guest)
on 2009-04-17 07:21
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.
This topic is locked and can not be replied to.