Permalink
Browse files

Better path handling

  • Loading branch information...
1 parent e320769 commit 1ac34c85922d7d555b6d9574432f9fc5a4bea7cc @ivanvanderbyl committed Oct 14, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 profile/dot.profile.erb
@@ -23,19 +23,19 @@ fi
function console {
export RAILS_ENV=production
- cd ~/<%= current_path %>/current && bundle exec rails c
+ cd <%= current_path %>/current && bundle exec rails c
}
function tail_logs {
- tail -f -n 100 ~/<%= current_path %>/shared/log/*.log
+ tail -f -n 100 <%= current_path %>/shared/log/*.log
}
function tail_production_log {
- tail -f -n 100 ~/<%= current_path %>/shared/log/production.log
+ tail -f -n 100 <%= current_path %>/shared/log/production.log
}
function unicorn_start {
- local RAILS_ROOT=~/<%= current_path %>
+ local RAILS_ROOT=<%= current_path %>
export RAILS_ENV=production
cd $RAILS_ROOT/current && \

0 comments on commit 1ac34c8

Please sign in to comment.