[rspec-devel] Contributing to the Rails plugin...I think I might just be dumb

Pat Maddox pergesu at gmail.com
Sun Dec 17 09:59:57 EST 2006


On 12/17/06, David Chelimsky <dchelimsky at gmail.com> wrote:
> On 12/17/06, Pat Maddox <pergesu at gmail.com> wrote:
> > On 12/17/06, Wilson Bilkovich <wilsonb at gmail.com> wrote:
> > > On 12/17/06, Pat Maddox <pergesu at gmail.com> wrote:
> > > > I wanted to add some stuff to the Rails plugin.  afaik, I need to get
> > > > the entire rspec_on_rails application in order to do that.  So I did
> > > > svn co svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails/
> > > >
> > > > That gets the application, the various versions of rails, etc.  I
> > > > create the database.yml file and run migrations.  ./script/generate
> > > > rspec.  So far so good.
> > > >
> > > > rake spec give me that version error
> > > > RSpec          : 0.7.4 (r1201)
> > > > RSpec on Rails : r1312
> > > >
> > > > Okay, I'll install edge rspec then.
> > > > ./script/plugin install -x svn://rubyforge.org/var/svn/rspec/trunk/rspec
> > > >
> > > > Still getting the exact same error.  For some reason it's not
> > > > recognizing the edge rspec that I just installed.  I'm running edge
> > > > rspec and rspec_on_rails in another application without any problems.
> > > >
> > > > Am I even going about this the right way?  I feel so dumb...I write
> > > > Rails apps all day long, now I want to contribute to RSpec and I've
> > > > just been having a hell of a time getting started.
> > > >
> > >
> > > If you check out /var/svn/rspec/trunk/rspec..
> > > You can build and install the gem from that, and then your gem version
> > > will match the rspec_on_rails version.
> > > It's pretty irritating, but I can't think of a better way.
> >
> > Well what really gets me is that I don't have to do that in any of my
> > other Rails apps.  I checked out /var/svn/rspec/trunk/rspec into
> > vendor/plugins, and have the edge rspec_on_rails plugin as well.  That
> > works fine without having to build a gem...so I don't understand why
> > it's different in the example app.
>
> Sorry this is so frustrating for you guys. We certainly don't want
> roadblocks like this in the way of you making contributions.

While I haven't really contributed anything, I like to think that my
series of complaints has at least led to it being a bit easier to
contribute :)

> In the demo app we've got paths set up such that it loads the rspec
> that lives parallel to the app. i.e.
>
> ~/trunk/rspec_on_rails
> ~/trunk/rspec
>
> That's how we ensure that we're working on the same revision.

Awesome, got it working now.

> So I'd recommend checking out the entire trunk. It's a bit of a
> download hit, but it should work.
>
> Let us know if you have any suggestions for a better way.

Seems like the best solution at this point.

Thanks,
Pat


More information about the rspec-devel mailing list