开发者

install gem from specific branch

开发者 https://www.devze.com 2023-01-14 17:14 出处:网络
Install Gem from Github Branch? I have been following th开发者_JS百科e guide from that thread.When I get to step 4, rake gem , I get an error

Install Gem from Github Branch?

I have been following th开发者_JS百科e guide from that thread. When I get to step 4, rake gem , I get an error

rake aborted! Don't know how to build task 'gem'


Looks like they are using Jeweler which has a rake build task to build the gem.

You can check what rake tasks are available by doing rake -T or rake -vT (more verbose). If I do that in a gem's root directory that uses Jeweler I get:

rake build                    # Build gem

as an option.

I think you can also skip the manual install step by doing rake install too.


Don't forget to install jeweler:

sudo gem install technicalpickles-jeweler -s http://gems.github.com

Otherwise it won't build.

0

精彩评论

暂无评论...
验证码 换一张
取 消