[rspec-users] Rails config.gem and rspec, rspec-rails

David Chelimsky dchelimsky at gmail.com
Tue Oct 14 01:25:38 EDT 2008


On Tue, Oct 14, 2008 at 2:48 AM, Zach Dennis <zach.dennis at gmail.com> wrote:
> In #rspec the instructions for installing rspec and rspec-rails on a
> Rails project. Specifically talking about the following line from
> http://github.com/dchelimsky/rspec-rails/wikis/home
>
>  config.gem "rspec-rails", :lib => "spec"
>
> I think this should be updated to not instruct people to do this.
> Rails config.gem will *load* all configured gems in all environments
> which isn't what I thikn people expect. Simply having people move
> these config.gem statements into the appropriate environment file also
> doesn't work quite as expected (at least not with the rake tasks that
> surround gem usage in Rails).
>
> If folks use the gem versions I think the wiki should advise them to
> run "gem unpack rspec rspec-rails" inside of vendor/gems.

Actually, I've just been using the gems without any reference to them
in the app configuration. Just 'gem install rspec-rails',
'script/generate rspec', and go.

So reflected on the wiki.

Thanks Zach,
David

>
> Thoughts?
>
> --
> Zach Dennis
> http://www.continuousthinking.com
> http://www.mutuallyhuman.com
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list