For example:
language: ruby
rvm:
- 2.2.0
install:
- touch ~/.gem/credentials
- chmod 0600 ~/.gem/credentials
- echo ":my_key: $MY_KEY" >> ~/.gem/credentials
the third statement is considered invalid and parsed as {:"echo ":$my_key"=>"$MY_KEY" >> ~/.gem/credentials"} when run on a build. If the statement is run on debug mode it runs correctly without interpreting the string as a hash, as expected.
