gem ãä½ã£ã¦ã¿ã#2
http://nubyonrails.com/articles/tutorial-publishing-rubygems-with-hoe
次㯠hoe ã使ã£ã¦ã¿ã¾ãï¼å 容ã¯前回ã¨åããã®ãï¼
å¿ è¦ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«
% sudo gem install hoe
ã¾ããªããå ¥ã£ã¦ãã®ã§ï¼å®éã«ã¯ã¤ã³ã¹ãã¼ã«ãã¦ã¾ããï¼
ãã³ãã¬ã¼ãã®ä½æ
% sow map_by_method creating project map_by_method ... done, now go fix all occurrences of 'FIX' MapByMethod/README.txt:3:* FIX (url) MapByMethod/README.txt:7:FIX (describe your package) MapByMethod/README.txt:11:* FIX (list of features or problems) MapByMethod/README.txt:15: FIX (code sample of usage) MapByMethod/README.txt:19:* FIX (list of requirements) MapByMethod/README.txt:23:* FIX (sudo gem install, anything else) MapByMethod/README.txt:29:Copyright (c) 2009 FIX MapByMethod/Rakefile:9: # p.developer('FIX', '[email protected]')
FIX ã¨æ¸ãã¦ããé¨åãç·¨éããã£ã¦ãã¨ãããã§ãï¼
ããã±ã¼ã¸ã®ä½æã¨ã¤ã³ã¹ãã¼ã«ã»ã¢ã³ã¤ã³ã¹ãã¼ã«
% rake package % ls pkg MapByMethod-0.0.1 MapByMethod-0.0.1.gem MapByMethod-0.0.1.tgz % sudo gem install pkg/MapByMethod-0.0.1.gem % sudo gem install MapByMethod
ããã±ã¼ã¸åã Camelize ãããã¨ããéãã¯ããã¾ããï¼ãã¨ã¯åãï¼
ãã¦æ¬¡ã¯æ¡å¼µã©ã¤ãã©ãªã Gem ã§ä½ãã¨ããããªï¼