Created
March 17, 2018 07:14
-
-
Save phumpal/6ebcee4e61e01b8fc4fb22aed3350e71 to your computer and use it in GitHub Desktop.
jruby-1.7.4, toadhopper-2.1, openjdk-6-jdk, precise64, openSSL (1.0.1 14 Mar 2012)
This file contains 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
vagrant box add http://files.vagrantup.com/precise64.box --name=precise64 | |
vagrant up | |
vagrant ssh | |
sudo apt-get install -y \ | |
build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev \ | |
git openjdk-6-jdk maven ant vim | |
# Ensure java is openjdk-6-jdk | |
update-alternatives --config java | |
# Checkout and compile JRuby | |
git clone https://github.com/jruby/jruby.git | |
cd jruby | |
git checkout 1.7.4 | |
ant | |
export PATH=$PATH:/root/jruby/bin | |
cd .. | |
git clone https://github.com/toolmantim/toadhopper.git | |
cd toadhopper | |
jgem install bundler --no-ri --no-rdoc | |
vim toadhopper.gemspec | |
# modify line 25 to s.add_development_dependency 'rake', '= 12.2.1' | |
bundle install | |
bundle exec rake test AIRBRAKE_API_KEY=abc123 AIRBRAKE_FULL_TEST=1 |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.network "public_network" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = 2048 | |
vb.cpus = 4 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment