I tried to do unit testing with the latest shoulda and Rails 3 and it
returned errors. I take a look at shoulda repository on github and I
found that there is a rails3 branch. Is this the branch that is tested
against Rails 3? How do I point and tell bundler to use this branch?
Has anybody used Should with bundler and Rails 3?
Kind regards,
Joshua
--
Individuals over processes. Interactions over tools.
Agile Rails training from thoughtbot, the makers of Clearance, Shoulda, & Factory Girl:
http://thoughtbot.com/services/training
The Shoulda group:
http://groups.google.com/group/shoulda
To post to this group, send email to
sho...@googlegroups.com
To unsubscribe from this group, send email to
shoulda+u...@googlegroups.com
Gemfile excerpt:
gem "shoulda", :git => "http://github.com/bmaddy/shoulda", :branch =>
"rails3"
wgd1 root# bundle install
Fetching http://github.com/bmaddy/shoulda
fatal: http://github.com/bmaddy/shoulda/info/refs not found: did you
run git update-server-info on the server?
An error has occurred in git. Cannot complete bundling.
wgd1 root# gem install git://github.com/bmaddy/shoulda.git
ERROR: could not find gem git://github.com/bmaddy/shoulda.git locally
or in a repository
Gemfile excerpt:
gem "shoulda", :git => "http://github.com/bmaddy/shoulda", :branch =>
"rails3"
wgd1 root# bundle install
--
Individuals over processes. Interactions over tools.
Agile Rails training from thoughtbot, the makers of Clearance, Shoulda, & Factory Girl:
http://thoughtbot.com/services/training
The Shoulda group:
http://groups.google.com/group/shoulda
To post to this group, send email to
sho...@googlegroups.com
To unsubscribe from this group, send email to
shoulda+u...@googlegroups.com
To unsubscribe, reply using "remove me" as the subject.
http://github.com/bmaddy/shoulda.git
Wes
On Apr 6, 12:00 pm, Bill Lazar <bstgro...@gmail.com> wrote:
> That helped but still get this:
>
> wgd1 root# bundle check
> The Gemfile's dependencies are satisfied
>
> wgd1 xxxx$ rails s
> /usr/local/lib/ruby/gems/1.9.1/gems/bundler-0.9.16/lib/bundler/
> source.rb:311:in `rescue in load_spec_files': git://github.com/bmaddy/
> shoulda (at rails3) is not checked out. Please run `bundle install`
> (Bundler::PathError)
>
> Updated Gemfile line is:
> gem "shoulda", :git => "git://github.com/bmaddy/shoulda", :branch =>
> "rails3"
>
> Thanks,
> Bill
>
> ps - I used http:// because I copied from your previous response in
> this thread.
>
> On Apr 6, 2010, at 7:49 AM, Brian Maddy wrote:
>
>
>
> > It looks like you're using http instead of the git protocol. Try
> > this:
> > gem "shoulda", :git => "git://github.com/bmaddy/shoulda", :branch =>
> > "rails3"
>
> > Cheers,
> > Brian
>
> > On Mon, Apr 5, 2010 at 6:44 PM, BillSaysThis <bstgro...@gmail.com>
> > wrote:
> > I'm getting the following errors using bundle install or gem install,
> > would appreciate an assist. Note: Do I need to include the main
> > shoulda repo as well?
>
> > Gemfile excerpt:
> > gem "shoulda", :git => "http://github.com/bmaddy/shoulda", :branch =>
> > "rails3"
>
> > wgd1 root# bundle install
> > Fetchinghttp://github.com/bmaddy/shoulda
> > fatal:http://github.com/bmaddy/shoulda/info/refsnot found: did you