# Plugin using own gem

**URL:** <https://meta.discourse.org/t/plugin-using-own-gem/50007>\
**Category:** Development\
**Created:** [September 12, 2016, 11:11am UTC](https://meta.discourse.org/t/plugin-using-own-gem/50007 "2016-09-12T11:11:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [September 12, 2016, 12:29pm UTC](https://meta.discourse.org/t/plugin-using-own-gem/50007/2 "2016-09-12T12:29:14Z")

</div>

There is a way to do it. You put the following in your plugin.rb file

```plaintext
gem 'omniauth-linkedin-oauth2', '0.1.5'

```

Example of usage:

> <https://github.com/discourse/discourse-linkedin-auth/blob/main/plugin.rb>

---

_[View the full topic](https://meta.discourse.org/t/plugin-using-own-gem/50007)._
