1 2 3 4 5 6 7 8
rss () { cur_dir=$(pwd) if [[ $(pwd) == *"members" ]]; then bundle exec rails s -p 3004 elif [[ $(pwd) == *"accounts" ]]; then bundle exec rails s -p 9393 fi }
You can clone a snippet to your computer for local editing. Learn more.