Skip to content

Commit

Permalink
Suppress "parenthesize argument(s) for future version" warning in rub…
Browse files Browse the repository at this point in the history
…y 1.8.6. Fixes rubygems#179.
  • Loading branch information
rsutphin committed Mar 4, 2010
1 parent 49274e5 commit da15360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def exec(*)
desc "open GEM", "Opens the source directory of the given bundled gem"
def open(name)
editor = ENV['EDITOR']
return Bundler.ui.info "To open a bundled gem, set $EDITOR" if editor.nil? || editor.empty?
return Bundler.ui.info("To open a bundled gem, set $EDITOR") if editor.nil? || editor.empty?
command = "#{editor} #{locate_gem(name)}"
Bundler.ui.info "Could not run '#{command}'" unless system(command)
end
Expand Down

0 comments on commit da15360

Please sign in to comment.