Instalando Ruby on Rails 1.1 en mi Ubuntu Dapper

April 1, 2006 at 3:32 pm 1 comment

Luego de haber reinstalado mi Ubuntu (esta vez, instalando la ultima version en desarrollo, Dapper Drake) me decidi a instalar Ruby on rails version 1.1 que salió hace pocos días.

Ya habia instalado por synaptic el lenguage Ruby 1.8 (paquetes ruby,libruby,rdoc,ri,etc)

Me base del blog post de acá.

Comencemos:

Voy a instalarRubyOnRais de un GEM, que es un sistema de paquetes de programas/libs ruby.

sudo apt-get install libzlib-ruby


Me bajo el rubygems (rubygems-0.8.11.tgz)

Descomprimo el paquete tgz y lo instalo:

cd rubygems-0.8.11

sudo ruby setup.rb

Ya tenemos instalado el gem y podemos instalar rails:

sudo gem install rails –include-dependencies

Attempting local installation of 'rails'Local gem file not found: rails*.gemAttempting remote installation of 'rails'
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-1.1.0
Successfully installed rake-0.7.0
Successfully installed activesupport-1.3.0
Successfully installed activerecord-1.14.0
Successfully installed actionpack-1.12.0
Successfully installed actionmailer-1.2.0
Successfully installed actionwebservice-1.1.0
Installing RDoc documentation for rake-0.7.0…
Installing RDoc documentation for activesupport-1.3.0…
Installing RDoc documentation for activerecord-1.14.0…
Successfully installed actionpack-1.12.0
Successfully installed actionmailer-1.2.0
Successfully installed actionwebservice-1.1.0
Installing RDoc documentation for rake-0.7.0…
Installing RDoc documentation for activesupport-1.3.0…
Installing RDoc documentation for activerecord-1.14.0…
Installing RDoc documentation for actionpack-1.12.0…
Installing RDoc documentation for actionmailer-1.2.0…
Installing RDoc documentation for actionwebservice-1.1.0…

rails miproyecto
create
create app/controllers
create app/helpers
create app/models
create app/views/layouts
create config/environments
create components
create db
create doc
create lib
create lib/tasks
create log
create public/images
create public/javascripts
create public/stylesheets
create script/performance
create script/process
create test/fixtures
create test/functional
create test/integration
create test/mocks/development
create test/mocks/test
create test/unit
create vendor
create vendor/plugins
create tmp/sessions
create tmp/sockets
create tmp/cache
create Rakefile
create README
create app/controllers/application.rb
create app/helpers/application_helper.rb
create test/test_helper.rb
create config/database.yml
create config/routes.rb
create public/.htaccess
create config/boot.rb
create config/environment.rb
create config/environments/production.rb
create config/environments/development.rb
create config/environments/test.rb
create script/about
create script/breakpointer
create script/console
create script/destroy
create script/generate
create script/performance/benchmarker
create script/performance/profiler
create script/process/reaper
create script/process/spawner
create script/runner
create script/server
create script/plugin
create public/dispatch.rb
create public/dispatch.cgi
create public/dispatch.fcgi
create public/404.html
create public/500.html
create public/index.html
create public/favicon.ico
create public/robots.txt
create public/images/rails.png
create public/javascripts/prototype.js
create public/javascripts/effects.js
create public/javascripts/dragdrop.js
create public/javascripts/controls.js
create public/javascripts/application.js
create doc/README_FOR_APP
create log/server.log
create log/production.log
create log/development.log
create log/test.log

cd miproyecto/

ruby script/server

=> Booting WEBrick…=> Rails application started on http://0.0.0.0:3000=> Ctrl-C to shutdown server; call with –help for options
[2006-04-01 09:19:16] INFO WEBrick 1.3.1
[2006-04-01 09:19:16] INFO ruby 1.8.4 (2005-12-24) [i486-linux]
[2006-04-01 09:19:16] INFO WEBrick::HTTPServer#start: pid=24597 port=3000
127.0.0.1 – – [01/Apr/2006:09:19:31 ART] "GET / HTTP/1.1" 200 7552

Screenshot obligatorio:

mi pc on Rails

Entry filed under: Ruby.

Frase de Guido Van Rossum Nadia!

1 Comment Add your own

  • 1. lodine  |  February 3, 2007 at 10:05 am

    lodine

    news

Leave a comment

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

April 2006
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Most Recent Posts