srushti / goldberg

Goldberg is a lightweight CI server written in Ruby which worries about Bundler & RVM so that you don't have to.
Other
243 stars 29 forks source link

Fixing rvm spec failure #98

Closed suryagaddipati closed 13 years ago

suryagaddipati commented 13 years ago

1) RVM not installed? generates a nil 'rvm use' script Failure/Error: RVM.use_script('ruby', 'a_gemset').should be_nil expected: nil got: "source /usr/local/rvm/scripts/rvm && rvm use --create ruby@a_gemset"

Was failing on my machine because the class seemed have found the file /usr/local/rvm/scripts/rvm so stubbing out for non-existence in spec.

srushti commented 13 years ago

Good catch. I've merged it in.