Ruby: Unterschied zwischen den Versionen

Aus OrgaMon Wiki
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
gem install fireruby


* erstes Programm
* erstes Programm

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