Fixed syntax in sessionsController and specified ruy version in GEMFILE