user502052
user502052

Reputation: 15259

How to "convert" a plugin to a gem a make it "private"?

I am using Ruby on Rails 3.2.2. I have implemented a Something plugin (it is almost a gem, but is not a gem) and all related files are in the lib/something directory.

  1. What steps should I accomplish to "convert" the Something plugin to a Ruby gem?
  2. How to use the new implemented Something gem in my application without to make it public (that is, without put that on a public server)?

Upvotes: 2

Views: 727

Answers (1)

iced
iced

Reputation: 1572

  1. http://guides.rubygems.org/make-your-own-gem/
  2. Previous link covers that as well - gem install something-1.2.3.gem

Upvotes: 2

Related Questions