Ubuntu10.04ã§rubygemsãææ°çã«ããæ¹æ³
Ubuntuã¨ããããdebianç³»ã®è©±ã§ãããåç´ã«apt-getã§rubyããã³rubygemsãã¤ã³ã¹ãã¼ã«ããå ´åããã®ãã¨
sudo gem update --system
ã¨ãã¦ã
gem update --system is disabled on Debian. RubyGems can be updated\
ã¿ãããªã¨ã©ã¼ã¨ãªã£ã¦ãã¾ãã¾ããaptã§ã®ç®¡çã¨çç¾ãåºãªãããã«æå¶ããã¦ããããã§ãã
8.10ã使ã£ã¦ãããã¯rubyã¯aptã§å ¥ãããã¨ã«ãここã«ãããããªæãã§gemã¯ç´æ¥ã¤ã³ã¹ãã¼ã«ã¿ãããªãããã¹ããã£ãã®ã§ããããã®ã¨ãããã£ã¦ã¿ã¦ãã©ãããã¹ãéããªãã£ããã§ä¸æãããã¾ããã
調ã¹ã¦è¦ãã¨ãããæè¿ã¯rubygems-updateãªããã®ãããããã§ãããç¾å¨ã¯ãUbuntuä¸ã§rubyç°å¢ãæ´ããã«ã¯ä»¥ä¸ã®æé ã§ããããã§ãã
1. rubyã®ã¤ã³ã¹ãã¼ã«
sudo apt-get install ruby-full build-essential
2. rubygemsã®ã¤ã³ã¹ãã¼ã«
sudo apt-get install rubygems
3.rubygems-updateã®ã¤ã³ã¹ãã¼ã«ã¨å®è¡
sudo gem install rubygems-update sudo update_rubygems
ãã¨ã¯railsã¨ããå¿ è¦ã«å¿ãã¦
sudo gem install rails
ã¿ããã«aptã§ãªãgemã§å ¥ãã¦ããã°OKã§ãã
æã¨å¸¸èãå¤ãã£ã¦ãã¦æ¸æã£ã¦ãã¾ãã¾ããããçµæçã«ã¯ããªãã¹ã ã¼ãºã«ã¤ã³ã¹ãã¼ã«ã§ããããã«ãªã£ã¦ãã¾ãããWebä¸ã§ã¯ã¾ã æã®æ å ±ãæ®ã£ã¦ãã¦æ··ä¹±ããããªã®ã§ãè¨äºã«èµ·ããã¦ã¿ã¾ããã