Monthly Archives: septiembre 2011

Instalar Ruby, Gems and Rails

Instalar Ruby 1-.aptitude install ruby libzlib-ruby rdoc irb test # irb rb(main):001:0> 3+5 => 8 irb(main):002:0> 4*20 => 80 irb(main):003:0> foo=”bar” => “bar” irb(main):004:0> foo.reverse => “rab” irb(main):005:0> bar=40 => 40 irb(main):006:0> bar.to_s.reverse => “04” irb(main):007:0> exit Instalar Gem 1-.Descargar Gem 2-.tar zxvf rubygems-0.8.XX.tgz 3-.cd rubygems-0.8.xx 4-.ruby setup.rb all 5-.sudo apt-get install ruby1.8-dev Rails 1-.sudo […]