Ruby: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: == Installation == 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 ru...) |
|||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
== Installation == | == Installation == | ||
* ruby | |||
wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz | wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz | ||
Zeile 8: | Zeile 10: | ||
make install | make install | ||
ruby --version | 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 | |||
gem install fireruby | |||
* erstes Programm | |||
rails /srv/www/htdocs/rails | |||
ruby script/server | |||
http://raib90:3000 |
Aktuelle Version vom 11. Februar 2007, 00:10 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 gem install fireruby
- erstes Programm
rails /srv/www/htdocs/rails ruby script/server http://raib90:3000