Sha256: 8b7be4e3a8e04c980fdbbe13515a13c480b52915e83c5b244f9bcd47a7aa6cf3

Contents?: true

Size: 416 Bytes

Versions: 12

Compression:

Stored size: 416 Bytes

Contents

#! /usr/bin/env ruby

<% if settings.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

12 entries across 12 versions & 1 rubygems

Version Path
rubysmith-8.1.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-8.0.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.9.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.8.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.7.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.6.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.5.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.4.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.3.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.2.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.1.0 lib/rubysmith/templates/%project_name%/bin/setup.erb
rubysmith-7.0.0 lib/rubysmith/templates/%project_name%/bin/setup.erb