Update railsready.sh

Fix the broken mismatched if... fi