[rspec-devel] require 'rubygems'

Peter Fitzgibbons peter.fitzgibbons at gmail.com
Thu Mar 26 06:49:36 EDT 2009


On Thu, Mar 26, 2009 at 3:08 AM, Jim Weirich <jim.weirich at gmail.com> wrote:

>
> On Mar 26, 2009, at 3:04 AM, David Chelimsky wrote:
>
>  That's essentially what's happening in this branch, though it's
>> wrapped in a method to reduce duplication.
>>
>
> Duplication?  How many places need to do this?
>
> Seems to me that any libraries don't need this.  By the time the libraries
> are loading, rubygems should already be loaded (otherwise the libraries
> wouldn't have been found).
>
> I only put this in the top level application code.  One place.
>
> At least this is true for rake.  Is rspec different?


I'm with you.  Also this seems to also be taken care of through RUBYOPT, no?


Peter Fitzgibbons
Email: peter.fitzgibbons at gmail.com



>
>
> --
> -- Jim Weirich
> -- jim.weirich at gmail.com
>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-devel/attachments/20090326/4f2f2a6d/attachment.html>


More information about the rspec-devel mailing list