Bash script to run rspec test correctly for a given environment