Sha256: 684fbdcffc2caf2e88ec21c965637ffbdbb2ce64a112b2378208c13ca263acc6

Contents?: true

Size: 819 Bytes

Versions: 3

Compression:

Stored size: 819 Bytes

Contents

= vegas

http://code.quirkey.com/vegas

== DESCRIPTION:

Vegas aims to solve the simple problem of creating executable versions of Sinatra/Rack apps.

== FEATURES/PROBLEMS:

Currently, Vegas just includes a single class Vegas::Runner which wraps your Sinatra app to give it command line options, daemonization, PID/URL tracking, and browser launching (using Launchy).

Lets say you have a gem with a sinatra application. With Vegas you can create a bin that looks like
  
  #!/usr/bin/env ruby
  # ./bin/myapp
  
  require File.expand_path(File.dirname(__FILE__) + "/../lib/myapp")
  require 'vegas'
  
  Vegas::Runner.new(Sinatra::Application, 'myapp')
  

See the website: http://code.quirkey.com/vegas for full usage/options.

== INSTALL:

  sudo gem install vegas

== LICENSE:

MIT LICENSE, see /LICENSE for details

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
quirkey-vegas-0.0.1 README.rdoc
quirkey-vegas-0.0.2 README.rdoc
vegas-0.0.1 README.rdoc