Sha256: 4795011b830f2a0ef1940330d5d46004770cab606d2d89a0fe5a32922b15bc81

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

require File.expand_path(File.join('..', '..', '..', 'lib', 'pah', 'version.rb'), File.dirname(__FILE__))

module Pah
  class Commands
    class App

      def run(argv)
        template_rb = File.expand_path(File.join('..', '..', '..', 'lib', 'pah', 'rails_template.rb'), File.dirname(__FILE__))
        exec "rails _#{::Pah::RAILS_VERSION}_ new #{argv[0]} -T -m #{template_rb}"
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pah-0.0.20 lib/pah/commands/app.rb
pah-0.0.19 lib/pah/commands/app.rb