Sha256: c76b4c66129b3ab57ee310b1f4b34c42f780e1f98f7871b10517d0a14f324c29

Contents?: true

Size: 1.25 KB

Versions: 55

Compression:

Stored size: 1.25 KB

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, daemon-ization, PID/URL tracking, and browser launching.

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.

=== WINDOWS:

Using vegas (and gems that depend on it) on Windows works but isn't 100% the same. 
Daemon-ization and browser launching work, but you will see duplicate messages. 
Some options might also be lost in the process. I suggest running Vegas apps
in windows with the -F (foreground) flag.

If you see a warning like:

  `expand_path': couldn't find HOME environment -- expanding `~/.vegas' (ArgumentError)

You have to set your HOME path:

  c:\> set HOME=%HOMEPATH%

== INSTALL:

  sudo gem install vegas

== LICENSE:

MIT LICENSE, see LICENSE for details

Version data entries

55 entries across 55 versions & 6 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/vegas-0.1.11/README.rdoc
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/vegas-0.1.11/README.rdoc
classiccms-0.7.5 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.7.4 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.7.3 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.7.2 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.7.1 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.7.0 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.9 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.8 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.7 vendor/bundle/gems/vegas-0.1.11/README.rdoc
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.6 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.5 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.4 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.3 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.2 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.1 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.6.0 vendor/bundle/gems/vegas-0.1.11/README.rdoc
classiccms-0.5.17 vendor/bundle/gems/vegas-0.1.11/README.rdoc