Skip to content

Commit

Permalink
Fixed notification when Gemfile.lock not exists
Browse files Browse the repository at this point in the history
Related to spree#3205
  • Loading branch information
larssmit authored and radar committed Jun 18, 2013
1 parent e75cfc2 commit 8fe4e81
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 8fe4e81

Please sign in to comment.