Sha256: fda880f227bd26deb78b2938685042e2bd1f5c0d76d2d5e285dc3f326508939d
Contents?: true
Size: 627 Bytes
Versions: 6
Compression:
Stored size: 627 Bytes
Contents
#!/usr/bin/env ruby #This file is adapted from the rails command. min_release = "1.8.2 (2004-12-25)" ruby_release = "#{RUBY_VERSION} (#{RUBY_RELEASE_DATE})" if ruby_release < min_release abort <<-end_message Shattered requires Ruby version #{min_release} or later. You're running #{ruby_release}; please upgrade to continue. end_message end Signal.trap("INT") { puts; exit } require File.dirname(__FILE__) + '/../lib/rails_generator' require 'rails_generator/scripts/generate' Rails::Generator::Base.use_application_sources! Rails::Generator::Scripts::Generate.new.run(ARGV, :generator => 'shattered_app')
Version data entries
6 entries across 6 versions & 2 rubygems
Version | Path |
---|---|
shattered-0.3.3 | bin/shatter |
shattered-0.4 | bin/shatter |
shattered-0.4.0.1 | bin/shatter |
shattered-0.5.0.1 | bin/shatter |
shattered_ruby-0.5.1 | bin/shatter |
shattered_ruby-0.5.0.2 | bin/shatter |