installs and configures rails