Update Ruby to 2.2
Force development environment to use ruby 2.2 in preparation for the update to Rails 5
This commit is contained in:
parent
1c38b091cc
commit
ed1f219b81
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 ruby-devel make gcc gcc-c++ \
|
zypper -q -n install update-alternatives ruby2.2-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 install bundler
|
gem.ruby2.2 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