Skip to content

Commit

Permalink
Remove bundle exec from docker commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Neal Chambers authored and macanudo527 committed Nov 7, 2024
1 parent 24aca5a commit 2d193a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/cop
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
echo '-------------------------------------------------'
echo 'BEGIN: docker compose run web bundle exec rubocop'
echo '-------------------------------------------------'
docker compose run web bundle exec rubocop
docker compose run web rubocop
echo '-----------------------------------------------'
echo 'END: docker compose run web bundle exec rubocop'
echo '-----------------------------------------------'
6 changes: 3 additions & 3 deletions docker/seed
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@
echo '-------------------------------------------------------'
echo 'BEGIN: docker compose run web bundle exec rake db:reset'
echo '-------------------------------------------------------'
docker compose run web bundle exec rake db:reset
docker compose run web rake db:reset
echo '-----------------------------------------------------'
echo 'END: docker compose run web bundle exec rake db:reset'
echo '-----------------------------------------------------'

echo '--------------------------------------------------------------'
echo 'BEGIN: docker compose run web bundle exec rake db:test:prepare'
echo '--------------------------------------------------------------'
docker compose run web bundle exec rake db:test:prepare
docker compose run web rake db:test:prepare
echo '------------------------------------------------------------'
echo 'END: docker compose run web bundle exec rake db:test:prepare'
echo '------------------------------------------------------------'

echo '--------------------------------------------------------------'
echo 'BEGIN: docker compose run web bundle exec rake ofn:sample_data'
echo '--------------------------------------------------------------'
docker compose run web bundle exec rake ofn:sample_data
docker compose run web rake ofn:sample_data
echo '------------------------------------------------------------'
echo 'END: docker compose run web bundle exec rake ofn:sample_data'
echo '------------------------------------------------------------'
4 changes: 2 additions & 2 deletions docker/test
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ DATE=`date +%Y%m%d-%H%M%S-%3N`
echo '--------------------------------------------------------------'
echo 'BEGIN: docker compose run web bundle exec rake db:test:prepare'
echo '--------------------------------------------------------------'
docker compose run web bundle exec rake db:test:prepare 2>&1 | tee log/test-prepare-$DATE.log
docker compose run web rake db:test:prepare 2>&1 | tee log/test-prepare-$DATE.log
echo '------------------------------------------------------------'
echo 'END: docker compose run web bundle exec rake db:test:prepare'
echo '------------------------------------------------------------'

echo '----------------------------------------------------'
echo 'BEGIN: docker compose run web bundle exec rspec spec'
echo '----------------------------------------------------'
docker compose run web bundle exec rspec --no-color spec 2>&1 | tee log/test-rspec-$DATE.log
docker compose run web rspec --no-color spec 2>&1 | tee log/test-rspec-$DATE.log
echo '--------------------------------------------------'
echo 'END: docker compose run web bundle exec rspec spec'
echo '--------------------------------------------------'

0 comments on commit 2d193a6

Please sign in to comment.