ãªããéããããã¨ãããã¨ã§ã試ãã¦ã¿ã¾ãããLinuxã®è©±ã§ããWindowsã§ã¯åãã¾ããã å ¬å¼ãµã¤ãâWelcome â Ruby Enterprise Edition ãªããã¤ã³ã¹ãã¼ã©ã¼ãã¨ã¼ã£ã¦ãä¸å¯§ã§ããããããã£ãï¼ãLinuxã§ãããªã«ããããããã®ã¯åãã¦ãããããã®ä¸å¯§ããç´¹ä»ããããã¨ããæå³ãããã¾ãï½ ä»¥ä¸ãrootã§ä½æ¥ãã¦ãã¾ããåºæ¬çã«"#"ã§å§ã¾ãè¡ãå ¥åã§ãã ã¤ã³ã¹ãã¼ã©ã¼ããã¦ã³ãã¼ããèµ·å Downloadã®ãã¼ã¸ã§tarã®URLã確èªããããããã¦ã³ãã¼ããã¦å±éã # wget http://rubyforge.org/frs/download.php/68719/ruby-enterprise-1.8.7-2010.01.tar.gz # tar zxfv ruby-enterprise-1.8.7-2010.01.tar.gzã¤ã³ã¹ãã¼
Hello- Trying to get rails up and running on my linux box with mysql. When I try to install the mysql gem, I get the following: Building native extensions. This could take a while⦠ERROR: While executing gem ⦠(Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. ruby extconf.rb install mysql checking for mysql_query() in -lmysqlclient⦠no checking for main() in -lm⦠y
Passenger ã使ãã¨ãããªã½ã¼ã¹æé©åãªãã·ã§ã³ã«ãã£ã¦å¤§ããããã©ã¼ãã³ã¹ãå¤ãããè±æã ã¨ç解ã§ããã®ãé ãã®ã§ãåæã«ç¿»è¨³ãã¦ã¿ãã â PassengerMaxPoolSize <æ´æ°å¤> åæã«ä½¿ç¨ã§ãã ROR ããã㯠Rack ã¢ããªã±ã¼ã·ã§ã³ã®æ大æ°ã§ãããã大ããªå¤ãæå®ããã¨å¤ãã®ã¡ã¢ãªãæ¶è²»ãã¾ãããHTTP ã¯ã©ã¤ã¢ã³ããåæã«å¦çã§ããè½åãå¢ãããã¨ãã§ãã¾ãã ãã®æé©ãªå¤ã¯ãããªãã®ã·ã¹ãã ãã¼ãã¦ã§ã¢ããµã¼ãã®å¹³åå¤ãã¼ãã«ä¾åãã¾ããç°ãªãå¤ãæå®ãã¦å®é¨ããå¿ è¦ãããã§ãããããããä¸è¬çã«ã¯ãã®å¤ã¯å°ãªãã¦ãããªãã®ã·ã¹ãã ã® CPU æ°ã«çããå¤ã«ããã¹ãã§ããããããªãã®ã·ã¹ãã ã 2G ã®ã¡ã¢ãªå®¹éãªã 30 ãæå®ãããã¨ããããããã¾ããããããªãã®ã·ã¹ãã ã VPS ã256MB ã®ã¡ã¢ãªå®¹éã§ãMySQL ã®ãããªãµã¼ãã¹ãå
ããã§ã¯, ãã©ãããã¼ã å¥ã® RubyGems ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã解説ãã. Gfdnavi 2.2.1 ã®åä½ã¯ï¼Ruby on Rails (ä»¥å¾ Rails) 2.3.14 ãç¨ãã¦ç¢ºèªããã¦ããï¼ãããã 2.3.5 以éã§ããã°åä½ã ãã¨æ¨å®ããããï¼2.3.14 ã¾ãã¯ããã«è¿ããã¼ã¸ã§ã³ãç¨ããã®ãããã§ã ããï¼Ruby on Rails 2.3.14 ãå ¥ããå ´åã¯, RubyGems ã®ãã¼ã¸ã§ã³ã¯ 1.3.2 ä»¥ä¸ 1.7 æªæºã§ãªãã¦ã¯ãªããªã. ä¸è¬ã« Rails 㯠rubygems ã®æ°ãããã¼ã¸ã§ã³ãè¦æ±ãããã¨ãå¤ãããã ï¼ ä»å¾ã® Gfdnavi ã®éçºã«è¿½éããå ´åï¼Rails ã®ãã¼ã¸ã§ã³ã¢ãããå¿ è¦ã«ãª ãå¯è½æ§ããããï¼Rails ãã¢ãããã¼ããã㨠rubygems ã®ã¢ãããã¼ãã è¿«ããããã¨ãããï¼rubygems ãã½ã¼ã¹ããå ¥
æµ·å¤ã®æ ¼å®vpsã¬ã³ã¿ã«ãµã¼ãã®Slicehostã¨Linodeã両æ¹åãã¦è©¦ãã¾ãããLinodeã使ã£ã¦è¡ããã¨ã«ãã¾ãããSlicehostã¯ã¢ã¼ããã¯ãã£ãx86_64åºå®ã«å¯¾ãã¦Linodeã¯èªç±ã«é¸ã¹ãã®ã§rpmå¨ã«åªããã§ãã 以ä¸ãLinodeä¸ã®CentOSã¸ã®Railsã¤ã³ã¹ãã¼ã«æé ç°å¢ãã§ã㯠[root@hogehoge ~]# uname -s Linux [root@hogehoge ~]# uname -r 2.6.18.8-linode10 [root@hogehoge ~]# uname -v #2 SMP Sat Jul 19 20:24:32 EDT 2008 [root@hogehoge ~]# uname -m i686 [root@hogehoge ~]# uname -p i686 [root@hogehoge ~]# uname -i i
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}