Sha256: 6a57b88933127d083164b9aad26a5e1ce4d52d933fabdb146739ad5417f33dc9

Contents?: true

Size: 570 Bytes

Versions: 1

Compression:

Stored size: 570 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__)
end

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

require 'rails/generators'
require 'generators/rspec/controller/controller_generator'

RSpec::Generators::ControllerGenerator.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec_rails3_gen-0.2.0 bin/rspec_controller