mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Use the latest ruby in vagrant boxes
This commit is contained in:
parent
d7c013d88e
commit
82492e5cf8
3 changed files with 15 additions and 4 deletions
1
Rakefile
1
Rakefile
|
@ -63,6 +63,7 @@ namespace :build do
|
|||
sh "vagrant ssh -c 'cd ~/libv8 && bundle install --path vendor/bundle'"
|
||||
sh "vagrant ssh -c 'cd ~/libv8 && bundle exec rake binary'"
|
||||
sh "vagrant ssh -c 'cp ~/libv8/pkg/*.gem /vagrant'"
|
||||
sh "vagrant destroy"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
9
release/x86-linux/Vagrantfile
vendored
9
release/x86-linux/Vagrantfile
vendored
|
@ -73,7 +73,12 @@ Vagrant.configure(2) do |config|
|
|||
# documentation for more information about their specific syntax and use.
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential git python ruby ruby-dev
|
||||
gem install bundler
|
||||
sudo apt-get install -y software-properties-common
|
||||
sudo apt-add-repository ppa:brightbox/ruby-ng
|
||||
sudo apt-get update
|
||||
sudo apt-get dist-upgrade -y
|
||||
sudo apt-get install -y build-essential git ruby-switch ruby2.3 ruby2.3-dev
|
||||
sudo ruby-switch --set ruby2.3
|
||||
sudo gem install bundler
|
||||
SHELL
|
||||
end
|
||||
|
|
9
release/x86_64-linux/Vagrantfile
vendored
9
release/x86_64-linux/Vagrantfile
vendored
|
@ -73,7 +73,12 @@ Vagrant.configure(2) do |config|
|
|||
# documentation for more information about their specific syntax and use.
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential git python ruby ruby-dev
|
||||
gem install bundler
|
||||
sudo apt-get install -y software-properties-common
|
||||
sudo apt-add-repository ppa:brightbox/ruby-ng
|
||||
sudo apt-get update
|
||||
sudo apt-get dist-upgrade -y
|
||||
sudo apt-get install -y build-essential git ruby-switch ruby2.3 ruby2.3-dev
|
||||
sudo ruby-switch --set ruby2.3
|
||||
sudo gem install bundler
|
||||
SHELL
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue