resolve dependency issues in gemfile