Recently I have studied SVN using the HTTP protocol, but most of them are using Apache to integrate SVN on the Internet. I don't want to use Apache + SVN. I finally found many pages on Google, but it is required to install Ruby on Rails first, so we have the following article. system: centos 5.5 required software: ruby-1.9.3-rc1.tar.gz rubygems-1.8.23.tgz1. install rubywget http://ruby.taobao.org/mirrors/ruby/1.9/ruby-1.9.3-rc1.tar.gztar zxf ruby-1.9.3-rc1.tar.gz & CD ruby-1.9.3-rc1. /configure -- prefix =/usr/local/ruby -- enable-pthreadmake & make install and add the environment variable VI/etc/profilepath = $ path to Ruby: /usr/local/Ruby/binexport path verification: Ruby-V shows that Ruby is successfully installed. 2. install rubygemswget http://files.rubyforge.vm.bytemark.co.uk/rubygems/rubygems-1.8.23.tgztar XF rubygems-1.8.23.tgz & CD rubygems-1.8.23ruby setup. if RB appears, you can install rails on ruby3. normally, run gem install rails -- include-dependencies to automatically install rails on Ruby, of course, the premise is that your machine can access the Internet. gem install rails -- include-dependencies if a file 'lib 'Not Found error occurs, you can execute the following command to solve the problem of GEM install rdoc. This is a rails solution that is too fast to develop, the reason why the rdoc module compiled by default cannot keep up. then proceed to the Gem install rails. 4. verify that Ruby on Rails is installed with rails-V. You can see that rails has been successfully installed.
Install Ruby on Rails on centos