Sha256: e6fa21b7a095926fe47e310e7e4c3a1178d948f81682f7c7aec6b336032c3344

Contents?: true

Size: 497 Bytes

Versions: 8

Compression:

Stored size: 497 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/<%= file_name %>/engine', __FILE__)

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
component_generator-0.1.4 lib/generators/component_generator/templates/engine_template/bin/rails.tt
component_generator-0.1.3 lib/generators/component_generator/templates/engine_template/bin/rails.tt
component_generator-0.1.2 lib/generators/component_generator/templates/engine_template/bin/rails.tt
component_generator-0.1.1 lib/generators/component_generator/templates/engine_template/bin/rails.tt
component_generator-0.1.0 lib/generators/component_generator/templates/engine_template/bin/rails.tt
component_generator-0.0.3 lib/generators/component_generator/templates/engine_template/bin/rails.tt
component_generator-0.0.2 lib/generators/component_generator/templates/engine_template/bin/rails.tt
component_generator-0.0.1 lib/generators/component/templates/engine_template/bin/rails.tt