#!/bin/bash

# Server-specific, I have RVM setup at the profile file:
source /etc/profile

git fetch && git reset origin/master --hard
rvm 1.9.2-head,1.8.7 exec bundle install --local && rspec spec

#!/bin/sh

# Server-specific, I have RVM setup at the profile file:
source /etc/profile

rvm 1.9.2-head,1.8.7 exec bundle install && rspec spec

--- 
+++ 
@@ -1,7 +1,6 @@
-#!/bin/bash
+#!/bin/sh
 
 # Server-specific, I have RVM setup at the profile file:
 source /etc/profile
 
-git fetch && git reset origin/master --hard
-rvm 1.9.2-head,1.8.7 exec bundle install --local && rspec spec
+rvm 1.9.2-head,1.8.7 exec bundle install && rspec spec
Use Bash, otherwise RVM will complain, install only local gems and pull the changes manually.
