There is a way to do it. You put the following in your plugin.rb file
gem 'omniauth-linkedin-oauth2', '0.1.5'
Example of usage: