Skip to content

Commit

Permalink
Merge pull request #8 from synthdnb/patch/space-separated-commands
Browse files Browse the repository at this point in the history
make gem work for space-separated gem editor commands
  • Loading branch information
fnando committed Mar 25, 2015
2 parents 51f1f42 + 1374d8a commit 86785a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/commands/open.rb
Expand Up @@ -67,7 +67,7 @@ def open(spec)
editor = ENV["GEM_EDITOR"] || ENV["EDITOR"]

if editor
system editor, spec.full_gem_path
system *editor.split, spec.full_gem_path
else
say "You must set your editor in your .bash_profile or equivalent:"
say " export GEM_EDITOR='mate'"
Expand Down

0 comments on commit 86785a5

Please sign in to comment.