Missing these required gems: oauth2


If you are strugling with the following issue of missing gems "oauth2" even it is installed in your system and visible in gem list then check the version of "faraday" gem, may be there is compatibility issue with these two gems version. Here I removed the latest installed version and installed a old one which is compatible with my "auth2" gem version and then it start working.


prabhat@admin:~/projects/UI$ rake db:migrate
WARNING: 'require 'rake/rdoctask'' is deprecated.  Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
    at /home/prabhat/.rvm/gems/ruby-1.8.7-p352@rails_2.3.2/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
DEPRECATION WARNING: Rake tasks in vendor/plugins/backgroundrb/tasks, vendor/plugins/backgroundrb1/tasks, and vendor/plugins/redbox/tasks are deprecated. Use lib/tasks instead. (called from /home/prabhat/.rvm/gems/ruby-1.8.7-p352@rails_2.3.2/gems/rails-2.3.11/lib/tasks/rails.rb:10)
config.load_paths is deprecated and removed in Rails 3, please use autoload_paths instead
Missing these required gems:
  oauth2

You're running:
  ruby 1.8.7.352 at /home/prabhat/.rvm/rubies/ruby-1.8.7-p352/bin/ruby
  rubygems 1.6.2 at /home/prabhat/.rvm/gems/ruby-1.8.7-p352@rails_2.3.2, /home/prabhat/.rvm/gems/ruby-1.8.7-p352@global




prabhat@admin:~/projects/UI$ gem uninstall faraday

prabhat@admin:~/projects/UI$ gem install faraday --version 0.5.3

No comments

Powered by Blogger.