diff options
Diffstat (limited to 'vagrant/bootstrap.sh')
-rw-r--r-- | vagrant/bootstrap.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh new file mode 100644 index 0000000..14c42f3 --- /dev/null +++ b/vagrant/bootstrap.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +pacman -Suyq --noconfirm +pacman -Sq ruby gcc make sqlite3 nodejs --noconfirm +echo "export GEM_HOME=`gem env gemdir`" > /etc/profile.d/rubygems.sh +source /etc/profile.d/rubygems.sh +gem install bundler --no-rdoc --no-ri --no-user-install +cd /vagrant +./script/setup +cp vagrant/rails.service /usr/lib/systemd/system +systemctl enable rails +systemctl start rails |