Sha256: e523300b004f3e51639bd5f1f3daae86e248160c37e6892c474d4fe501a3ecd2
Contents?: true
Size: 647 Bytes
Versions: 38
Compression:
Stored size: 647 Bytes
Contents
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require "#{RAILS_ROOT}/config/environment" require 'rails_generator' require 'rails_generator/scripts/generate' class Rails::Generator::Base def self.use_application_sources! reset_sources sources << Rails::Generator::PathSource.new(:builtin, "#{RADIANT_ROOT}/lib/generators") plugins_path = File.expand_path(File.join(RAILS_ROOT, %w(vendor plugins))) sources << Rails::Generator::PathSource.new(:"plugins (vendor/plugins)", "#{plugins_path}/*/**/{,rails_}generators") end end Rails::Generator::Base.use_application_sources! require 'commands/generate'
Version data entries
38 entries across 38 versions & 5 rubygems