Sha256: 48a6101c0238617f0902ad4cecaa93acff993fda9ef630b54e339f8ec2c8bb44
Contents?: true
Size: 745 Bytes
Versions: 4
Compression:
Stored size: 745 Bytes
Contents
module HappySeed module Generators class JazzHandsGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def install_jazz_hands gem 'jazz_hands', :github => 'nixme/jazz_hands', :branch => 'bring-your-own-debugger', :groups => [:development, :test] ruby_major_version = RUBY_VERSION.split('.')[0] if ruby_major_version == '1' gem 'debugger', :groups => [:development, :test] else gem 'byebug', :groups => [:development, :test] end inside 'config/initializers' do copy_file 'jazz_hands.rb' end Bundler.with_clean_env do run "bundle install" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems