From 8fe4e81179bbc69c2dd7b9639b1fdb6abf873b4b Mon Sep 17 00:00:00 2001 From: Lars Smit Date: Sat, 15 Jun 2013 09:57:25 +0200 Subject: [PATCH] Fixed notification when Gemfile.lock not exists Related to #3205 --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 48bf1a2f02e..41fbb3fd94c 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,9 @@ alias set_gemfile='export BUNDLE_GEMFILE="`pwd`/Gemfile"' - rm Gemfile.lock + if [ -e "Gemfile.lock" ] + then + echo "Removing Gemfile.lock..." + rm Gemfile.lock + fi bundle check || bundle install bundle exec rake test_app cd api; set_gemfile; rm Gemfile.lock; bundle install; bundle exec rspec spec