I have installed the fiveruns tuneup gem. I copied the five runs folder from the gems directory (C:\ruby\lib\ruby\gems\1.8\gems\fiveruns_tuneup-0.8.17) to the application vendor directory. When I restarted the server, console shown the following error: E:/Pavo/Insoshi/vendor/rails/activesupport/lib/active_support/dependencies.rb:116:in `qualified_const_defined?'': "Plugins::FiverunsTuneup-0.8.17::Lib::Fiveruns" is not a valid constant name! (NameError) from E:/Pavo/Insoshi/vendor/rails/activesupport/lib/active_support/dependencies.rb:339:in `new_constants_in'' Iam not sure what is the problem? Is it because I moved the gems to the vendor folder? Generally how can we conver the gem as plugin? -- 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 -~----------~----~----~----~------~----~------~--~---
> Iam not sure what is the problem? Is it because I moved the gems to the > vendor folder? Generally how can we conver the gem as plugin?If you are using the latest Rails 2.1.x then you want to look into gem dependencies. Rails 2.1 has support for managing and freezing gem dependencies. No need to roll your own solutions anymore. Start by looking for the config.gem examples in your config/environments.rb file. Example: config.gem "aws-s3", :lib => "aws/s3" Then to "unpack" the configured gem into the vendors folder use: rake gems:unpack GEM=aws-s3 Also take a look at all the other gems options you have by running: rake -T gems Ayyanar Aswathaman wrote:> Iam not sure what is the problem? Is it because I moved the gems to the > vendor folder? Generally how can we conver the gem as plugin?-- 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 -~----------~----~----~----~------~----~------~--~---