I’ve been upgrading some apps and gems to the latest and greatest Rails 3. I’ve taken the time to update my ~/.bash_aliases and ~/.irbrc files to be both Rails 3 and Rails 2.x compatible. See below for the code. ~/.bash_aliases # rails 3 shortcut 'r' alias r='rails' # launching console/server sc () { if [ -f ./script/rails ]; then rails c $@ else ./script/console $@ fi } sg () { if [ -f ./script/r