Created
August 13, 2010 04:14
-
-
Save marshluca/522257 to your computer and use it in GitHub Desktop.
Ruby on rails Configure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ruby developer packages | |
sudo apt-get install ruby1.8 ri1.8 rdoc1.8 irb1.8 | |
sudo apt-get install libreadline-ruby1.8 libruby1.8 libopenssl-ruby | |
# hpricot requirements | |
sudo apt-get install ruby1.8-dev | |
sudo gem install hpricot | |
# nokogiri requirements | |
sudo apt-get install libxslt-dev libxml2-dev | |
sudo gem install nokogiri | |
# mysql adapter | |
apt-get install libmysql++-dev | |
sudo gem install mysql | |
# mongodb driver | |
sudo gem install mongo_mapper | |
# lighttpd and apache2 control | |
sudo apt-get install lighttpd | |
/etc/init.d/apache2 start|restart|stop | |
/etc/init.d/lighttpd start|restart|stop | |
# fcgi | |
sudo apt-get install libfcgi-dev | |
sudo apt-get install libfcgi-ruby1.8 | |
sudo gem install ruby-fcgi | |
# rails | |
sudo gem install rails -v 2.1.2 | |
You're running: | |
ruby 1.8.7.249 at /usr/bin/ruby1.8 | |
rubygems 1.3.7 at /root/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment