I have a Rails plugin, which is application independent, but depends on Rails, to be installed in a Rails app. (I have not yet converted it to a gem, but plan to eventually, and I'm not sure if that would change the answer to this question).
I'm having trouble figuring out how to set up rspec on this plugin. The rspec environment needs to at minimum "auto-load" all the classes in the plugin itself (as a Rails env would do anyway), and ideally auto-load Rails too for the couple places in the plugin that depend on Rails classes. But it shouldn't depend on any _particular_ Rails application, as this is an independent plugin. Is there a trick for setting this up fairly simply so rspec will work? All I've been able to find googling is pretty old instructions/advice that doesn't seem to work quite right on contemporary Rails 2.x systems. Surely this is something other people have done? Thanks for any advice. Jonathan -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

