[#37248] [Feature:1.9] Enumerator#inspect — "Yusuke ENDOH" <mame@...>

遠藤です。

12 messages 2008/12/02

[#37337] [Feature #841] Object#self — "rubikitch ." <redmine@...>

Feature #841: Object#self

13 messages 2008/12/09

[#37513] Current status of 1.9.1 RC1's issues — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, folks

14 messages 2008/12/20
[#37516] Re: Current status of 1.9.1 RC1's issues — Masatoshi SEKI <m_seki@...> 2008/12/20

咳といいます。

[#37576] [BUG:trunk] encoding for stdio's — "Yugui (Yuki Sonoda)" <yugui@...>

Yuguiです。

11 messages 2008/12/24

[ruby-dev:37281] [Bug #825] Gem::Installer#generate_windows_script の引数の順番が他と一致しない

From: okkez _ <redmine@...>
Date: 2008-12-05 05:07:36 UTC
List: ruby-dev #37281
Bug #825: Gem::Installer#generate_windows_script の引数の順番が他と一致しない
http://redmine.ruby-lang.org/issues/show/825

起票者: okkez _
ステータス: Open, 優先度: Normal
カテゴリ: lib

一つだけ引数の順番が異なるのは、混乱するので
Gem::Installer#generate_bin_script, Gem::Installer#generate_bin_symlink
と引数の順番を合わせました。

Index: lib/rubygems/installer.rb
===================================================================
--- lib/rubygems/installer.rb   (revision 20439)
+++ lib/rubygems/installer.rb   (working copy)
@@ -292,7 +292,7 @@
   ##
   # Creates windows .bat files for easy running of commands
 
-  def generate_windows_script(bindir, filename)
+  def generate_windows_script(filename, bindir)
     if Gem.win_platform? then
       script_name = filename + ".bat"
       script_path = File.join bindir, File.basename(script_name)
@@ -351,7 +351,7 @@
 
       say bin_script_path if Gem.configuration.really_verbose
 
-      generate_windows_script bindir, filename
+      generate_windows_script filename, bindir
     #else
     #  FileUtils.rm_f bin_script_path
     #  FileUtils.cp exec_path, bin_script_path,


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next