mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems: Update to RubyGems HEAD(5c3b6f3).
Fixed #1156, #1142, #1115, #1142, #1139 on rubygems/rubygems * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
69be362030
commit
c3546c76c8
20 changed files with 1391 additions and 1263 deletions
|
@ -61,7 +61,9 @@ class Gem::Commands::OpenCommand < Gem::Command
|
|||
end
|
||||
|
||||
def open_editor path
|
||||
system(*@editor.split(/\s+/) + [path])
|
||||
Dir.chdir(path) do
|
||||
system(*@editor.split(/\s+/) + [path])
|
||||
end
|
||||
end
|
||||
|
||||
def spec_for name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue