The script initial_setup.sh has an issue at line 27 :
/use/bin/gem
It should be /usr/bin/gem
Also somme commands requires sudo, some not. It may be more safe to use sudo for each command requiring it instead of asking for sudo the whole script (especially as bundler do not want to be executed as root).
Also, highline seems to not be available in the required 1.7.0 version (you may want to update it to 1.7.1).
The script initial_setup.sh has an issue at line 27 : /use/bin/gem It should be /usr/bin/gem
Also somme commands requires sudo, some not. It may be more safe to use sudo for each command requiring it instead of asking for sudo the whole script (especially as bundler do not want to be executed as root).
Also, highline seems to not be available in the required 1.7.0 version (you may want to update it to 1.7.1).