On Sep 29, 2011, at 11:00 PM, Elizabeth Jobson wrote:
> Hi, I just installed Rails, and I was wondering what is this file?
> /lib/ubygems.rb ?
>
> Here is a copy of it:
> https://github.com/rubygems/rubygems/blob/master/lib/ubygems.rb
>
> Is this a bug/type (ubygems rather than what it should be, ubygems) or
> is it supposed to be that way? If so, what does it do, could someone
> explain how it works? (sorry if it's a dumb question I'm new at this!)
>
> Thanks
It's just a copy of the rubygems.rb file and allows you to require
rubygems from the command line with either:
ruby -rrubygems ...
or
ruby -rubygems ...
just so it reads a little better.
-Rob
Rob Biedenharn
Rob@AgileConsultingLLC.com http://AgileConsultingLLC.com/
rab@GaslightSoftware.com http://GaslightSoftware.com/
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment