Thanks, Aslak. I *think* I've got it straight now. And my apologies for injecting noise into the tracker. My mistake. <br><br>Does this sound like the proper way to track edge RSpec and RSpec on Rails development?<br><br>
<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>Check out RSpec trunk from: svn://rubyforge.org/var/svn/rspec/trunk<br>Check out RSpec trunk into its own project, or if you're interested in using/learning RSpec for a particular Rails project, consider using svn:externals to check out RSpec trunk into your [RailsRoot]/vendor directory:
<br><br>svn propset svn:externals "rspec svn://rubyforge.org/var/svn/rspec/trunk" vendor<br><br>then update to grab the latest code from RSpec trunk:<br><br>svn update vendor<br><br>Next, build the gem. You have to be standing in vendor/rspec if you're using svn:externals (as described above) or the root of RSpec if you checked it out as its own project.
<br><br>rake gem<br><br>then install it:<br><br>gem install pkg/rspec-X.X.X.gem (where X.X.X is the version number reported in the output from "rake gem")<br><br>(Note: you can always uninstall the *edge* RSpec gem via "gem uninstall rspec")
<br><br><br>Now that you've installed the *edge* RSpec gem, you MUST install the *edge* RSpec on Rails plugin:<br><br>script/plugin install -x svn://rubyforge.org/var/svn/rspec/trunk/vendor/rspec_on_rails/vendor/plugins/rspec
<br><br>This will install the RSpec on Rails plugin via svn:externals so it will always track trunk development.<br><br><br>One last, MANDATORY step: you must bootstrap your Rails app with RSpec. Standing in [RailsRoot]:
<br><br>script/generate rspec<br><br>Be sure to overwrite files if prompted.<br><br>In summary:<br>1. check out RSpec trunk<br>2. build the gem<br>3. install the gem<br>4. install the RSpec on Rails plugin from trunk<br>5. bootstrap you Rails app with RSpec
<br>6. there is no step 6! (with apologies to Instiki)<br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>I think those steps are fairly accurate, but I'd appreciate any critical input.<br><br>I'd be happy to markup the steps for inclusion in
<a href="http://rspec.rubyforge.org/documentation/rails/">http://rspec.rubyforge.org/documentation/rails/</a> if it would be appropriate.<br><br>Thanks again for your help,<br><br>George<br><br>On 11/1/06, aslak hellesoy <
<a href="mailto:aslak.hellesoy@gmail.com">aslak.hellesoy@gmail.com</a>> wrote:<br>> On 11/1/06, George Anderson <<a href="mailto:george@benevolentcode.com">george@benevolentcode.com</a>> wrote:<br>> > Thanks, David.
<br>> ><br>> > I successfully built and installed the gem, but I'm running into an<br>> > issue similar to one Aslak reported:<br>> ><br>> > <a href="http://rubyforge.org/tracker/index.php?func=detail&aid=6411&group_id=797&atid=3149">
http://rubyforge.org/tracker/index.php?func=detail&aid=6411&group_id=797&atid=3149</a><br>> ><br>> > I've added the details of my issue as a followup to his ticket.<br>> ><br>> <br>> Your problem seems to be unrelated to the issue I reported (your
<br>> exception is completely different than mine). It looks like your RSpec<br>> on Rails is incompatible with your RSpec gem.<br>> <br>> 1) What RSpec version do you have? (a downloaded gem? self-built gem/svn rev?)
<br>> 2) Are you running RSpec on Rails from trunk/HEAD or a particular svn<br>> tagged revision?<br>> <br>> Aslak<br>> <br>> > Thanks again,<br>> ><br>> > George<br>> ><br>> > On 10/31/06, David Chelimsky <
<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>> wrote:<br>> > > On 10/31/06, George Anderson <<a href="mailto:george@benevolentcode.com">george@benevolentcode.com</a>> wrote:<br>> > > > I'm interested in tracking edge development of the RSpec on Rails
<br>> > > > plugin and I'm a bit confused.<br>> > > ><br>> > > > The installation guide<br>> > > > (<a href="http://rspec.rubyforge.org/documentation/rails/install.html">http://rspec.rubyforge.org/documentation/rails/install.html
</a>) says,<br>> > > > "You'll have to install the RSpec core gem first." It also says,<br>> > > > "Take note of what rspec version you're installing – it's very<br>> > > > important that you install a compatible RSpec on Rails plugin."
<br>> > > ><br>> > > > >From the "Installation" section (for RSpec on Rails) I understand how<br>> > > > to track the HEAD of trunk for the plugin development, but I'm not<br>
> > > > sure if I can use the edge plugin with the RSpec core gem (via "gem<br>> > > > install rspec").<br>> > > ><br>> > > > In order to use the edge plugin, do I also need to use edge rspec?
<br>> > ><br>> > > Yes.<br>> > ><br>> > > > If so, how do I install edge rspec and ensure it gets used instead of<br>> > > > the RSpec gem (0.6.4)?<br>> > ><br>> > > check out the trunk
<br>> > > read the README - that should tell you what you need to build rspec<br>> > > once you have the dependencies in place you should be able to do this:<br>> > ><br>> > > rake gem<br>
> > > gem install pkg/rspec-X.X.X.gem<br>> > ><br>> > > Let us know if that works for you.<br>> > ><br>> > > Cheers,<br>> > > David<br>> > ><br>> > > >
<br>> > > > I've done my best to RTFM, but I'm still climbing the Ruby curve and<br>> > > > apparently missing some key bits to pull this together.<br>> > > ><br>> > > > Thanks for any direction you might provide.
<br>> > > ><br>> > > > /george<br>> > > > _______________________________________________<br>> > > > Rspec-users mailing list<br>> > > > <a href="mailto:Rspec-users@rubyforge.org">
Rspec-users@rubyforge.org</a><br>> > > > <a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>> > > ><br>> > > _______________________________________________
<br>> > > Rspec-users mailing list<br>> > > <a href="mailto:Rspec-users@rubyforge.org">Rspec-users@rubyforge.org</a><br>> > > <a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users
</a><br>> > ><br>> > _______________________________________________<br>> > Rspec-users mailing list<br>> > <a href="mailto:Rspec-users@rubyforge.org">Rspec-users@rubyforge.org</a><br>> >
<a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>> ><br>> <br><br>