class Rails::Generators::AppBase
def set_default_accessors! # :doc:
def set_default_accessors! # :doc: self.destination_root = File.expand_path(app_path, destination_root) if options[:template].is_a?(String) && !options[:template].match?(/^https?:\/\//) interpolated = options[:template].gsub(/\$(\w+)|\$\{\g<1>\}|%\g<1>%/) { |m| ENV[$1] || m } self.rails_template = File.expand_path(interpolated) else self.rails_template = options[:template] end end