Ubygems.rb file - is error?

Hi, I just installed Rails, and I was wondering what is this file?
/lib/ubygems.rb ?

Here is a copy of it:

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

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 B.
[email protected] http://AgileConsultingLLC.com/
[email protected] http://GaslightSoftware.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs