[Rubygems-developers] [ rubygems-Bugs-28091 ] RubyGems Installer Cuts Off Beginning Characters
noreply at rubyforge.org
noreply at rubyforge.org
Fri Nov 12 20:12:52 EST 2010
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: RubyGems installer (setup.rb)
Group: v1.3.x
>Status: Closed
Resolution: None
Priority: 3
Submitted By: A Wilson (aawilson)
Assigned to: Eric Hodel (drbrain)
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: Ryan Davis (zenspider)
Date: 2010-11-12 17:12
Message:
no response. please reopen if you think necessary.
----------------------------------------------------------------------
Comment By: Eric Hodel (drbrain)
Date: 2010-04-22 11:02
Message:
It's in lib/rubygems/commands/setup_command.rb
----------------------------------------------------------------------
Comment By: A Wilson (aawilson)
Date: 2010-04-22 07:22
Message:
I did a couple of copies with FileUtils.install without any
problems, but I wasn't able to track down where setub.rb
uses it, so I don't know if there are any options you're
using that would affect that.
----------------------------------------------------------------------
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
More information about the Rubygems-developers
mailing list