h1. Installation
Switch to root user
h2. Install Ruby, Rails
apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri
apt-get install rubygems
gem update --system
gem install rails -y
h2. Install Mongrel, MySQL
apt-get install mysql-server-5.0
apt-get install build-essential
apt-get install ruby1.8-dev
gem install mongrel
gem install mysql
h2. Install emacs(snapshot 22.0), ruby-mode, emacs-rails
gem install emacs-snapshot
cd $HOME/.emacs.d/
svn co http://svn.ruby-lang.org/repos/ruby/trunk/misc/ ruby
svn co svn://rubyforge.org/var/svn/emacs-rails/trunk rails
Add this code in $HOME/.emacs
(setq load-path (cons "~/.emacs.d/ruby" load-path))
(setq load-path (cons "~/.emacs.d/rails" load-path))
(require 'rails)
h2. Resources
Install Rails On Ubuntu
Rails On Emacs
Saturday, July 07, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment