From: Jeffrey Chan Date: 2012-09-08T02:18:30+09:00 Subject: Re: How to patch ruby's gem before an install ? --f46d042f941ceac01504c91fcb54 Content-Type: text/plain; charset=UTF-8 If it's a pure Ruby gem I think this simple command builds the gem package: > gem build mygem.gemspec http://docs.rubygems.org/read/chapter/5#page18 For Gosu, because it has native extension, use the included Rakefile to build the gem package. - Jeff On Sat, Sep 8, 2012 at 1:14 AM, David Unric wrote: > Jordi Massaguer Pla wrote in post #1075065: > > > I think you better look for the source code. Gosu is in > > https://github.com/jlnr/gosu . You can find the link for the source > > code in rubygems.org. > > > > In this case is in github, so you can clone and even fork and do a > > pull request to request your changes be in the next version for gosu. > > > > regards > > > > jordi > > Ok, I can use the git sources and maybe install the libs with rake, but > still curious how to modify & rebuild the gem. I thought it has to be a > simple task. > > -- > Posted via http://www.ruby-forum.com/. > > --f46d042f941ceac01504c91fcb54 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If it's a pure Ruby gem I think this simple command builds the gem pack= age:

> gem build mygem.gemspec

http://docs.r= ubygems.org/read/chapter/5#page18

For Gosu, because it has native extension, use the included Rakefile to= build the gem package.

- Jeff


On Sat, Sep 8, 2012 at 1:14 AM, David Unric <lists@r= uby-forum.com> wrote:
Jordi Massaguer Pla wrote in post #1075065:<= br>

> I think you better look for the source code. Gosu is in
> https://git= hub.com/jlnr/gosu . You can find the link for the source
> code in rubygems.org= .
>
> In this case is in github, so you can clone and even fork and do a
> pull request to request your changes be in the next version for gosu.<= br> >
> regards
>
> jordi

Ok, I can use the git sources and maybe install the libs with rake, b= ut
still curious how to modify & rebuild the gem. I thought it has to be a=
simple task.

--f46d042f941ceac01504c91fcb54--