Sha256: de53977718167fbe8febd17fbfd64eec676305fbf843f819891a1bae720dd18d

Contents?: true

Size: 355 Bytes

Versions: 8

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Skeletons
    # Configures Bundler support.
    class BundlerSkeleton < BaseSkeleton
      def create
        Dir.chdir(File.join(cli.destination_root, configuration.gem_name)) do
          cli.info "Installing gem dependencies..."
          `bundle install`
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gemsmith-7.7.0 lib/gemsmith/skeletons/bundler_skeleton.rb
gemsmith-7.6.0 lib/gemsmith/skeletons/bundler_skeleton.rb
gemsmith-7.5.0 lib/gemsmith/skeletons/bundler_skeleton.rb
gemsmith-7.4.0 lib/gemsmith/skeletons/bundler_skeleton.rb
gemsmith-7.3.0 lib/gemsmith/skeletons/bundler_skeleton.rb
gemsmith-7.2.0 lib/gemsmith/skeletons/bundler_skeleton.rb
gemsmith-7.1.0 lib/gemsmith/skeletons/bundler_skeleton.rb
gemsmith-7.0.0 lib/gemsmith/skeletons/bundler_skeleton.rb