class Rails::Generators::AppBase

def set_default_accessors! # :doc:

:doc:
def set_default_accessors! # :doc:
  self.destination_root = File.expand_path(app_path, destination_root)
  self.rails_template = \
    case options[:template]
    when /^https?:\/\//
      options[:template]
    when String
      File.expand_path(`echo #{options[:template]}`.strip)
    else
      options[:template]
    end
end