2012-01-01ãã1å¹´éã®è¨äºä¸è¦§
æè¿ç¥ã£ã Ruby ã®ãã¢ããã¥ã¡ã³ãã®ãã¾ãè¦ãããªãï¼ï¼ï¼æ©è½ãããã¤ãåå¿é²ã¨ãã¦ã¾ã¨ãã¦ã¿ã¾ããã ã¡ã½ããã®å¼æ°ã«æ¸¡ãã 以ä¸ã®ããã«ãã¦ãã¢ããã¥ã¡ã³ããã¡ã½ããã®å¼æ°ã«ãã®ã¾ã¾æ¸¡ãã¾ãã def here_method(arg1, arg2, arg3) puts arg1 â¦
Tritonn ã®å¾ç¶ã§ MySQL 5.1 以éã§æ¥æ¬èªå ¨ææ¤ç´¢ãå¯è½ã«ãã mroonga ã Ubuntu 12.10 ã«ã¤ã³ã¹ãã¼ã«ããéã®ã¡ã¢ã§ãã MySQL 5.5 ã®ã¤ã³ã¹ãã¼ã« ã¾ã㯠MySQL æ¬ä½ãã¤ã³ã¹ãã¼ã«ãã¾ãã ããã§ã¯ apt ãã以ä¸ãã¤ã³ã¹ãã¼ã«ãã¾ããã % sudo apt-â¦
æè¿ãã¼ã«ã«ã®éçºç°å¢ã Ubuntu 12.10 ã«ä¸ãã¦ããããå¼ã£ã¦ããã®ã§ãããé ãã°ããªãããã£ã¨å°å ¥ãã¦ã¿ã tmux + tmuxinator ãããªã便å©ã ã£ãã®ã§ãç´¹ä»ãtmux 㯠GNU screen ãªã©ã¨åæ§ã®ã¿ã¼ããã«ãã«ããã¬ã¯ãµã¨å¼ã°ããã½ããã¦ã§ã¢ã§ãã â¦
ç°å¢æ§ç¯ã®åº¦ã«æ¯å rbenv ãå ¥ããã®ãé¢åã ã£ãã®ã§ãç°¡åãªã¤ã³ã¹ãã¼ã«ã¹ã¯ãªãããæ¸ãã¦ã¿ã¾ããã ãããªæãã§å®è¡ãã㨠~/.rbenv ãã£ã¬ã¯ããªä»¥ä¸ã« rbenv + ruby-build + rbenv-gemset ãã¤ã³ã¹ãã¼ã«ããã¾ãã % wget https://raw.github.comâ¦
Monit ã¯ãµã¼ãå ã®ããã»ã¹ããªã½ã¼ã¹ã®ä½¿ç¨çãªã©ãç£è¦ããçºã«ä½¿ãããäºãæ¯è¼çå¤ãããã§ãããå®ã¯å¤é¨ã® Web ãµã¼ãã«å¯¾ãã URL ç£è¦ã Ping ç£è¦ãªã©ãã¨ã¦ãç°¡åã«è¨å®ã§ããããé常ã«ä¾¿å©ã§ããã¨ããããã§ãMonit ã使ç¨ãã¦å¤é¨ã®ãµã¼ãã®â¦
ã·ã§ã«ã¹ã¯ãªããã§ã¡ã¼ã«éä¿¡ããéãªã©ã« from ãå¤æ´ãããå ´åãæã ããã®ã§ããããã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ãã£ã¦ãªãã·ã§ã³ã®æå®æ¹æ³ãç°ãªã£ã¦ããããããã¨ã度ã ã»ã»ã»ãæ¯å調ã¹ãã®ãé¢åãªã®ã§ããã®æ©ä¼ã«ã¾ã¨ãã¦ã¿ã¾ããã mail ã³ãã³ãâ¦
å æ¥ä¼ç¤¾ã®å¾è¼©ã«æãã¦è²°ã£ããã§ãããRuby 1.9 ãã Kernel.#sprintf ã String#% ã Hash ãåãåããããã«ãªã£ã¦ãããã§ããã ãã£ã¨ç¥ããªãã£ããã§ããã便å©ã ã¨æã£ãã®ã§è©¦ãã¦ã¿ã¾ãããããã«ãããæåå㧠SQL ã§ã®ååä»ããã¬ã¼ã¹ãã«â¦
Pdftk ã使ç¨ã㦠Ruby ãã PDF ã«ããã¿ãåãè¾¼ãæ¹æ³ã調ã¹ã¦ã¿ã¾ããã ã¡ãªã¿ã« Ruby ã®ãã¼ã¸ã§ã³ã¯ä»¥ä¸ã§ãã # ruby -v ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] Pdftk ã®ã¤ã³ã¹ãã¼ã« Pdftk ã¯å¤§æµã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§â¦
Ruby 1.9 ã®æ£è¦è¡¨ç¾ã§ã¯ååä»ããã£ããã£ã使ãããããªã®ã§ããã¾ããã§ããã¡ãã£ã¨è©¦ãã¦ã¿ã¾ãããé©å½ãªãµã³ãã«ãæãã¤ããªãã£ãã®ã§ãã¨ãããã Apache ã® Common Log Format æååãå解ãã¦ã¿ã¾ãã æ£è¦è¡¨ç¾ãè¥å¹²é©å½ãªã®ã¯ååä»ããã£ãâ¦
Rails 3.2.7 㧠I18n ã®ããã¯ã¨ã³ãã« RDBMS ã使ããã¨ããã®ã試ãã¦ã¿ã¾ããã i18n-active_record ã¨ãã gem ã使ãããã§ããã¾ãã¯ã試ãç¨ã®ããã¸ã§ã¯ããä½æãã¾ãã RDBMS ã«ã¯ MySQL ãé¸æãã¾ããã $ rails new i18n_backend_example -d myâ¦
CentOS 6.2(x86_64)ä¸ã§ Ruby 1.9.3 p194 ã® RPM ãä½æãã¦ã¿ã¾ããã å½å checkinstall ã使ããã¨æã£ãã®ã§ãããç´ä½æ²æããã£ãæå¥ãçµå±ä¸æãè¡ããªãã£ããããrpmbuild ã使ãã¾ããã å¿ è¦ãªã©ã¤ãã©ãªã®ã¤ã³ã¹ãã¼ã« # yum groupinstall -y "â¦
å®éç¨ããã«ããã£ã¦ã¯çµæ§éè¦ãª push æã®ã³ãããã¡ã¼ã«éä¿¡ã¨ããã¯ã¢ããã¨ãã¦ã®ãªãã¸ããªã®ãã©ã¼ä½æã«ã¤ãã¦ã¾ã¨ãã¦ã¿ã¾ããã ä»ã«è¯ãããæ¹ãããããã§ãããæå ã§ã¯ä»¥ä¸ã®ããã«ãã¦å®ç¾ãã¦ãã¾ãã ã³ãããã¡ã¼ã«éä¿¡ ã¾ã㯠gitolite â¦
åå 試ããæããçµæ§ãã¼ã¸ã§ã³ãä¸ãã£ããããªã®ã§ãgitolite 3.03 & GitLab 2.6.2 ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããã2013.08.16 è¿½è¨ æ°ãããã¼ã¸ã§ã³ã«ã¤ãã¦è¨äºãæ¸ãã¦ãã¾ãã ãã¡ããåç §ãã¦ãã ããã GitLab 5.4.0 ã CentOS 6.4 ã«ã¤ã³ã¹ãã¼ã«â¦
ååã¤ã³ã¹ãã¼ã«ãã GitLab ã Apache + Passenger ã§åä½ããããã«è¨å®ãã¦ã¿ã¾ãã httpdãhttpd-devel ã¯æ¢ã«ã¤ã³ã¹ãã¼ã«æ¸ã¿ã®ãã®ã¨ãã¾ãã2013.08.16 è¿½è¨ æ°ãããã¼ã¸ã§ã³ã«ã¤ãã¦è¨äºãæ¸ãã¦ãã¾ãã ãã¡ããåç §ãã¦ãã ããã GitLab 5.4.â¦
å°ãåã« GitHub ã¯ãã¼ã³ã§ãã GitLab ãæ¤è¨¼ãã¦ããéã®ç°å¢æ§ç¯ã¡ã¢ãæ´çãã¦ãã¾ã¨ãã¦ã¿ã¾ãããGITLAB http://gitlabhq.com/ç¾å¨å ¬å¼ãªãã¸ããªã§ã¯ 2.3.1 ãææ°ã®ããã§ããã試ããæã®ãã¼ã¸ã§ã³ãªã®ã§ 2.2.0 ã§ã®è¨äºã«ãªã£ã¦ãã¾ãã2013.08.â¦
CentOS 6.2(i686)ç¨ã«å æ¥ãªãªã¼ã¹ããã Apache 2.4.1 ã® RPM ãä½æãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããã äºåæºå éçºç¨ãã¼ã«ã®ã¤ã³ã¹ãã¼ã«ã # yum groupinstall -y "Development Tools" yum ãªãã¸ããªã« EPEL ã追å ã # rpm --import http://ftp.riken.jpâ¦
VMware Player ä¸ã« CentOS 6.2 ãã¤ã³ã¹ãã¼ã«ããã®ã§ãã(ãããã¯ã¼ã¯ã¯ NAT)ãyum ãå®è¡ããã¨ä»¥ä¸ã®ãããªã¨ã©ã¼ãçºçãã¦ãã¾ãã¾ããã # yum update Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from caâ¦
æè¿ã«ãªã£ã¦ gitolite ã使ã£ã¦ã¿ãã®ã§ãããããªã便å©ã§ãããgitolite ã§ã¯ OS ã®ã¦ã¼ã¶ãä½æããã«ãSSH ã®å ¬ééµãç»é²ããã ãã§ã¦ã¼ã¶ã追å ã§ããä»çµã¿ã«ãªã£ã¦ããã®ã§ãããããã£ã¦ä¸ä½ã©ããã£ã¦ããã®ã§ãããããgitolite ã¦ã¼ã¶ã® authorâ¦
Ruby 1.9.3 㧠Rails 2.3.12 ã¢ããªã±ã¼ã·ã§ã³ãåããã¦ã¿ãã¨ãããiso-2022-jp ã§ã¡ã¼ã«ãéä¿¡ãã¦ããç®æã§ä»¥ä¸ã®ãããªã¨ã©ã¼ãçºçãã¾ããã incompatible encoding regexp match (ASCII-8BIT regexp with ISO-2022-JP string) /var/rails_apps/examâ¦