ãããªãèªã¿å§ãã¦ãããã®ã§ãããäºåã«è»½ãæºåãã¦ããã¨èªã¿ããããªãã¾ãã
- èªã¿ããã½ã¼ã¹ã³ã¼ãããã¦ã³ãã¼ã
- bundle install --path vendor/bundle
- æ¤ç´¢ç¨ã®ã¤ã³ããã¯ã¹ãè²¼ã
- èªã
bgm.rbãä¾ã«èª¬æãã¾ãã
èªã¿ããã½ã¼ã¹ã³ã¼ãããã¦ã³ãã¼ã
$ git clone [email protected]:hitode909/bgm.git $ cd bgm
bundle install --path vendor/bundle
$ bundle install --path vendor/bundle . . Installing json 1.8.2 Installing multi_xml 0.5.5 Installing httparty 0.13.3 Installing itunes-search-api 0.1.0 Using bundler 1.7.12 Your bundle is complete! It was installed into ./vendor/bundle Post-install message from httparty: When you HTTParty, you must party hard!
ããã§vendor/bundle
以ä¸ã«gemã®ã½ã¼ã¹ã³ã¼ããã¤ã³ã¹ãã¼ã«ããã¾ãã
æ¸ãæããããããããã«gitã«ãã³ããããã¦ããã¾ãã人ã®ã³ã¼ããªã®ã§ã¢ã¯ã»ã¹æ¨©ãç¡ãã¯ããªã®ã§ééãã¦pushãããã¨ããªãã¯ãã(身å ã®ã³ã¼ãã ã¨ãããããããªãã®ã§æ³¨æããã®å ´åã¯ãã©ã³ãåãã¾ããã)
$ git add . $ git commit -m "Add vendor/bundle"
æ¤ç´¢ç¨ã®ã¤ã³ããã¯ã¹ãè²¼ã
ç§ã®å ´åã¯Milkodeã®æ¤ç´¢ã¤ã³ããã¯ã¹ã¨ctags(Emacsç¨)ãè²¼ãã¾ã
$ milk add . package : bgm github : hitode909/bgm result : 1 packages, 237 records, 237 add. (7.45sec) *milkode* : 24 packages, 9032 records in /Users/ongaeshi/.milkode/db/milkode.db.
ã¿ã°ãã¡ã¤ã«ã¯milk update
ã¨ä¸ç·ã«æ´æ°ãããããã«è¨å®ãã¾ãã
$ milk config update_with_ctags_e true $ milk update
èªã
ããã§æºåå®äºã§ããå¾ã¯ãããã好ããªæ¹æ³ã§ã
ç§ã¯å§ãã«Milkodeã®Webã¢ããªãç«ã¡ä¸ãã¾ãããã£ã¨ãã©ã¦ã¶ã§ã³ã¼ãã®æ¦è¦ãæ´ãã§ããã¨ãã£ã¿ã§ç´°é¨ãèªãã§ããã¾ããé¢æ°ã®éã¯ã¿ã°ã¸ã£ã³ãã§ç§»åãã¦ããã®é¢æ°ã¯ã©ãããå¼ã°ãã¦ããã®ãï¼ãªã©ã¯Milkodeã§æ¤ç´¢ãã¦è¦ã¤ãã¾ãã
$ milk web
é¢é£ãã¼ã¿ã¯å ¨ã¦ãã£ã¬ã¯ããªä»¥ä¸ã«ããã®ã§ã½ã¼ã¹ã³ã¼ãã«ç´æ¥æ¥æ¬èªã®ã¡ã¢ãæ¸ãã¾ããæ¸ãè¾¼ãã å ´æã¯git diffã§åããã¨ãåºæ¥ã¾ããããªã®ããæã§ã³ããããåºæ¥ãã®ã§ä¾¿å©ã§ãã
ã¾ã¨ã
æé ãã¾ã¨ãã¦æ¸ãã¨ä»¥ä¸ã®ããã«ãªãã¾ãã
git clone [email protected]:hitode909/bgm.git cd bgm bundle install --path vendor/bundle git add . git commit -m "Add vendor/bundle" milk add . milk config update_with_ctags_e true milk update
å²ã¨ã¹ã¯ãªããååºæ¥ãããªæ°ããã¦ãã¾ããã次åã¯bgm.rbãèªãã§ããã¾ãã