浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

http://raflabs.com/blogs/silence-is-foo/2010/07/19/installing-a-gem-fork-from-github-source/

 

http://stackoverflow.com/questions/2577346/how-to-install-gem-from-github-source

 

up vote 4 down vote accepted

well, that depends on the project in question. Some projects have a *.gemspec file in their root directory. In that case, it would be

gem build GEMNAME.gemspec
gem install gemname-version.gem

Other projects have a rake task, called "gem" or "build" or something like that, in this case you have to invoke "rake ", but that depends on the project.

In both cases you have to download the source.

link|flag
 
 
Thanks that helps a lot. – Vojto Apr 6 '10 at 10:04
add comment

Read this post > http://raflabs.com/blogs/silence-is-foo/2010/07/19/installing-a-gem-fork-from-github-source/

link|flag

 

 

 

 

mlzboy@mlzboy-MacBook ~/source/eventmachine $ gem list --local|grep eventmachine/home/mlzboy/.rvm/rubies/ruby-1.9.2-p0/bin/gem:4: warning: Insecure world writable dir /usr/local/sbin in PATH, mode 040777

eventmachine (1.0.0.beta.2, 0.12.10)

mlzboy@mlzboy-MacBook ~/source/eventmachine $ gem uninstall eventmachine -v 0.12.10

/home/mlzboy/.rvm/rubies/ruby-1.9.2-p0/bin/gem:4: warning: Insecure world writable dir /usr/local/sbin in PATH, mode 040777

Successfully uninstalled eventmachine-0.12.10

posted on 2011-01-13 22:50  lexus  阅读(1119)  评论(0编辑  收藏  举报