简体   繁体   中英

How to install edited ruby gem from github on Amazon EC2 instance?

How can I install a ruby gem that I downloaded from github on my Amazon EC2 instance?

I want to change the code a little bit, this is why I cant install it directly via github.

You can build gem from installed source after some modifications and install it.
Just locate to source, find mygem.gemspec file, then gem build mygem.gemspec and gem install mygem .
Read more on http://docs.rubygems.org/read/chapter/5 .

Does it address your needs and solve your problem?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM