Revert Rails version and fix Bootstrap