Sunday, April 3, 2011

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...

No comments:

Post a Comment