Use ruby2.3 in vagrant
This commit is contained in:
parent
d9b2ebfc36
commit
921c70616b
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
pushd /vagrant
|
pushd /vagrant
|
||||||
|
|
||||||
echo -e "\ninstalling required software packages...\n"
|
echo -e "\ninstalling required software packages...\n"
|
||||||
zypper -q -n install update-alternatives ruby2.4-devel make gcc gcc-c++ \
|
zypper -q -n install update-alternatives ruby2.3-devel make gcc gcc-c++ \
|
||||||
libxml2-devel libxslt-devel nodejs screen mariadb \
|
libxml2-devel libxslt-devel nodejs screen mariadb \
|
||||||
libmysqld-devel sqlite3-devel ImageMagick
|
libmysqld-devel sqlite3-devel ImageMagick
|
||||||
|
|
||||||
|
|
@ -10,7 +10,7 @@ echo -e "\ndisabling versioned gem binary names...\n"
|
||||||
echo 'install: --no-format-executable' >> /etc/gemrc
|
echo 'install: --no-format-executable' >> /etc/gemrc
|
||||||
|
|
||||||
echo -e "\ninstalling bundler...\n"
|
echo -e "\ninstalling bundler...\n"
|
||||||
gem.ruby2.4 install bundler
|
gem.ruby2.3 install bundler
|
||||||
|
|
||||||
echo -e "\ninstalling your bundle...\n"
|
echo -e "\ninstalling your bundle...\n"
|
||||||
su - vagrant -c "cd /vagrant/; bundle install --quiet"
|
su - vagrant -c "cd /vagrant/; bundle install --quiet"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue