Browse files

Use bundle execs for rails commands.

  • Loading branch information...
1 parent b6671d8 commit 527ffff4be85de3f5ed34cc61f46794d2013d208 @ajh committed Jan 10, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 configs/bash/dot_bash/alias
  2. +1 −1 configs/bash/dot_bash/doxo_alias
View
2 configs/bash/dot_bash/alias
@@ -13,5 +13,5 @@ alias upst="echo '+ svn up' && svn up && echo '+ svn st' && svn st"
# rails
alias rails-grep="svn-grep --exclude-dir='public/system' --exclude-dir='tmp' --exclude='tags' --exclude='*.log'"
-alias rails-rebuild="echo 'rake db:reset db:fixtures:load FIXTURES_PATH=spec/fixtures log:clear && rm -rf public/system/* && rake db:test:prepare' | sh -x"
+alias rails-rebuild="echo 'bundle exec rake db:reset db:fixtures:load FIXTURES_PATH=spec/fixtures log:clear && rm -rf public/system/* && bundle exec rake db:test:prepare' | sh -x"
alias rails-restart="touch tmp/restart.txt"
View
2 configs/bash/dot_bash/doxo_alias
@@ -8,5 +8,5 @@ alias saba="cd -P ~/devel/saba"
alias snowbell="cd -P ~/devel/snowbell"
# aspen
-alias aspen-rebuild="rails-rebuild && echo 'rake ts:rebuild bin:apply_sample_documents bin:apply_sample_logos_to_providers' | sh -x"
+alias aspen-rebuild="rails-rebuild && echo 'bundle exec rake ts:rebuild bin:apply_sample_documents bin:apply_sample_logos_to_providers' | sh -x"
alias aspen-restart="rails-restart"

0 comments on commit 527ffff

Please sign in to comment.