Skip to content

Commit

Permalink
ruby: update '.profile'
Browse files Browse the repository at this point in the history
  • Loading branch information
kwatch committed Nov 21, 2013
1 parent 0330bb7 commit 583d0e4
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .profile
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@

case :$PATH: in
*:$PWD/lib:*)
;;
*)
export PATH=$PATH:$PWD/lib
esac

if [ -n "$RUBYLIB" ]; then
export RUBYLIB=$RUBYLIB:$PWD/lib
else
export RUBYLIB=$PWD/lib
fi

export MIGR8_EDITOR='open -a Emacs'
export GEM_HOME=$PWD/local/gems

export MIGR8_COMMAND='psql -q -U user1 example1'
#export MIGR8_COMMAND='psql -U user1 example1'
#export MIGR8_COMMAND='sqlite3 example1.db'
#export MIGR8_COMMAND='mysql -s -u user1 example1'

export MIGR8_EDITOR='open -a Emacs'

0 comments on commit 583d0e4

Please sign in to comment.