Bugs item #28091, was opened at 2010-04-14 09:06
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28091&group_id=126

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: A Wilson (aawilson)
Assigned to: Nobody (None)
Summary: RubyGems Installer Cuts Off Beginning Characters

Initial Comment:
With ruby-1.9.1 on an mswin32 environment, running setup.rb produces files in 
the lib\ruby\site_ruby\1.9.1\rubygems which are mostly missing the first four 
characters of the file. For example, 
C:\scripting\ruby-1.9.1\lib\ruby\site_ruby\1.9.1\rubygems\commands\list_command.rb
 has the following for its first line:

ire 'rubygems/command'

rather than

require 'rubygems/command'

Inspection of the sources under the rubygems-1.3.6 directory shows that those 
sources do not have this issue, indicating that the problem has something to do 
with setup.rb or its dependencies.

A workaround for this is to manually copy the rubygems-1.3.6\lib\rubygems 
directory into ruby-1.9.1\lib\ruby\site_ruby\1.9.1\.

----------------------------------------------------------------------

>Comment By: Eric Hodel (drbrain)
Date: 2010-04-20 21:31

Message:
RubyGems' setup.rb uses FileUtils#install to do all its copying, so I suspect 
the problem will exist there.

Can you rule out FileUtils as the source of this problem?

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28091&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to