[rspec-users] using RSpec's trunk in non-rails projects w/ Autotest

Nick Sieger nicksieger at gmail.com
Wed Aug 8 16:17:31 EDT 2007


On 8/6/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>
>
> I believe for rails projects you can put rspec's code repos into
> vendor/plugins, and autotest will automatically use the rspec binary
> in that directory, and not the gem installed.
>
> Is there an easy way to do this for non-rails projects?  There are a
> few advancements on trunk which I would like to take advantage of.
> Tips welcome ; ).


Check out the trunk somewhere and set RUBYLIB=/path/to/rspec/trunk?

Emulate the Rails vendor structure somewhat and have a bootstrap script that
adds RSpec in that location to the load path?

/Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070808/1c660c73/attachment.html 


More information about the rspec-users mailing list