Sha256: 3ec4e3b6bf680b8d8d72504c7cda773bff21f862695e92ffcd26864bec3769e1

Contents?: true

Size: 421 Bytes

Versions: 4

Compression:

Stored size: 421 Bytes

Contents

#! /usr/bin/env ruby

<% if configuration.build_debug %>
require "debug"
<% end %>
require "fileutils"
require "pathname"

APP_ROOT = Pathname(__dir__).join("..").expand_path

Runner = lambda do |*arguments, kernel: Kernel|
  kernel.system(*arguments) || kernel.abort("\nERROR: Command #{arguments.inspect} failed.")
end

FileUtils.chdir APP_ROOT do
  puts "Installing dependencies..."
  Runner.call "bundle install"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubysmith-6.10.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-6.9.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-6.6.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-6.5.0 lib/rubysmith/templates/%project_name%/bin/setup.erb