diff options
-rw-r--r-- | lib/bundler/injector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/injector.rb b/lib/bundler/injector.rb index 6f9669ae4f..4eb327b15e 100644 --- a/lib/bundler/injector.rb +++ b/lib/bundler/injector.rb @@ -82,7 +82,7 @@ module Bundler end def append_to(gemfile_path, new_gem_lines) - gemfile_path.open("a") do |f| + File.open(gemfile_path, "a") do |f| f.puts f.puts new_gem_lines end |