Skip to content

Commit

Permalink
Add console command.
Browse files Browse the repository at this point in the history
  • Loading branch information
jugyo committed Apr 4, 2009
1 parent 7f5e341 commit c0439b2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions console
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

env=development
if [ $# -eq 1 ]; then
env=$1
fi
export RACK_ENV=$env
echo "RACK_ENV => $RACK_ENV"
irb -r app.rb

0 comments on commit c0439b2

Please sign in to comment.