Sha256: 4fa93995d0bf930e54abebab094c795a8fb9e1b64d2633bfafa29d5dea89eac3

Contents?: true

Size: 755 Bytes

Versions: 3

Compression:

Stored size: 755 Bytes

Contents

#!/user/local/bin/ruby

begin
  require 'rails/ruby_version_check'
rescue LoadError
  # If people are not using gems, the load path must still
  # be correct.
  # TODO: Remove the begin / rescue block somehow
  $:.unshift File.expand_path('../../lib', __FILE__)
  $:.unshift File.expand_path('../../../activesupport/lib', __FILE__)
  $:.unshift File.expand_path('../../../actionpack/lib', __FILE__)
  require 'rails/ruby_version_check'
end

Signal.trap("INT") { puts; exit }

require 'rails/version'
if %w(--version -v).include? ARGV.first
  puts "Rails #{Rails::VERSION::STRING}"
  exit(0)
end

ARGV << "--help" if ARGV.empty?

require 'rails/generators'
require 'generators/nifty/scaffold/scaffold_generator'

Nifty::Generators::ScaffoldGenerator.start

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
very_nifty_generators-0.2.1 bin/nifty_scaffold
very_nifty_generators-0.2.0 bin/nifty_scaffold
very_nifty_generators-0.1.2 bin/nifty_scaffold