Sha256: 9ff8b6cb7f6751ebc3d990fd8d59a15d9256aad824203a5f14f61337bba44b01

Contents?: true

Size: 740 Bytes

Versions: 3

Compression:

Stored size: 740 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

require 'rails/generators'
require 'generators/nifty/authentication/authentication_generator'

Nifty::Generators::AuthenticationGenerator.start

Version data entries

3 entries across 3 versions & 1 rubygems

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