Skip to content

Instantly share code, notes, and snippets.

@ezmobius
Created June 1, 2011 08:02
Show Gist options
  • Save ezmobius/1001954 to your computer and use it in GitHub Desktop.
Save ezmobius/1001954 to your computer and use it in GitHub Desktop.
(master)⚡)% ls
Gemfile foo.rb
(master)⚡)% cat foo.rb
require 'sinatra'
require 'pp'
get '/' do
"<pre>#{ENV.pretty_inspect}</pre>"
end
(master)⚡)% vmc runtimes
+--------------+-------------------+---------+
| Name | Description | Version |
+--------------+-------------------+---------+
| java | Java 6 | 1.6 |
| erlangR14B02 | Erlang R14B02 | R14B02 |
| node | Node.js | 0.4.5 |
| ruby18 | Ruby 1.8.7 | 1.8.7 |
| ruby19 | Ruby 1.9.2 | 1.9.2 |
| rbx | Rubinius 1.2.4dev | 1.8.7 | <<<<<<<<< !!!!!!!!!!!!!!!!!!!!!!
+--------------+-------------------+---------+
(master)⚡)% vmc push rbx-sinatra -n --runtime rbx
"sinatra"
Creating Application: OK
Uploading Application:
Checking for available resources: OK
Packing application: OK
Uploading (1K): OK
Push Status: OK
Staging Application: OK
Starting Application: OK
(master)⚡)% vmc apps
+-------------+----+---------+-------------------------------+----------+
| Application | # | Health | URLS | Services |
+-------------+----+---------+-------------------------------+----------+
| rbx-sinatra | 1 | RUNNING | rbx-sinatra.gfgf.aws-brba.org | |
+-------------+----+---------+-------------------------------+----------+
And it works!!!
http://brainspl.at/rbx-cfoundry.png
@drnic
Copy link

drnic commented Jun 1, 2011

Shiny!

@grantmichaels
Copy link

Winning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment