Skip to content
Browse files

Environment to build rbx for the dyno

  • Loading branch information...
1 parent fa25eef commit a9596c7691653a23f03096a2810b40c567d54395 @lstoll committed Jun 28, 2011
Showing with 20 additions and 0 deletions.
  1. +8 −0 Vagrantfile
  2. +12 −0 provision.sh
View
8 Vagrantfile
@@ -0,0 +1,8 @@
+Vagrant::Config.run do |config|
+ config.vm.box = "lucid64"
+ config.vm.box_url = "http://files.vagrantup.com/lucid64.box"
+ # Foreman default.
+ config.vm.forward_port("http", 5000, 5000)
+ config.vm.share_folder("app", "/app", ".")
+ config.vm.provision :shell, :path => "provision.sh"
+end
View
12 provision.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+# Pre-reqs
+apt-get -y install git-core build-essential ruby rake ruby-dev
+# Remove sw
+rm -r /app/sw
+# Clone RBX
+cd /tmp
+git clone https://github.com/rubinius/rubinius.git
+cd rubinius
+git checkout 2.0.0pre
+./configure --prefix=/app/sw
+rake install

0 comments on commit a9596c7

Please sign in to comment.
Something went wrong with that request. Please try again.