#!/bin/sh -x

#Install Janus for the 'vagrant' user (cd to vagrant's homedir first so we're in the right spot for the script to run)
echo "Installing Vim Janus for the 'vagrant' user..."
su - vagrant -c 'cd /home/vagrant; curl -Lo- https://bit.ly/janus-bootstrap | bash'

#Install Janus for the 'root' user (cd to root's homedir first so we're in the right spot for the script to run)
echo "Installing Vim Janus for the 'root' user..."
su - root -c 'cd /root; curl -Lo- https://bit.ly/janus-bootstrap | bash'

#Remove the janus git repo history to save sapce. We want the current checkout of the files but not the whole repo history
echo "Removing git repo histories for Janus to save space..."
rm -rf /home/vagrant/.vim/.git
rm -rf /root/.vim/.git
#!/bin/sh -x

yum -y install ruby gems
gem install rake

#Install Janus for the 'vagrant' user (cd to vagrant's homedir first so we're in the right spot for the script to run)
echo "Installing Vim Janus for the 'vagrant' user..."
su - vagrant -c 'cd /home/vagrant; curl -Lo- https://bit.ly/janus-bootstrap | bash'

#Install Janus for the 'root' user (cd to root's homedir first so we're in the right spot for the script to run)
echo "Installing Vim Janus for the 'root' user..."
su - root -c 'cd /root; curl -Lo- https://bit.ly/janus-bootstrap | bash'

#Remove the janus git repo history to save sapce. We want the current checkout of the files but not the whole repo history
echo "Removing git repo histories for Janus to save space..."
rm -rf /home/vagrant/.vim/.git
rm -rf /root/.vim/.git
Install Ruby and rake so that Vim Janus can be installed.
Install Ruby and rake so that Vim Janus can be installed.
