Wednesday, April 27, 2011

Updating Geany on Ubuntu, using PPA (Personal Package Archive)

Since Ubuntu's version of Geany is 0.19, I ppdated Geany to 0.20 using PPA (Personal Package Archive).

1. Sources.
Geany Home Page: http://www.geany.org
PPA for Geany Developers: https://launchpad.net/~geany-dev/+archive/ppa

2. Add Geany PPA (ppa:geany-dev/ppa) to my Ubuntu.
$ sudo apt-add-repository ppa:geany-dev/ppa
$ sudo apt-get update

3. Install Geany
$ sudo apt-get install geany

4. Confirm.
$ geany --version
geany 0.20 

Sunday, April 24, 2011

First time with Netzke (ExtJS + Rails) Framework

1. Sources.
Netzke home page: http://netzke.org/
ExtJS download site: http://www.sencha.com/products/extjs/download/
Rails home page: http://rubyonrails.org/

2. Create a small Netzke app.
I followed the article "ExtJS/Rails CRUD Application in 7 Minutes" from the Netzke home page.

$ cd ~/work/ruby/rails/
$ rails new netzke_task_manager && cd netzke_task_manager
      create  
      create  README
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/mailers
      create  app/models
      create  app/views/layouts/application.html.erb
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/secret_token.rb
      create  config/initializers/session_store.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  doc
      create  doc/README_FOR_APP
      create  lib
      create  lib/tasks
      create  lib/tasks/.gitkeep
      create  log
      create  log/server.log
      create  log/production.log
      create  log/development.log
      create  log/test.log
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/index.html
      create  public/robots.txt
      create  public/images
      create  public/images/rails.png
      create  public/stylesheets
      create  public/stylesheets/.gitkeep
      create  public/javascripts
      create  public/javascripts/application.js
      create  public/javascripts/controls.js
      create  public/javascripts/dragdrop.js
      create  public/javascripts/effects.js
      create  public/javascripts/prototype.js
      create  public/javascripts/rails.js
      create  script
      create  script/rails
      create  test
      create  test/fixtures
      create  test/functional
      create  test/integration
      create  test/performance/browsing_test.rb
      create  test/test_helper.rb
      create  test/unit
      create  tmp
      create  tmp/sessions
      create  tmp/sockets
      create  tmp/cache
      create  tmp/pids
      create  vendor/plugins
      create  vendor/plugins/.gitkeep
$ netzke_task_manager$

2. Edit Gemfile.
$ gedit Gemfile
The following three lines added to the Gemfile.
gem 'netzke-core', :git => "git://github.com/skozlov/netzke-core.git"
gem 'netzke-basepack', :git => "git://github.com/skozlov/netzke-basepack.git"
gem 'will_paginate', '~>3.0.pre2'
Be sure to add the last line to install will_paginate gem.






















3. Install these gems.
$ bundle install
Fetching git://github.com/skozlov/netzke-core.git
remote: Counting objects: 5460, done.
remote: Compressing objects: 100% (2121/2121), done.
remote: Total 5460 (delta 3491), reused 4726 (delta 3015)
Receiving objects: 100% (5460/5460), 794.44 KiB, done.
Resolving deltas: 100% (3491/3491), done.
Fetching git://github.com/skozlov/netzke-basepack.git
remote: Counting objects: 7322, done.
remote: Compressing objects: 100% (2641/2641), done.
remote: Total 7322 (delta 4997), reused 6375 (delta 4268)
Receiving objects: 100% (7322/7322), 1.09 MiB, done.
Resolving deltas: 100% (4997/4997), done.
Fetching source index for http://rubygems.org/
Using rake (0.8.7) 
Using abstract (1.0.0) 
Using activesupport (3.0.7) 
Using builder (2.1.2) 
Using i18n (0.5.0) 
Using activemodel (3.0.7) 
Using erubis (2.6.6) 
Using rack (1.2.2) 
Using rack-mount (0.6.14) 
Using rack-test (0.5.7) 
Using tzinfo (0.3.26) 
Using actionpack (3.0.7) 
Using mime-types (1.16) 
Using polyglot (0.3.1) 
Using treetop (1.4.9) 
Using mail (2.2.17) 
Using actionmailer (3.0.7) 
Using arel (2.0.9) 
Using activerecord (3.0.7) 
Using activeresource (3.0.7) 
Installing acts_as_list (0.1.2) 
Using bundler (1.0.12) 
Installing meta_where (1.0.4) 
Using netzke-core (0.6.7) from git://github.com/skozlov/netzke-core.git (at master) 
Installing will_paginate (3.0.pre2) 
Using netzke-basepack (0.6.5) from git://github.com/skozlov/netzke-basepack.git (at master) 
Using thor (0.14.6) 
Using railties (3.0.7) 
Using rails (3.0.7) 
Using sqlite3 (1.3.3) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

4. Create a link to ExtJS folder.
$ ln -s ~/work/extjs/ext-3.3.1/ public/extjs


5. Modify config/routes.rb file.
The following two lines are added to the file.
netzke
root :to => "welcome#index"





















6. Remove the default index file and create a welcome index controller.
$ rm public/index.html
$ rails g controller welcome index
      create  app/controllers/welcome_controller.rb
       route  get "welcome/index"
      invoke  erb
      create    app/views/welcome
      create    app/views/welcome/index.html.erb
      invoke  test_unit
      create    test/functional/welcome_controller_test.rb
      invoke  helper
      create    app/helpers/welcome_helper.rb
      invoke    test_unit
      create      test/unit/helpers/welcome_helper_test.rb

7. Create a model.
$ rails g model Task done:boolean name:string notes:text priority:integer due:date
      invoke  active_record
      create    db/migrate/20110424232813_create_tasks.rb
      create    app/models/task.rb
      invoke    test_unit
      create      test/unit/task_test.rb
      create      test/fixtures/tasks.yml

Modify the 20110424232813_create_tasks.rb by adding "default => false" for "done" boolean field.

















8. Migrate.
$ rake db:migrate
(in .../work/ruby/rails/netzke_task_manager)
==  CreateTasks: migrating ====================================================
-- create_table(:tasks)
   -> 0.0341s
==  CreateTasks: migrated (0.0342s) ===========================================




9. Edit /models/task.rb.
Insert the following two lines in the class Task.
validates_presence_of :name
 default_scope :conditions => {:done => false}












10. Modify /app/views/welcome/index.html.erb.
Replace the contents with the following single line.
<%= netzke :tasks, :class_name => "Basepack::GridPanel", :model => "Task" %>








11. Launch the server.
$ rails server
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-04-24 23:20:26] INFO  WEBrick 1.3.1
[2011-04-24 23:20:26] INFO  ruby 1.9.2 (2011-02-18) [i686-linux]
[2011-04-24 23:20:26] INFO  WEBrick::HTTPServer#start: pid=23545 port=3000


12. Result

Installing SQLite3 gem

Installed SQLIte3 gem.
$ gem install sqlite3
Building native extensions.  This could take a while...
Successfully installed sqlite3-1.3.3
1 gem installed
Installing ri documentation for sqlite3-1.3.3...
Installing RDoc documentation for sqlite3-1.3.3...

Installing Rails on Ubuntu

Installed Rails (3.0) on my Ubuntu (10.10).

1. Since my Ubuntu has multiple versions of Ruby installed, I make sure first that I am using Ruby 1.9.2 with recently installed rvm.
$ rvm use 1.9.2
Using /home/socrateos/.rvm/gems/ruby-1.9.2-p180

2. Install Rails.
$ gem install rails
Successfully installed activesupport-3.0.7
Successfully installed builder-2.1.2
Successfully installed i18n-0.5.0
Successfully installed activemodel-3.0.7
Successfully installed rack-1.2.2
Successfully installed rack-test-0.5.7
Successfully installed rack-mount-0.6.14
Successfully installed tzinfo-0.3.26
Successfully installed abstract-1.0.0
Successfully installed erubis-2.6.6
Successfully installed actionpack-3.0.7
Successfully installed arel-2.0.9
Successfully installed activerecord-3.0.7
Successfully installed activeresource-3.0.7
Successfully installed mime-types-1.16
Successfully installed polyglot-0.3.1
Successfully installed treetop-1.4.9
Successfully installed mail-2.2.17
Successfully installed actionmailer-3.0.7
Successfully installed thor-0.14.6
Successfully installed railties-3.0.7
Successfully installed bundler-1.0.12
Successfully installed rails-3.0.7
23 gems installed
Installing ri documentation for activesupport-3.0.7...
Installing ri documentation for builder-2.1.2...
Installing ri documentation for i18n-0.5.0...
Installing ri documentation for activemodel-3.0.7...
Installing ri documentation for rack-1.2.2...
Installing ri documentation for rack-test-0.5.7...
Installing ri documentation for rack-mount-0.6.14...
Installing ri documentation for tzinfo-0.3.26...
Installing ri documentation for abstract-1.0.0...
Installing ri documentation for erubis-2.6.6...
Installing ri documentation for actionpack-3.0.7...
Installing ri documentation for arel-2.0.9...
Installing ri documentation for activerecord-3.0.7...
Installing ri documentation for activeresource-3.0.7...
Installing ri documentation for mime-types-1.16...
Installing ri documentation for polyglot-0.3.1...
Installing ri documentation for treetop-1.4.9...
Installing ri documentation for mail-2.2.17...
Installing ri documentation for actionmailer-3.0.7...
Installing ri documentation for thor-0.14.6...
Installing ri documentation for railties-3.0.7...
Installing ri documentation for bundler-1.0.12...
Installing ri documentation for rails-3.0.7...
Installing RDoc documentation for activesupport-3.0.7...
Installing RDoc documentation for builder-2.1.2...
Installing RDoc documentation for i18n-0.5.0...
Installing RDoc documentation for activemodel-3.0.7...
Installing RDoc documentation for rack-1.2.2...
Installing RDoc documentation for rack-test-0.5.7...
Installing RDoc documentation for rack-mount-0.6.14...
Installing RDoc documentation for tzinfo-0.3.26...
Installing RDoc documentation for abstract-1.0.0...
Installing RDoc documentation for erubis-2.6.6...
Installing RDoc documentation for actionpack-3.0.7...
Installing RDoc documentation for arel-2.0.9...
Installing RDoc documentation for activerecord-3.0.7...
Installing RDoc documentation for activeresource-3.0.7...
Installing RDoc documentation for mime-types-1.16...
Installing RDoc documentation for polyglot-0.3.1...
Installing RDoc documentation for treetop-1.4.9...
Installing RDoc documentation for mail-2.2.17...
Installing RDoc documentation for actionmailer-3.0.7...
Installing RDoc documentation for thor-0.14.6...
Installing RDoc documentation for railties-3.0.7...
Installing RDoc documentation for bundler-1.0.12...
Installing RDoc documentation for rails-3.0.7...

3. Let's see what I got.
$ rails -v
Rails 3.0.7

$ gem list

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.7)
actionpack (3.0.7)
activemodel (3.0.7)
activerecord (3.0.7)
activeresource (3.0.7)
activesupport (3.0.7)
arel (2.0.9)
builder (2.1.2)
bundler (1.0.12)
erubis (2.6.6)
i18n (0.5.0)
mail (2.2.17)
mime-types (1.16)
pg (0.11.0)
polyglot (0.3.1)
rack (1.2.2)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.7)
railties (3.0.7)
rake (0.8.7)
sequel (3.22.0)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.26)


4. Create a test app.
$ cd ~/work/ruby/rails/
$ rails new app01
      create  
      create  README
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/mailers
      create  app/models
      create  app/views/layouts/application.html.erb
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/secret_token.rb
      create  config/initializers/session_store.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  doc
      create  doc/README_FOR_APP
      create  lib
      create  lib/tasks
      create  lib/tasks/.gitkeep
      create  log
      create  log/server.log
      create  log/production.log
      create  log/development.log
      create  log/test.log
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/index.html
      create  public/robots.txt
      create  public/images
      create  public/images/rails.png
      create  public/stylesheets
      create  public/stylesheets/.gitkeep
      create  public/javascripts
      create  public/javascripts/application.js
      create  public/javascripts/controls.js
      create  public/javascripts/dragdrop.js
      create  public/javascripts/effects.js
      create  public/javascripts/prototype.js
      create  public/javascripts/rails.js
      create  script
      create  script/rails
      create  test
      create  test/fixtures
      create  test/functional
      create  test/integration
      create  test/performance/browsing_test.rb
      create  test/test_helper.rb
      create  test/unit
      create  tmp
      create  tmp/sessions
      create  tmp/sockets
      create  tmp/cache
      create  tmp/pids
      create  vendor/plugins
      create  vendor/plugins/.gitkeep

4. Run.
$ cd app01
$ rails server
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-04-24 10:51:41] INFO  WEBrick 1.3.1
[2011-04-24 10:51:41] INFO  ruby 1.9.2 (2011-02-18) [i686-linux]
[2011-04-24 10:51:41] INFO  WEBrick::HTTPServer#start: pid=15464 port=3000

5. Result.

Tuesday, April 19, 2011

Installing Shotgun (Ruby gem)

$ sudo gem install shotgun
Successfully installed shotgun-0.9
1 gem installed
Installing ri documentation for shotgun-0.9...
Installing RDoc documentation for shotgun-0.9...

$ sudo gem1.9.1 install shotgun
Successfully installed shotgun-0.9
1 gem installed
Installing ri documentation for shotgun-0.9...
Installing RDoc documentation for shotgun-0.9...

Installing Markaby

$ sudo gem install markaby
Successfully installed builder-3.0.0
Successfully installed markaby-0.7.1
2 gems installed
Installing ri documentation for builder-3.0.0...
ERROR: While generating documentation for builder-3.0.0
... MESSAGE: Unhandled special: Special: type=17, text=""
... RDOC args: --ri --op /var/lib/gems/1.8/doc/builder-3.0.0/ri --title Builder -- Easy XML Building --main README.rdoc --line-numbers --quiet lib CHANGES Rakefile README README.rdoc TAGS doc/releases/builder-1.2.4.rdoc doc/releases/builder-2.0.0.rdoc doc/releases/builder-2.1.1.rdoc --title builder-3.0.0 Documentation
(continuing with the rest of the installation)
Installing ri documentation for markaby-0.7.1...
Installing RDoc documentation for builder-3.0.0...
Installing RDoc documentation for markaby-0.7.1...

$ sudo gem1.9.1 install markaby
Successfully installed builder-3.0.0
Successfully installed markaby-0.7.1
2 gems installed
Installing ri documentation for builder-3.0.0...
Installing ri documentation for markaby-0.7.1...
Installing RDoc documentation for builder-3.0.0...
Installing RDoc documentation for markaby-0.7.1...

Installing Slim

$ sudo gem install slim
Successfully installed temple-0.2.0
Successfully installed slim-0.9.2
2 gems installed
Installing ri documentation for temple-0.2.0...
Installing ri documentation for slim-0.9.2...
Installing RDoc documentation for temple-0.2.0...
Installing RDoc documentation for slim-0.9.2...
ERROR: While generating documentation for slim-0.9.2
... MESSAGE: Unhandled special: Special: type=17, text=""
... RDOC args: --op /var/lib/gems/1.8/doc/slim-0.9.2/rdoc --charset=UTF-8 --quiet lib README.md --title slim-0.9.2 Documentation
(continuing with the rest of the installation)
$ sudo gem1.9.1 install slim
Successfully installed temple-0.2.0
Successfully installed slim-0.9.2
2 gems installed
Installing ri documentation for temple-0.2.0...
Installing ri documentation for slim-0.9.2...
Installing RDoc documentation for temple-0.2.0...
Installing RDoc documentation for slim-0.9.2...

Installing Sinatra 1.2

~$ gem list sinatra

*** LOCAL GEMS ***

sinatra (1.1.0)

$ sudo gem install sinatra -v 1.2.0
Successfully installed tilt-1.2.2
Successfully installed sinatra-1.2.0
2 gems installed
Installing ri documentation for tilt-1.2.2...
Installing ri documentation for sinatra-1.2.0...
Installing RDoc documentation for tilt-1.2.2...
Installing RDoc documentation for sinatra-1.2.0...

~$ sudo gem1.9.1 install sinatra -v 1.2.0
Successfully installed tilt-1.2.2
Successfully installed sinatra-1.2.0
2 gems installed
Installing ri documentation for tilt-1.2.2...
Installing ri documentation for sinatra-1.2.0...
Installing RDoc documentation for tilt-1.2.2...
Installing RDoc documentation for sinatra-1.2.0...

~$ gem list sinatra

*** LOCAL GEMS ***

sinatra (1.2.0, 1.1.0)

Installing RVM (Ruby Version Manager)

I really like PIK (a Ruby version manager) for Windows. It is very simple to install and use. So I am happy to find that there is a similar program for Linux (RVM).

1. Resources.
RVM Home Page
Installing RVM on Linux By Michael Morin
How to install RVM on Ubuntu 10.04 by IRISH

2. Preparation for Installation.
a. Install git, using Synaptic.
b. Install curl, using Synaptic

3. Install vrm.
Execute the following on the shell.
$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)


4. Modify /.bashrc
First repalce
[ -z "$PS1" ] && return
with
if [[ -n "$PS1" ]]; then
.
.
.
fi # last line of the file
Then, add the following just before the last fi.
if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi

Sunday, April 17, 2011

Ruby Gems for PostgreSQL and Simple Web Frameworks

Check installation of ruby gems for PostgreSQL access and simple (non-Rails) Web frameworks.
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'pg'
=> true
irb(main):003:0> require 'sequel'
=> true
irb(main):004:0> require 'sinatra'
=> true
irb(main):005:0> require 'ramaze'
=> true
irb(main):006:0> exit
$ irb1.9.1 
irb(main):001:0> require 'pg'
=> true
irb(main):002:0> require 'sequel'
=> true
irb(main):003:0> require 'sinatra'
=> true
irb(main):004:0> require 'ramaze'
=> true
irb(main):005:0> exit

Updating pgAdmin III to 1.12 on Ubuntu, using PPA (Personal Package Archives)

Updated pgAdmin ||| to 1.12 on Ubuntu (10.10), using PPA (Personal Package Archives).
This is so that I can access a PostgreSQL 9.0 server running on another machine (Windows 2003) from Ubuntu.

1. Resouces:
https://launchpad.net/~pitti/+archive/postgresql/+packages
http://archives.postgresql.org/pgsql-general/2011-01/msg00743.php
https://help.launchpad.net/Packaging/PPA

2. Add a PPA (ppa:pitti/postgresql) to my Ubuntu.
$ sudo add-apt-repository ppa:pitti/postgresql
$ sudo apt-get update

3. Install
$ sudo apt-get install pgadmin3

4. Launch it to test
$ pgadmin3
Yes, it is 1.12.1.

Upgrading PostgreSQL from 8.3 to 9.0.4 (Windows 2003 Server)

Updating my old PostgreSQL server on my Windows Server 2003.

1. Backup the current server.
  a. Open pgAdminIII on the sever machine.
  b. Connect to the PostgresSQL server.
  c. Goto Menubar to select Tools menu and Backup Server... option
  d. Specify a backup file name (PgSQLBkup83-2011-04-16.sql).
  e. Press OK to execute backup.

2. Stop and Disable the server.
  a. Open Windows Services control panel.
  b. Stop the "PostgreSQL Database Server 8.3" service.
  c. Disabled the service.

3. Download new version of PostgreSQL.
  a. Go to www.enterprisedb.com
  b. Download an installer: postgresql-9.0.4-1-windows.exe.

4. Install the software.
  a. Accept default install directory: c:\program files\PostgreSQL\9.0\data
  b. Provide user "postgres" account's password.
      I could not remember the password. So I reset the password.
  c. Accept deafult port: 5432
  d. Do not install Stack Builder (extra stuff from EnterpriseDB).
  e. Check the installation (postgresql-9.0, started) in the Services window.
  f. Test login from pgAdminIII (Start > All Programs > PostgreSQL 9.0 > pgAdmin III).

5. Restore the data.
  a. login to Windows with postgres account.
  b. execute: psql -f path\to\mybackupfile postgres.
C:\Program Files\PostgreSQL\9.0\bin\psql -f e:\PGSQLBKUPS\PgSQL83Bkup2011-04-16.sql postgres

6. Restore config.
  a. Rename pg_hba.conf as pg_hba.conf.bak.original in 9.0 directory (c:\program files\PostgreSQL\9.0\data)
  b. Restore pg_hba.conf by copying from 8.3 directory (c:\program files\PostgreSQL\8.3\data).
  c. I did not do anything about postgresql.conf as I wanted to start with default settings.

7. Test connection and databases.
  Everything looks good.

8. To do.
  a. Setup automatic daily backups
  b. Set environmental variable PATH to psql/bin.

Sunday, April 3, 2011

Installing ruby-dicom on Windows (vista) using pik

I installed ruby-dicom gem (dicom) on my Windows.
C:\>pik gem install dicom
ruby 1.8.6 (2010-02-04 patchlevel 398) [i386-mingw32]

Successfully installed dicom-0.8
1 gem installed
Installing ri documentation for dicom-0.8...
Installing RDoc documentation for dicom-0.8...

ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-mingw32]

Successfully installed dicom-0.8
1 gem installed
Installing ri documentation for dicom-0.8...
Installing RDoc documentation for dicom-0.8...

ruby 1.9.1p430 (2010-08-16 revision 28998) [i386-mingw32]

Successfully installed dicom-0.8
1 gem installed
Installing ri documentation for dicom-0.8...
Updating class cache with 1814 classes...
Installing RDoc documentation for dicom-0.8...

ruby 1.9.2p136 (2010-12-25) [i386-mingw32]

Successfully installed dicom-0.8
1 gem installed
Installing ri documentation for dicom-0.8...
Installing RDoc documentation for dicom-0.8...

Installing Rails on Windows

I installed Rails on Windows (vista) using pik.
It failed for ruby 1.8.x.

C:\>pik gem install rails
ruby 1.8.6 (2010-02-04 patchlevel 398) [i386-mingw32]

ERROR:  Error installing rails:
        activesupport requires Ruby version >= 1.8.7.

ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-mingw32]

ERROR:  While executing gem ... (Zlib::GzipFile::Error)
    not in gzip format

ruby 1.9.1p430 (2010-08-16 revision 28998) [i386-mingw32]

Successfully installed activesupport-3.0.5
Successfully installed builder-2.1.2
Successfully installed i18n-0.5.0
Successfully installed activemodel-3.0.5
Successfully installed rack-test-0.5.7
Successfully installed rack-mount-0.6.14
Successfully installed tzinfo-0.3.26
Successfully installed abstract-1.0.0
Successfully installed erubis-2.6.6
Successfully installed actionpack-3.0.5
Successfully installed arel-2.0.9
Successfully installed activerecord-3.0.5
Successfully installed activeresource-3.0.5
Successfully installed mime-types-1.16
Successfully installed polyglot-0.3.1
Successfully installed treetop-1.4.9
Successfully installed mail-2.2.15
Successfully installed actionmailer-3.0.5
Successfully installed rake-0.8.7
Successfully installed thor-0.14.6
Successfully installed railties-3.0.5
Successfully installed bundler-1.0.11
Successfully installed rails-3.0.5
23 gems installed
Installing ri documentation for activesupport-3.0.5...
Installing ri documentation for builder-2.1.2...
Installing ri documentation for i18n-0.5.0...
Installing ri documentation for activemodel-3.0.5...
Installing ri documentation for rack-test-0.5.7...
Installing ri documentation for rack-mount-0.6.14...
Installing ri documentation for tzinfo-0.3.26...
Installing ri documentation for abstract-1.0.0...
Installing ri documentation for erubis-2.6.6...
Installing ri documentation for actionpack-3.0.5...
Installing ri documentation for arel-2.0.9...
Installing ri documentation for activerecord-3.0.5...
ERROR:  While executing gem ... (Errno::EINVAL)
    Invalid argument - ./</cdesc->.yaml

ruby 1.9.2p136 (2010-12-25) [i386-mingw32]

Successfully installed activesupport-3.0.5
Successfully installed builder-2.1.2
Successfully installed i18n-0.5.0
Successfully installed activemodel-3.0.5
Successfully installed rack-test-0.5.7
Successfully installed rack-mount-0.6.14
Successfully installed tzinfo-0.3.26
Successfully installed abstract-1.0.0
Successfully installed erubis-2.6.6
Successfully installed actionpack-3.0.5
Successfully installed arel-2.0.9
Successfully installed activerecord-3.0.5
Successfully installed activeresource-3.0.5
Successfully installed mime-types-1.16
Successfully installed polyglot-0.3.1
Successfully installed treetop-1.4.9
Successfully installed mail-2.2.15
Successfully installed actionmailer-3.0.5
Successfully installed thor-0.14.6
Successfully installed railties-3.0.5
Successfully installed bundler-1.0.11
Successfully installed rails-3.0.5
22 gems installed
Installing ri documentation for activesupport-3.0.5...
Installing ri documentation for builder-2.1.2...
Installing ri documentation for i18n-0.5.0...
Installing ri documentation for activemodel-3.0.5...
Installing ri documentation for rack-test-0.5.7...
Installing ri documentation for rack-mount-0.6.14...
Installing ri documentation for tzinfo-0.3.26...
Installing ri documentation for abstract-1.0.0...
Installing ri documentation for erubis-2.6.6...
Installing ri documentation for actionpack-3.0.5...
Installing ri documentation for arel-2.0.9...
Installing ri documentation for activerecord-3.0.5...
Installing ri documentation for activeresource-3.0.5...
Installing ri documentation for mime-types-1.16...
Installing ri documentation for polyglot-0.3.1...
Installing ri documentation for treetop-1.4.9...
Installing ri documentation for mail-2.2.15...
Installing ri documentation for actionmailer-3.0.5...
Installing ri documentation for thor-0.14.6...
Installing ri documentation for railties-3.0.5...
Installing ri documentation for bundler-1.0.11...
Installing ri documentation for rails-3.0.5...
Installing RDoc documentation for activesupport-3.0.5...
Installing RDoc documentation for builder-2.1.2...
Installing RDoc documentation for i18n-0.5.0...
Installing RDoc documentation for activemodel-3.0.5...
Installing RDoc documentation for rack-test-0.5.7...
Installing RDoc documentation for rack-mount-0.6.14...
Installing RDoc documentation for tzinfo-0.3.26...
Installing RDoc documentation for abstract-1.0.0...
Installing RDoc documentation for erubis-2.6.6...
Installing RDoc documentation for actionpack-3.0.5...
Installing RDoc documentation for arel-2.0.9...
Installing RDoc documentation for activerecord-3.0.5...
Installing RDoc documentation for activeresource-3.0.5...
Installing RDoc documentation for mime-types-1.16...
Installing RDoc documentation for polyglot-0.3.1...
Installing RDoc documentation for treetop-1.4.9...
Installing RDoc documentation for mail-2.2.15...
Installing RDoc documentation for actionmailer-3.0.5...
Installing RDoc documentation for thor-0.14.6...
Installing RDoc documentation for railties-3.0.5...
Installing RDoc documentation for bundler-1.0.11...
Installing RDoc documentation for rails-3.0.5...