Forum: Ruby on Rails ubygems.rb file - is error?

Posted by Elizabeth Jobson (maraspanish)
on 2011-09-30 05:00
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/l...

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
Posted by Rob Biedenharn (Guest)
on 2011-09-30 07:09
(Received via mailing list)
On Sep 29, 2011, at 11:00 PM, Elizabeth Jobson wrote:

> 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/
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.