Sha256: 74c82aa0c94531a5d2b4026f7bfbf8d494d58fe41b209d347009cf001ab9fb1c

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

#!/usr/bin/env ruby

# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.

ENGINE_ROOT = File.expand_path('../..', __FILE__)
ENGINE_PATH = File.expand_path('../../lib/<%= gem_name %>/engine', __FILE__)

# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
require 'bundler/setup'

require 'rails/all'
require 'rails/engine/commands'

load Gem.bin_path("rails", "rails")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nugem-0.8.3 templates/rails/engine_scaffold/bin/rails.tt
nugem-0.8.1 templates/rails/engine_scaffold/bin/rails.tt