Sha256: 4cbc9f14756ca701f76e0d64c16aa6057e0526cf8a1e23b845636d0569df8139

Contents?: true

Size: 354 Bytes

Versions: 8

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

install_template_path = File.expand_path("../../template.rb", __dir__).freeze
bin_path = ENV["BUNDLE_BIN"] || "./bin"

namespace :jt_tools do
  desc "Install jt-tools in this application"
  task install: :environment do
    exec "#{RbConfig.ruby} #{bin_path}/rails app:template LOCATION=#{install_template_path}"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jt_tools-0.0.14 lib/tasks/install.rake
jt_tools-0.0.13 lib/tasks/install.rake
jt_tools-0.0.12 lib/tasks/install.rake
jt_tools-0.0.11 lib/tasks/install.rake
jt_tools-0.0.10 lib/tasks/install.rake
jt_tools-0.0.9 lib/tasks/install.rake
jt_tools-0.0.8 lib/tasks/install.rake
jt_tools-0.0.7 lib/tasks/install.rake