added ruby version to gemfile and changed Application to Base