Project

General

Profile

Actions

Bug #3120

closed

$: is setup wrong on windows

Added by rogerdpack (Roger Pack) almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.8dev (2010-04-08) [i386-mingw32]
[ruby-core:29398]

Description

=begin
after installation to c:\installs\ruby_1_8_installed, I get an unusable ruby:

C:\installs\ruby_1_8_installed\bin>ruby -ve 'puts $:.inspect'
ruby 1.8.8dev (2010-04-08) [i386-mingw32]
["C:/installs/ruby_1_8_in", "C:/installs/ruby_1_8_installed/lib/", "C:/installs/ruby_1_", "C:/installs/ruby_1_8_inst", "C:/installs/ruby_1_8_installed/lib/ru", "C:/installs/ruby_1_8_", "C:/installs/r", "C:/installs/ruby_1_8_insta", "."]

Not sure why.
Thanks.
-rp
=end

Actions #1

Updated by usa (Usaku NAKAMURA) almost 14 years ago

=begin
May be the same bug of Bug#... .... ah, I can't find it now :(
We (Japanese developers) discussed about it just few days ago.

In ruby.c;
#if defined _WIN32 || defined CYGWIN || defined DJGPP
static VALUE
rubylib_mangled_path(const char *s, unsigned int l)
{

change the first line as
#if 0
and test it, please.

=end

Actions #2

Updated by nobu (Nobuyoshi Nakada) almost 14 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r27298.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions #3

Updated by rogerdpack (Roger Pack) almost 14 years ago

=begin
Thank you it works well now.

C:\installs\ruby_1_8_installed\bin>ruby -ve 'puts $:.inspect'
ruby 1.8.8dev (2010-04-14) [i386-mingw32]
["C:/installs/ruby_1_8_installed/lib/ruby/site_ruby/1.8", "C:/installs/ruby_1_8_installed/lib/ruby/site_ruby/1.8/i386-msvcrt", "C:/installs/ruby_1_8_installed/lib/ruby/site_ruby", "C:/installs/ruby_1_8_installed/lib/ruby/vendor_ruby/1.8", "C:/installs/ruby_1_8_installed/lib/ruby/vendor_ruby/1.8/i386-msvcrt", "C:/installs/ruby_1_8_installed/lib/ruby/vendor_ruby", "C:/installs/ruby_1_8_installed/lib/ruby/1.8", "C:/installs/ruby_1_8_installed/lib/ruby/1.8/i386-mingw32", "."]
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0