Xiao Peng

My personal blog moves to xiaopeng.me , blogs about design patterns will be synced to here.
肖鹏,ThoughtWorks资深咨询师,目前关注于架构模式、敏捷软件开发等领域,并致力于软件开发最佳实践的推广和应用。
多次为国内大型企业敏捷组织转型提供咨询和培训服务,在大型团队持续集成方面具有丰富的经验。
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

Setup Ubuntu for Ruby on Rails developement

Posted on 2011-01-30 22:23  勇敢的鸵鸟  阅读(180)  评论(0编辑  收藏  举报

This is to setup a developement environment for Ruby 1.87 and Rails 2.2.3 on Ubuntu 10.04 (Lucid). [sourcecode language="bash"] # make sure ubuntu is up to date $ sudo apt-get update $ sudo apt-get dist-upgrade # install ruby $ sudo apt-get install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 libreadline-ruby1.8 libruby1.8 libopenssl-ruby rubygems1.8 # install sqlite3 $ sudo apt-get install sqlite3 libsqlite3-ruby1.8 libsqlite3-dev # install rails $ sudo gem install rails -v 2.2.3 --no-ri --no-rdoc $ sudo gem install ruby-debug-base ruby-debug-ide [/sourcecode]