Home>
If I put the'omniauth-facebook'gem, do I need to install the'omniauth' gem?
I would like to implement facebook login and twitter login functions using devide.
I don't know if gem'omniauth' also needs to be installed.
If i need to install it, why
If i don't have to install it, could you please tell me why?
----- Gemfile -------------------------------------------- --------------------
gem'devise'
gem'omniauth' #<------------ Do you need this?
gem'omniauth-facebook'
gem'omniauth-twitter'
-
Answer # 1
Related articles
- ruby - i can't bundle install
- ruby - i can't bundle install
- ruby - bundle install does not have write permission and error occurs
- ruby - bundle install doesn't work
- ruby - if statement of include? (intermediate table)
- ruby - run `bundle install` to install missing gems error on aws deployment
- ruby - how to include user_id in the parameters of tagged posts
- ruby - [rails] i can't bundle install on my macbook
- ruby on rails - i can't install heroku cli on ubuntu [error during apt-get update? ]
- ruby - i want to know where to install rails gem and how to manage it
- ruby - [rails] i can't install the add favorite button
- ruby - xcode-select --install not possible!
- ruby - i can't install ffi with everyday rails setup
- ruby on rails - unable to install direnv
- ruby - i can't install gem'pry-byebug' on cloud9
- ruby - sns login i don't know how to install twitter api
- ruby on rails 5 - bundle install stops at sassc
- ruby on rails - rails bundle install sassc stops
- ruby - i can't install 270 with rbenv
Related questions
- ruby - passing variables using render partial
- ruby - even if each statement is used, the contents of the db cannot be displayed in order and an error occurs
- ruby - i want to generate a random password (mixed alphanumeric characters)
- ruby - sass :: syntaxerror on rails s
- ruby - i want to display new posts i made on the top page only for myself
- ruby - [rails] i want to deploy a rails application using elastic beanstalk
- [javascript] i want to switch the display/non-display of the input form
- ruby - dealing with validation errors when rendering rails apps (definition of instance variables)
- ruby - i get an error with the rails new command
- ruby - implementation of friendly forwarding
omniauth-facebook
Isomniauth-oauth2
Depends onomniauth-oauth2
Isomniauth
Because it depends onomniauth-facebook
ToGemfile
If you write inomniauth-oauth2
Alsoomniauth
AlsoWill be installed automatically.."
gem'omniauth'
Must also be installed "(omniauth-facebook
It doesn't work by itself), but it can be done without permission, so "for some reasonomniauth
Unless you are in a situation where you want to specify its own versionGemfile
There is no problem even if you do not write in.