Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better path handling

  • Loading branch information...
commit 1ac34c85922d7d555b6d9574432f9fc5a4bea7cc 1 parent e320769
@ivanvanderbyl authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 profile/dot.profile.erb
View
8 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 && \
Please sign in to comment.
Something went wrong with that request. Please try again.