Skip to content

Commit b7704bc

Browse files
committed
Mutate the string
1 parent 5b3a2b3 commit b7704bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/generators/release.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def before_generation
4343
run 'gem install bundler'
4444

4545
patch 'Gemfile' do |contents|
46-
contents.sub(/gem \"delayed_job\".*/, "# gem \"delayed_job\"")
47-
contents.sub(/gem \"delayed_job_active_record\".*/, "# gem \"delayed_job_active_record\"")
46+
contents.sub!(/gem \"delayed_job\".*/, "# gem \"delayed_job\"")
47+
contents.sub!(/gem \"delayed_job_active_record\".*/, "# gem \"delayed_job_active_record\"")
4848
end
4949
end
5050
end

0 commit comments

Comments
 (0)