Created
June 1, 2011 08:02
-
-
Save ezmobius/1001954 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 | |
Shiny!
Winning.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice!