#!/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