Sha256: e0aa1d8b7651cac0d744393789a0265f74720160815643dcd8d980dd2f5e0419

Contents?: true

Size: 715 Bytes

Versions: 4

Compression:

Stored size: 715 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]
        gem 'jazz_hands', :github => 'danrabinowitz/jazz_hands', :branch => 'use-newer-version-of-pry', :groups => [:development, :test]

        ruby_major_version = RUBY_VERSION.split('.')[0]

        inside 'config/initializers' do
          copy_file 'jazz_hands.rb'
        end

        Bundler.with_clean_env do
          run "bundle install > /dev/null"
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
happy_seed-0.0.15 lib/generators/happy_seed/jazz_hands/jazz_hands_generator.rb
happy_seed-0.0.14 lib/generators/happy_seed/jazz_hands/jazz_hands_generator.rb
happy_seed-0.0.13 lib/generators/happy_seed/jazz_hands/jazz_hands_generator.rb
happy_seed-0.0.12 lib/generators/happy_seed/jazz_hands/jazz_hands_generator.rb