Sha256: 37be5735df9eb12b3d8b8a750dda23051ed8ee0a225ff724ab0f6a2958546232

Contents?: true

Size: 387 Bytes

Versions: 6

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

require "refinements/pathnames"

module Gemsmith
  module Generators
    # Generates Bundler support.
    class Bundler < Base
      using Refinements::Pathnames

      def run
        gem_root.change_dir do
          cli.say_status :info, "Installing gem dependencies...", :green
          cli.run "bundle install"
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gemsmith-15.5.0 lib/gemsmith/generators/bundler.rb
gemsmith-15.4.0 lib/gemsmith/generators/bundler.rb
gemsmith-15.3.0 lib/gemsmith/generators/bundler.rb
gemsmith-15.2.0 lib/gemsmith/generators/bundler.rb
gemsmith-15.1.1 lib/gemsmith/generators/bundler.rb
gemsmith-15.1.0 lib/gemsmith/generators/bundler.rb