Skip to content

Commit

Permalink
Seeing as 'bin/refinerycms' is only used for new applications now we …
Browse files Browse the repository at this point in the history
…don't really need to backup the Gemfile.
  • Loading branch information
parndt committed Mar 28, 2011
1 parent 73b7ff4 commit 8fe7b93
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/refinerycms
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ module Refinery
refinery_gems.gsub!("gem 'refinerycms-testing'", "# gem 'refinerycms-testing'") # Disable testing

app_gemfile = @app_path.join('Gemfile')
FileUtils::cp app_gemfile, "#{app_gemfile}.backup"
refinery_user_defined_gems = refinery_gemfile_contents.match(/# USER DEFINED(.*)# END USER DEFINED/m)
refinery_user_defined_gems = refinery_user_defined_gems[1] unless refinery_user_defined_gems.nil?
app_gemfile.open('a') do |f|
Expand Down

0 comments on commit 8fe7b93

Please sign in to comment.