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
[1] % curl -O "https://github.com/Neopallium/nixio/raw/master/nixio-scm-0.rockspec" | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
104 1046 104 1046 0 0 1111 0 --:--:-- --:--:-- --:--:-- 2767 | |
% sudo luarocks install nixio-scm-0.rockspec | |
Initialized empty Git repository in /private/tmp/luarocks_nixio-scm-0-632/nixio/.git/ | |
remote: Counting objects: 333, done. | |
remote: Compressing objects: 100% (284/284), done. | |
remote: Total 333 (delta 43), reused 291 (delta 29) | |
Receiving objects: 100% (333/333), 1.30 MiB | 323 KiB/s, done. |
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
module('NATS', package.seeall) | |
require('list') | |
require ("datadumper") | |
NATS = {} | |
NATS.client = require('socket').tcp() | |
NATS.url = require('socket.url') | |
NATS.pending = {} |
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
rbx-head > require 'do_sqlite3' | |
LoadError::InvalidExtensionError: Unable to load - /Users/ez/.rvm/gems/rbx-head/gems/do_sqlite3-0.10.2/lib/do_sqlite3/do_sqlite3.bundle | |
from Rubinius::NativeMethod.load_extension at kernel/common/native_method.rb:25 | |
from Rubinius::CodeLoader#load_library at kernel/delta/codeloader.rb:158 | |
from Rubinius::CodeLoader#require at kernel/common/codeloader.rb:41 | |
from Rubinius::CodeLoader.require at kernel/common/codeloader.rb:140 | |
from Kernel(Object)#gem_original_require (require) at kernel/common/kernel.rb:729 | |
from Kernel(Object)#require at /Users/ez/.rvm/rubies/rbx-head/lib/rubygems/custom_require.rb:31 | |
from main.__script__ at /Users/ez/.rvm/gems/rbx-head/gems/do_sqlite3-0.10.2/lib/do_sqlite3.rb:22 | |
from Rubinius::CodeLoader.require at kernel/common/codeloader.rb:145 |
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)⚡)% git diff | |
diff --git a/kernel/common/regexp.rb b/kernel/common/regexp.rb | |
index 38afd8a..0ee3544 100644 | |
--- a/kernel/common/regexp.rb | |
+++ b/kernel/common/regexp.rb | |
@@ -620,6 +620,10 @@ class MatchData | |
return out | |
end | |
+ |
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
% rvm list ~ | |
rvm rubies | |
jruby-1.5.5 [ x86_64-java ] | |
macruby-0.7.1 [ x86_64 ] | |
maglev-24566 [ x86_64 ] | |
rbx-head [ x86_64 ] | |
ree-1.8.7-2010.02 [ x86_64 ] | |
=> ruby-1.8.7-p302 [ x86_64 ] |
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
Platform as a Service - the good, the bad and the ugly | |
VMware will be hosting a technology meetup on Thursday night 11/11, at | |
the Newberry room, Hilton New Orleans Riverside, 6pm-8pm local time. | |
Join us for an open discussion where Engine Yard, Heroku and VMware | |
will share their experience of building a scalable PaaS solution. | |
What to expect? no slides, lots of beer and exciting debates. |
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)⚡ % vmc services | |
========== System Services ========== | |
Service Ver Description | |
------- --- ----------- | |
rabbitmq 2.1.1 RabbitMQ service | |
mysql 5.1 MySQL database service | |
redis 2 Redis key-value store service |
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) % vmc apps | |
No applications available. | |
(master) % ls | |
foo.rb | |
(master) % cat foo.rb | |
require 'rubygems' | |
require 'sinatra' | |
get '/' do | |
host = ENV['VMC_APP_HOST'] |
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 ~/projects/B29-TestApps/node_chat | |
LICENSE-MIT app.js fu.js jquery-1.4.2.min.js | |
README client.js index.html style.css | |
(master) % vmc apps ~/projects/B29-TestApps/node_chat | |
No applications available. | |
(master) % vmc push nodechat ~/projects/B29-TestApps/node_chat | |
Would you like to deploy from the current directory? [Yn]: | |
Application Deployed URL: 'nodechat.vcloudlabs.com'? | |
Node.js application detected. | |
Memory Reservation [Default:64M] (64M, 128M, 256M or 512M) 64M |
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
Come see my teammate Derek Collison talk about the PaaS we've been building at VMware | |
http://www.rubyconf.org/presentations/8 | |
⚡ $ vmc -h | |
version # version | |
help, -h # show usage |