Method: Cms::Commands::Actions#comment_out_rails_in_gemfile

Defined in:
lib/cms/commands/actions.rb

#comment_out_rails_in_gemfileObject



50
51
52
53
# File 'lib/cms/commands/actions.rb', line 50

def comment_out_rails_in_gemfile
  gsub_file "Gemfile", RAILS_GEMFILE_PATTERN, "# gem 'rails',", :verbose => false
  say_status :rails, "Commenting out Rails dependency."
end