lib/generators/cadinsor/install/install_generator.rb
Method install
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def install
puts "I need rabl to work. Adding rabl to your gem file"
gsub_file "Gemfile", /gem "rabl.*$/, ""
append_to_file "Gemfile", "\ngem \"rabl\", \"~> 0.9\""
Bundler.with_clean_env do