Vagrant setup for Seajure hack nights.
As an attempt to get a reasonable development environment quickly for Seajure hacknights, I setup a shareable virtualbox via Vagrant. Let’s all play along!
- Install VirtualBox 4.x
- Install VirtualBox Extension Pack
gem install vagrant# install rubygems first if necessary
vagrant up# inside the directory containing this readme
Once Vagrant provisions your VM, use
vagrant ssh to log in. Your
VM will have a Jark swank session running, so you can immediately
start Emacs and do
M-x slime-connect to port 4005. You can start
a new project with
lein new myproject or pull down an existing
project to hack on via git.
A standard Ubuntu 10.04 install (YMMV for other distros/versions) doesn’t have the appropriate ruby setup and needs
apt-get-ing to install vagrant. Assuming only that VirtualBox is installed, the following additional
steps need to be performed before you can run
gem install vagrant:
sudo apt-get install rubygems1.8 ruby-dev libopenssl-ruby
- Next do a
sudo gem install rubygems-updateand
sudo /var/lib/gems/1.8/bin/update_rubygemsto get the latest rubygems
At this point you should be able to do a
gem install vagrant