Rubyãç°¡åã«yumããã¤ã³ã¹ãã¼ã«ãããã®ã§ãããããã«ãå¤ããã¼ã¸ã§ã³ããããã¾ãããæéãåãã¾ãããã½ã¼ã¹ã¤ã³ã¹ãã¼ã«ãã¾ãã Rubyã«å¿ è¦ãªããã±ã¼ã¸ãæºåããã [html]# yum install gcc zlib-devel openssl-devel sqlite sqlite-devel[/html] ææ°ã®Rubyãå ¬å¼ãµã¤ãï¼https://www.ruby-lang.org/ja/downloads/ï¼ããã¤ã³ã¹ãã¼ã«ãã¾ããææ°ã®å®å®æ¿ãå ¥ããã¨è¯ãã§ãããã [html] # cd /usr/local/src # wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.3.tar.gz # tar zxvf ruby-2.1.3.tar.gz # cd ruby-2.1.3 # ./configure
RubyGemsããã¤ã³ã¹ãã¼ã«åºæ¥ã¾ãã OSX Windows Linux Rroongaã®ã¤ã³ã¹ãã¼ã«ã«å¤±æãã ã¤ã³ã¹ãã¼ã«ã«æå OSX rbenv $ gem install milkode $ rbenv rehash MacPorts $ sudo gem install milkode Windows RubyInstaller + DevKit $ gem install eventmachine --platform ruby $ gem install milkode ActiveScriptRuby $ gem.bat install rroonga --platform x86-mingw32 $ gem.bat install milkode Linux $ gem install milkode Rroongaã®ã¤ã³ã¹ãã¼ã«ã«å¤±æãã Rroongaãå é¨ã§
ãã¿ã¾ãããã¿ã¤ãã«ã¯é£ãã§ãã Webããã°ã©ãã¼ã®å®åçµé¨ãªããã©ãRailsã®åå¼·å§ãã¾ããçãªäººã«ãä¼ãããæ©ä¼ãä½åº¦ããã£ã¦ã åãã§ãããã¨ã£ã¦ãªã¦ããªãã¨æã£ã¦èããæç« ã§ããæãããã¨ã¯ä¸æã§ãã®ã§ãããã£ã¨ããæ¹æ³ããããã ã¨ãã£ãæ¹ãããããã£ããã£ããããã²ã¢ããã¤ã¹ããããã¨ãã£ã¡ãããããã£ãããã¾ãã ãããããã°ããã¯ãã¯ããã¦ã®ããã°ã©ã ã¯Railsã§ããã¨ãã£ãæ¹ãå¢ããã®ããã¨æãã¾ãã ãããã£ã人ãã¡ãããã°ã©ã ã楽ããã¨æã£ã¦ããããããã«ãªãã¨ããããã£ãã (2015-07-20 14:00) 質åãããã ããã®ã§æ¸ç±ãªã¹ãã追å ð ï¼ã»ã¯ã·ã§ã³1ï¼ 1æ¥ç®-11æ¥ç®ã¾ãã¯è§¦ã£ã¦ã¿ãããã°ã©ãã³ã°ã«è§¦ã£ããã¨ããªã人ãã大å¦ã®ææ¥ããããã°ã©ã ãã£ããã¨ããªã人åãã®ã»ã¯ã·ã§ã³ã§ãã ãã§ã«å¥ã®è¨èªããã£ããã¨ããã人ã¯ã¹ããããã¦ãã ã
ã©ãè¨ã£ã¦ããããç³»ã¹ã¿ã¼ãã¢ããã¯ã¨ã³ã¸ãã¢ã®åéã«è¦å´ãã¦ãã話ãèãã èãã¨å¿åãå ¨ç¶æ¥ãªããã¨ãããã¨ãããã ããããã®ä¸æ¹ã§ããããç³»ã®ãã¯ããã¸ã¯ã³ã¢ãã£ãã£åã®ã¹ãã¼ããæ©ããããèªåã®ã¹ãã«ãç¡å¹åããã¦ãã¾ãããããªããã¨æ¦ã æã ã¨ãã¦ãã人ãã¡ãããã ä¸å®ã«æãããããªãããããªãã®äººæ°ãããããºã§ãå±æ©æãªãåä¸å¿(?)ãæã£ã人ããã¦ããã¾ãåºä¼ããã°ãæ¡ç¨å¯è½æ§ãããã£ã¦ãã¨ã ããã â¦ã®å²ã«ã¨ã³ã¸ãã¢ã®æ¡ç¨ã«å°ã£ã¦ãã声ã絶ããªãã®ã¯ä½æ ã ããã 仮説ã¨ãã¦ã¯ã ã»æ±ããã¹ãã«ã«ä¸æ´åããã£ã¦ãå¿åããããªãã ã»æ±ããã¹ãã«ã«ä¸æ´åããã£ã¦ãå¿åããã£ã¦ãæ¡ç¨ã§ããªã ã»ã¹ã¿ã¼ãã¢ããã ã¨çµ¦æãä¸ããããããªããï¼ï¼ã¨æã£ã¦å¿åã§ããªã ã»ã¹ã¿ã¼ãã¢ããã«èå³ãç¡ããä¸å®å®ã ãã ã»èªåã®å®åã§ã¯ã¹ã¿ã¼ãã¢ããã¯ç¡çãããªããã¨æã£ã¦ããã ã»å®ã¯ã¨ã³ã¸
ã¯ããã« Hadoopã¨ã¯ãGoogleã®åºç¤æè¡ã§ããMapReduceãJavaã§ãªã¼ãã³ã½ã¼ã¹å®è£ ãããã®ã§ãåæ£å¦çã®ãã¬ã¼ã ã¯ã¼ã¯ã§ããHadoopã使ãã¨ã1å°ã®ãµã¼ãã§ã¯æéã®æãããããªå¦çããè¤æ°ã®ãµã¼ãã§åæ£å¦çããããã¨ãã§ãã¾ãããâ å¦çãå²ãæ¯ã£ããµã¼ããå£ããå ´åã©ããããããªã©ã®èé害æ§ã®åé¡ãHadoopã管çãã¦ããããããå©ç¨è ã¯å¦çã®ã¢ã«ã´ãªãºã ã®ã¿ã«éä¸ãããã¨ãã§ããã®ã§ããç´ æ´ãããã§ãããæè¿ã§ã¯Yahoo!ãã¯ã¦ãªãªã©ãæ§ã ãªä¼æ¥ã§ãå©ç¨ãããããã«ãªã£ã¦ãã¦ãã¾ãã Hadoopå°å ¥ã®èæ¯ çè ã¯ã¯ãã¯ãããæ ªå¼ä¼ç¤¾ã«å¤ãã¦ãã¾ããopen('http://cookpad.com'); return false;">ã¯ãã¯ãããã¨ãããµã¤ããæåã ã¨æãã¾ãããä»ã«ãæºå¸¯çã¯ãã¯ãããã§ããopen('http://m.cookpad.co
ç°å¢æ§ç¯ ååã§ã¯ãããã¸ã§ã¯ã管çãã¼ã«ã®å¿ è¦æ§ãããã¦redMineããªã¹ã¹ã¡ããçç±ã«ã¤ãã¦è§£èª¬ãã¾ãããä»åã¯redMineãå©ç¨ããç°å¢ã®æ§ç¯ãããã³redMineã®ã¤ã³ã¹ãã¼ã«ã»åæè¨å®ã«ã¤ãã¦è§£èª¬ãã¾ãã redMineã¯Ruby on Railsã«ãã£ã¦ä½ããã¦ããã¢ããªã±ã¼ã·ã§ã³ã§ãã®ã§ãåä½ç°å¢ã¨ãã¦ä»¥ä¸ã®ãã®ãå¿ è¦ã«ãªãã¾ãã Ruby (1.8.5 以ä¸) Rails ï¼â â»1ï¼ MySQL (MySQL 5) ï¼â â»2â ï¼â Subversion ï¼â â»3ï¼ Railsã¯Rubyã§å®è£ ãããWebãµã¼ãã®WEBrikã使ããã¨ãã§ãããããApacheã®ãããªWebãµã¼ãã¨é£æºãããå¿ è¦ããªããã°ãããã ãã§OKã§ãã ã¾ããRubyãMySQLã¯Linuxã«åæã¤ã³ã¹ãã¼ã«ããã¦ããå ´åãå¤ãããã®å ´åã¯Railsã®ã¤ã³ã¹ãã¼ã«ã ããè¡ãã°ããã¨ãããã¨ã«ãªãã¾
ãCOBOLã¨Ruby on Railsã®ã¢ããªã±ã¼ã·ã§ã³æ§é ã¯ä¼¼ã¦ããï¼ããã©ã³SEã®ãã¦ãã¦ãçããããRubyã§COBOLæè¡è ã¯å¾©æ´»ããã---ãã¯ãããã¸ã§ã¯ã å°ååç· å½¹ å岡å®æ°ã¯2008å¹´9æ12æ¥ãã13æ¥ã«ããã¦éå¬ããããªã¼ãã³ã½ã¼ã¹ã«ã³ãã¡ã¬ã³ã¹2008 Shimaneã®è¬æ¼ã§ï¼æ¾æ±å¸ã®é«é¡å»çè²»åç®ã·ã¹ãã ãRubyã§éçºããçµé¨ã§å¾ãããææ³ãããèªã£ãã ãã¯ãããã¸ã§ã¯ãã¯ï¼IPAã®èªæ²»ä½ã¸ã®ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢å°å ¥å®è¨¼äºæ¥ã¨ãã¦ï¼æ¾æ±å¸ã®é«é¡å»çè²»åç®ã·ã¹ãã ãRuby on Railsã§éçºããããã®å®è¨¼ã®ç®çã¯ï¼Rubyãèªæ²»ä½ã®åºå¹¹ã·ã¹ãã ã«èããããã¨ãå®è¨¼ãããã¨ããã³ï¼COBOLæè¡è ãRubyã§ã·ã¹ãã éçºããããã®ãã¦ãã¦ãã©ã¤ãã©ãªã®æ´åã§ãããéçºãããããã°ã©ã ã¯ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã¨ã¢ã¨ãã¦å ¬éããã¦ããï¼ã¾ãå¾ããããã¦
split ã®ç 究 split é¢æ°ã®æåãè¨èªãã¨ã«å¾®å¦ã«ç°ãªãã¨ç¥äººã¨è©±é¡ã«ãªã£ãã®ã§èª¿ã¹ã¦ã¿ã¾ãããçµæã¯ã¾ã¨ããã©ããã Ruby ã¾ãã¯Rubyãã調ã¹ã¦ã¿ã¾ããirb ã使ã£ã¦èª¿ã¹ã¾ããã % irb ... ã¾ãã¯æ®éã«åå² >> "a,b,c".split(",") => ["a", "b", "c"] æ«å°¾ã«ç©ºè¦ç´ ãããã¨ãçç¥ããã¦ãã¾ã >> "a,,c,,".split(",") => ["a", "", "c"] æ«å°¾ã®ç©ºè¦ç´ ãçç¥ããªãããã«ã¯ -1 ãå¿ è¦ >> "a,,c,,".split(",", -1) => ["a", "", "c", "", ""] 空æååã ã¨çµæã空 >> "".split(",") => [] -1 ãã¤ãã¦ãåæ§ >> "".split(",", -1) => [] åå²ãã¿ã¼ã³ãæå®ããªãå ´åãåæ§ >> "".split
ä½è¤ãèè¦ 2008/8/18 çç£æ§ãé«ãã¨è©å¤ã®ããã°ã©ãã³ã°è¨èªãRubyããçµ±åéçºç°å¢ãæ´ãããã¨ã§ãããã«å¹ççãªããã°ã©ãã³ã°ãå¯è½ã«ãªãï¼ç·¨éé¨ï¼ Rubyã®Webã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã§ããRuby on Railsã®ä¸è¬å ¬éãã4å¹´ããã¡ãã·ã¹ãã éçºã®ç¾å ´ã§ãRubyã®æ¡ç¨ãè³ã«ããããã«ãªã£ã¦ãã¾ããã 2007å¹´12æã«ã¯Ruby on Rails 2.0ãç»å ´ããRubyã¯ã¾ãã¾ãå©ç¨ã·ã¼ã³ãå¢ãã¦ãã¾ãã ã¹ã¯ãªããè¨èªã®å ´åãããã¹ãã¨ãã£ã¿ã¨ã³ãã³ãã©ã¤ã³ã³ã³ã½ã¼ã«ã§æä½ããã±ã¼ã¹ãå¤ãã§ãããå¿«é©ãªããã°ã©ãã³ã°ãè¡ãã«ã¯ãã¯ãIDEï¼çµ±åéçºç°å¢ï¼ãå¿ è¦ã§ãã Javaã.Netã®éçºç¾å ´ã§ã¯EclipseãVisual Studioã¨ãã£ãIDEãéçºã«ã¯æ¬ ããã¾ãããRubyã®éçºã§ã¯ãã¾ã ã¾ã IDEã®å©ç¨çã¯ä½ãããããã¾ããããIDEã
Railsã¯åº¦ã é ãã¨ãããã¨ã話é¡ã«ä¸ãããRubyèªä½ã®æ§è½ãããã ãããããã¼ã¿ãã¼ã¹ãå¯è±ªçã«ä½¿ã£ã¦ããã®ã«ãåå ãããã便å©ã§ããããã«ã¤ãã¤ããã¼ã¿ãã¼ã¹ãå¤ç¨ãã¦ãããããã¼ã¿ã®åãåºããè¤éï¼é½åº¦éè¨ãªã©ï¼ã«ãã¦ããªãã ãããã ã¡ã¤ã³ç»é¢ å人çãªçµé¨ããè¨ãã°ããã«ããã¯ã«ãªããã¡ãªã®ã¯ã¬ã³ããªã³ã°ã¨ãã¼ã¿ãã¼ã¹ã ããã®ãã¼ã¿ãã¼ã¹ã®åé¡ç¹ãæ´ãåºãã®ã«ä¾¿å©ãªã®ããã¾ããã¦ãRailsã¢ããªã±ã¼ã·ã§ã³ã ã ä»åç´¹ä»ããããªã¼ã¦ã§ã¢ã¯PalmistãRailsã®MySQLå®è¡å±¥æ´ãè¦ãã½ããã¦ã§ã¢ã ãã½ã¼ã¹ã¯Githubã§å ¬éããã¦ãããã©ã¤ã»ã³ã¹ã¯æè¨ããã¦ããªãã£ãã®ã§æ³¨æãã¦ããã ãããã Palmistã¯ä»ã®Railsã¢ããªã±ã¼ã·ã§ã³ã®ãã°ãã¡ã¤ã«ãèªã¿åã£ã¦ãããã解æãã¦è¡¨ç¤ºãã¦ããããã³ã³ããã¼ã©ãã¢ã¯ã·ã§ã³ãDBã¸ã®CRUDãã¨ã«ãªã¹ãã¢ãããã¦ããããå®
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}