Mohamed El Mahallawy
Mohamed El Mahallawy

Reputation: 921

Compiling gem after editing it

rmeetup is one of the only gems available for API for Meetup but is a little outdated https://github.com/Jberlinsky/rmeetup

I tried to update some of the files on my computer but don't know how to compile them to be used and tested with my app.

Any advice?

Upvotes: 0

Views: 204

Answers (1)

Casper
Casper

Reputation: 34338

Besides using bundler with the path directive - if you checked out the git project you can run rake gem in the rmeetup folder. This will create a gem file in the pkg folder which you can then install with gem install. Now you will have a new system-wide rmeetup which includes any changes you made.

You also might want to edit the Rakefile to bump the version before you build the new gem.

> rake gem
mkdir -p pkg
Gemspec generated
...
> ls pkg
rMeetup-1.0  rMeetup-1.0.gem

Upvotes: 1

Related Questions