Updated gemfile and added dependency minimum versions