Sha256: 7d7d2cc7478121d183605e443ff8a641ff364cb22d0a3d60c3f811fc8e65d132

Contents?: true

Size: 356 Bytes

Versions: 7

Compression:

Stored size: 356 Bytes

Contents

#!/usr/bin/env ruby

Dir.chdir(File.dirname(__FILE__)+'/..')

# Start the app with Padrino::Server
require 'rubygems'
require 'bundler/setup'
require 'padrino-core/cli/launcher'

ARGV.unshift('start') if ARGV.first.nil? || ARGV.first.start_with?('-')
Padrino::Cli::Launcher.start ARGV

# Start the app with Rack::Server
#require "rack"
#Rack::Server.start

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
padrino-gen-0.12.8.1 lib/padrino-gen/generators/templates/project_bin.tt
padrino-gen-0.12.8 lib/padrino-gen/generators/templates/project_bin.tt
padrino-gen-0.12.7 lib/padrino-gen/generators/templates/project_bin.tt
padrino-gen-0.12.6 lib/padrino-gen/generators/templates/project_bin.tt
padrino-gen-0.12.5 lib/padrino-gen/generators/templates/project_bin.tt
padrino-gen-0.12.4 lib/padrino-gen/generators/templates/project_bin.tt
padrino-gen-0.12.3 lib/padrino-gen/generators/templates/project_bin.tt