Sha256: c6eb1a58b2c20010b5fc29237af43d56c023633ecca4bb540e73953ee0d677be

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 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'
require 'rails/generators'
require 'generators/rspec/scaffold/scaffold_generator'

RSpec::Generators::ScaffoldGenerator.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec_rails3_gen-0.2.0 bin/rspec_scaffold