Ruby: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 23: | Zeile 23: | ||
cd rubygems-0.9.2/ | cd rubygems-0.9.2/ | ||
gem install rails --include-dependencies | gem install rails --include-dependencies | ||
* erstes Programm | |||
rails /srv/www/htdocs/rails | |||
ruby script/server | |||
http://raib90:3000 |
Version vom 10. Februar 2007, 23:57 Uhr
Installation
- ruby
wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz tar -xzf ruby-1.8.5-p12.tar.gz cd ruby-1.8.5-p12 ./configure make make install ruby --version
- gem
wget http://rubyforge.org/frs/download.php/17190/rubygems-0.9.2.tgz tar -xzf rubygems-0.9.2.tgz cd rubygems-0.9.2/ ruby setup.rb gem --version
- rails
cd rubygems-0.9.2/ gem install rails --include-dependencies
- erstes Programm
rails /srv/www/htdocs/rails ruby script/server http://raib90:3000