Sha256: 086a5fb7a9a7dd7cd47066b86395e2928bc1f4faa9fa1dd095b5afbb68614b5c
Contents?: true
Size: 648 Bytes
Versions: 39
Compression:
Stored size: 648 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' env = ENV['RUBBER_ENV'] ||= 'development' root = '.' require 'rubber' Rubber::initialize(root, env) if Rubber::Util::is_rails2? ARGV.insert(0, 'vulcanize') unless ARGV[0] == 'vulcanize' # Need for Rails 2 generator. require File.expand_path('../../lib/generators/vulcanize/vulcanize_generator', __FILE__) else begin gem 'railties' rescue LoadError puts "Missing the railties gem. Install with `sudo gem install railties --version=3.0.0.beta3`." exit(-1) end require File.expand_path('../../lib/generators/vulcanize/vulcanize_generator', __FILE__) VulcanizeGenerator.start end
Version data entries
39 entries across 39 versions & 5 rubygems