Class: Boring::Faker::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/boring/faker/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#add_faker_gemObject

[View source]

9
10
11
12
13
14
# File 'lib/generators/boring/faker/install/install_generator.rb', line 9

def add_faker_gem
  log :adding, "faker"
  Bundler.with_unbundled_env do
    run "bundle add faker --group='development,test'"
  end
end