[rspec-users] Setting up rspec-rails for hacking

garren garren.smith at gmail.com
Fri Jul 9 07:59:51 EDT 2010


I've followed the instructions to install the dev environment, when I
run rake install I get this for the rspec-rails:
cp ./templates/Gemfile ./tmp/example_app/
rake rails:template LOCATION='../../templates/generate_stuff.rb'
(in /Users/garren/webdev/rspec-dev/repos/rspec-rails/tmp/example_app)
    generate  rspec:install
    generate  controller wombats index
    generate  controller welcome index
    generate  integration_test widgets
    generate  mailer Notifications signup
    generate  model thing name:string
    generate  helper things
    generate  scaffold widget name:string category:string
instock:boolean
    generate  observer widget
    generate  scaffold gadget
         run  rake db:migrate from "."
         run  rake db:test:prepare from "."
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I
"/Library/Ruby/Gems/1.8/gems/cucumber-0.8.3/lib:lib" "/Library/Ruby/
Gems/1.8/gems/cucumber-0.8.3/bin/cucumber" --format progress
Using the default profile...
You have already activated rspec-expectations 2.0.0.beta.13, but your
Gemfile requires rspec-expectations 2.0.0.beta.16. Consider using
bundle exec. (Gem::LoadError)

Any ideas on how to fix this?

On Jul 7, 12:34 pm, David Chelimsky <dchelim... at gmail.com> wrote:
> On Jul 7, 2010, at 5:26 AM, Trevor Lalish-Menagh wrote:
>
> >> Did you know about the rspec-dev meta project?
>
> >>http://github.com/rspec/rspec-dev
>
> > That is great. I should have looked for that before setting this up. I just didn't think about it.
>
> >> Perhaps we should update the rspec-* READMEs with a point back to rspec-dev so that people know about it?
>
> > Good call. That would help.
>
> Done:
>
> http://github.com/rspec/rspechttp://github.com/rspec/rspec-corehttp://github.com/rspec/rspec-expectationshttp://github.com/rspec/rspec-mockshttp://github.com/rspec/rspec-rails
>
> Cheers,
> David
> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list