¿Instalar correctamente Ruby 2.0.0 y Rails 4.1.2 en windows 7?

Iniciado por bacanzito, 1 Julio 2014, 19:51 PM

0 Miembros y 1 Visitante están viendo este tema.

bacanzito

hola yo instale el  instalador "rubyinstaller-2.0.0-p481"(x86)  en C:\\  pero alguien sabe cual es el comando para instalar Rails 4.0.4 en el cmd  , no  estoy muy seguro si lo instale bien las gemas o joyas :(

Código (bash) [Seleccionar]
Microsoft Windows [Versión 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.

C:\Users\miguel>gem install rails --include-dependencies
ERROR:  While executing gem ... (OptionParser::InvalidOption)
   invalid option: --include-dependencies

C:\Users\miguel>cd: C:\\
El nombre de archivo, el nombre de directorio o la sintaxis de la etiqueta del v
olumen no son correctos.
C:\Users\miguel>cd C:\\

C:\>gem install rails --include-dependencies
ERROR:  While executing gem ... (OptionParser::InvalidOption)
   invalid option: --include-dependencies

C:\>DIR
El volumen de la unidad C no tiene etiqueta.
El número de serie del volumen es: 5060-6643

Directorio de C:\

10/06/2009  04:42 p.m.                24 autoexec.bat
10/06/2009  04:42 p.m.                10 config.sys
29/06/2014  03:05 a.m.    <DIR>          Django165
07/11/2007  08:00 a.m.            17,734 eula.1028.txt
07/11/2007  08:00 a.m.            17,734 eula.1031.txt
07/11/2007  08:00 a.m.            10,134 eula.1033.txt
07/11/2007  08:00 a.m.            17,734 eula.1036.txt
07/11/2007  08:00 a.m.            17,734 eula.1040.txt
07/11/2007  08:00 a.m.               118 eula.1041.txt
07/11/2007  08:00 a.m.            17,734 eula.1042.txt
07/11/2007  08:00 a.m.            17,734 eula.2052.txt
07/11/2007  08:00 a.m.            17,734 eula.3082.txt
19/06/2014  11:31 p.m.    <DIR>          Game
07/11/2007  08:00 a.m.             1,110 globdata.ini
07/11/2007  08:03 a.m.           562,688 install.exe
07/11/2007  08:00 a.m.               843 install.ini
07/11/2007  08:03 a.m.            76,304 install.res.1028.dll
07/11/2007  08:03 a.m.            96,272 install.res.1031.dll
07/11/2007  08:03 a.m.            91,152 install.res.1033.dll
07/11/2007  08:03 a.m.            97,296 install.res.1036.dll
07/11/2007  08:03 a.m.            95,248 install.res.1040.dll
07/11/2007  08:03 a.m.            81,424 install.res.1041.dll
07/11/2007  08:03 a.m.            79,888 install.res.1042.dll
07/11/2007  08:03 a.m.            75,792 install.res.2052.dll
07/11/2007  08:03 a.m.            96,272 install.res.3082.dll
13/07/2009  09:37 p.m.    <DIR>          PerfLogs
30/06/2014  11:58 p.m.    <DIR>          Program Files
29/06/2014  03:08 a.m.    <DIR>          Python27
01/07/2014  08:58 a.m.    <DIR>          Ruby200
29/06/2014  05:39 p.m.    <DIR>          server
25/04/2014  12:10 a.m.    <DIR>          Users
07/11/2007  08:00 a.m.             5,686 vcredist.bmp
07/11/2007  08:09 a.m.         1,442,522 VC_RED.cab
07/11/2007  08:12 a.m.           232,960 VC_RED.MSI
01/07/2014  12:19 p.m.    <DIR>          Windows
30/06/2014  01:01 a.m.    <DIR>          xampp
             26 archivos      3,169,881 bytes
             10 dirs  266,309,779,456 bytes libres

C:\>gem install rails --include-dependencies
ERROR:  While executing gem ... (OptionParser::InvalidOption)
   invalid option: --include-dependencies

C:\>dir
El volumen de la unidad C no tiene etiqueta.
El número de serie del volumen es: 5060-6643

Directorio de C:\

10/06/2009  04:42 p.m.                24 autoexec.bat
10/06/2009  04:42 p.m.                10 config.sys
29/06/2014  03:05 a.m.    <DIR>          Django165
07/11/2007  08:00 a.m.            17,734 eula.1028.txt
07/11/2007  08:00 a.m.            17,734 eula.1031.txt
07/11/2007  08:00 a.m.            10,134 eula.1033.txt
07/11/2007  08:00 a.m.            17,734 eula.1036.txt
07/11/2007  08:00 a.m.            17,734 eula.1040.txt
07/11/2007  08:00 a.m.               118 eula.1041.txt
07/11/2007  08:00 a.m.            17,734 eula.1042.txt
07/11/2007  08:00 a.m.            17,734 eula.2052.txt
07/11/2007  08:00 a.m.            17,734 eula.3082.txt
19/06/2014  11:31 p.m.    <DIR>          Game
07/11/2007  08:00 a.m.             1,110 globdata.ini
07/11/2007  08:03 a.m.           562,688 install.exe
07/11/2007  08:00 a.m.               843 install.ini
07/11/2007  08:03 a.m.            76,304 install.res.1028.dll
07/11/2007  08:03 a.m.            96,272 install.res.1031.dll
07/11/2007  08:03 a.m.            91,152 install.res.1033.dll
07/11/2007  08:03 a.m.            97,296 install.res.1036.dll
07/11/2007  08:03 a.m.            95,248 install.res.1040.dll
07/11/2007  08:03 a.m.            81,424 install.res.1041.dll
07/11/2007  08:03 a.m.            79,888 install.res.1042.dll
07/11/2007  08:03 a.m.            75,792 install.res.2052.dll
07/11/2007  08:03 a.m.            96,272 install.res.3082.dll
13/07/2009  09:37 p.m.    <DIR>          PerfLogs
30/06/2014  11:58 p.m.    <DIR>          Program Files
29/06/2014  03:08 a.m.    <DIR>          Python27
01/07/2014  08:58 a.m.    <DIR>          Ruby200
29/06/2014  05:39 p.m.    <DIR>          server
25/04/2014  12:10 a.m.    <DIR>          Users
07/11/2007  08:00 a.m.             5,686 vcredist.bmp
07/11/2007  08:09 a.m.         1,442,522 VC_RED.cab
07/11/2007  08:12 a.m.           232,960 VC_RED.MSI
01/07/2014  12:19 p.m.    <DIR>          Windows
30/06/2014  01:01 a.m.    <DIR>          xampp
             26 archivos      3,169,881 bytes
             10 dirs  266,304,782,336 bytes libres

C:\>gem install rails
Fetching: i18n-0.6.9.gem (100%)
Successfully installed i18n-0.6.9
Fetching: thread_safe-0.3.4.gem (100%)
Successfully installed thread_safe-0.3.4
Fetching: tzinfo-1.2.1.gem (100%)
Successfully installed tzinfo-1.2.1
Fetching: minitest-5.3.5.gem (100%)
Successfully installed minitest-5.3.5
Fetching: activesupport-4.1.2.gem (100%)
Successfully installed activesupport-4.1.2
Fetching: rack-1.5.2.gem (100%)
Successfully installed rack-1.5.2
Fetching: rack-test-0.6.2.gem (100%)
Successfully installed rack-test-0.6.2
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: erubis-2.7.0.gem (100%)
Successfully installed erubis-2.7.0
Fetching: actionview-4.1.2.gem (100%)
Successfully installed actionview-4.1.2
Fetching: actionpack-4.1.2.gem (100%)
Successfully installed actionpack-4.1.2
Fetching: activemodel-4.1.2.gem (100%)
Successfully installed activemodel-4.1.2
Fetching: arel-5.0.1.20140414130214.gem (100%)
Successfully installed arel-5.0.1.20140414130214
Fetching: activerecord-4.1.2.gem (100%)
Successfully installed activerecord-4.1.2
Fetching: mime-types-1.25.1.gem (100%)
Successfully installed mime-types-1.25.1
Fetching: polyglot-0.3.5.gem (100%)
Successfully installed polyglot-0.3.5
Fetching: treetop-1.4.15.gem (100%)
Successfully installed treetop-1.4.15
Fetching: mail-2.5.4.gem (100%)
Successfully installed mail-2.5.4
Fetching: actionmailer-4.1.2.gem (100%)
Successfully installed actionmailer-4.1.2
Fetching: thor-0.19.1.gem (100%)
Successfully installed thor-0.19.1
Fetching: railties-4.1.2.gem (100%)
Successfully installed railties-4.1.2
Fetching: bundler-1.6.3.gem (100%)
Successfully installed bundler-1.6.3
Fetching: hike-1.2.3.gem (100%)
Successfully installed hike-1.2.3
Fetching: multi_json-1.10.1.gem (100%)
Successfully installed multi_json-1.10.1
Fetching: tilt-1.4.1.gem (100%)
Successfully installed tilt-1.4.1
Fetching: sprockets-2.12.1.gem (100%)
Successfully installed sprockets-2.12.1
Fetching: sprockets-rails-2.1.3.gem (100%)
Successfully installed sprockets-rails-2.1.3
Fetching: rails-4.1.2.gem (100%)
Successfully installed rails-4.1.2
Parsing documentation for i18n-0.6.9
Installing ri documentation for i18n-0.6.9
Parsing documentation for thread_safe-0.3.4
Installing ri documentation for thread_safe-0.3.4
Parsing documentation for tzinfo-1.2.1
Installing ri documentation for tzinfo-1.2.1
Parsing documentation for minitest-5.3.5
Installing ri documentation for minitest-5.3.5
Parsing documentation for activesupport-4.1.2
unable to convert "\x80" from ASCII-8BIT to UTF-8 for lib/active_support/values/
unicode_tables.dat, skipping
Installing ri documentation for activesupport-4.1.2
Parsing documentation for rack-1.5.2
Installing ri documentation for rack-1.5.2
Parsing documentation for rack-test-0.6.2
Installing ri documentation for rack-test-0.6.2
Parsing documentation for builder-3.2.2
Installing ri documentation for builder-3.2.2
Parsing documentation for erubis-2.7.0
Installing ri documentation for erubis-2.7.0
Parsing documentation for actionview-4.1.2
Installing ri documentation for actionview-4.1.2
Parsing documentation for actionpack-4.1.2
Installing ri documentation for actionpack-4.1.2
ERROR:  While executing gem ... (Errno::EINVAL)
   Invalid argument - ./ActionDispatch/Routing/Mapper/Scoping/:

C:\>dir
El volumen de la unidad C no tiene etiqueta.
El número de serie del volumen es: 5060-6643

Directorio de C:\

10/06/2009  04:42 p.m.                24 autoexec.bat
10/06/2009  04:42 p.m.                10 config.sys
29/06/2014  03:05 a.m.    <DIR>          Django165
07/11/2007  08:00 a.m.            17,734 eula.1028.txt
07/11/2007  08:00 a.m.            17,734 eula.1031.txt
07/11/2007  08:00 a.m.            10,134 eula.1033.txt
07/11/2007  08:00 a.m.            17,734 eula.1036.txt
07/11/2007  08:00 a.m.            17,734 eula.1040.txt
07/11/2007  08:00 a.m.               118 eula.1041.txt
07/11/2007  08:00 a.m.            17,734 eula.1042.txt
07/11/2007  08:00 a.m.            17,734 eula.2052.txt
07/11/2007  08:00 a.m.            17,734 eula.3082.txt
19/06/2014  11:31 p.m.    <DIR>          Game
07/11/2007  08:00 a.m.             1,110 globdata.ini
07/11/2007  08:03 a.m.           562,688 install.exe
07/11/2007  08:00 a.m.               843 install.ini
07/11/2007  08:03 a.m.            76,304 install.res.1028.dll
07/11/2007  08:03 a.m.            96,272 install.res.1031.dll
07/11/2007  08:03 a.m.            91,152 install.res.1033.dll
07/11/2007  08:03 a.m.            97,296 install.res.1036.dll
07/11/2007  08:03 a.m.            95,248 install.res.1040.dll
07/11/2007  08:03 a.m.            81,424 install.res.1041.dll
07/11/2007  08:03 a.m.            79,888 install.res.1042.dll
07/11/2007  08:03 a.m.            75,792 install.res.2052.dll
07/11/2007  08:03 a.m.            96,272 install.res.3082.dll
13/07/2009  09:37 p.m.    <DIR>          PerfLogs
30/06/2014  11:58 p.m.    <DIR>          Program Files
29/06/2014  03:08 a.m.    <DIR>          Python27
01/07/2014  08:58 a.m.    <DIR>          Ruby200
29/06/2014  05:39 p.m.    <DIR>          server
25/04/2014  12:10 a.m.    <DIR>          Users
07/11/2007  08:00 a.m.             5,686 vcredist.bmp
07/11/2007  08:09 a.m.         1,442,522 VC_RED.cab
07/11/2007  08:12 a.m.           232,960 VC_RED.MSI
01/07/2014  12:19 p.m.    <DIR>          Windows
30/06/2014  01:01 a.m.    <DIR>          xampp
             26 archivos      3,169,881 bytes
             10 dirs  266,244,214,784 bytes libres

C:\>gem install rubygems update
ERROR:  Could not find a valid gem 'rubygems' (>= 0) in any repository
ERROR:  Possible alternatives: ruby_gem, rubydeps, rubyless, rubyjams, rubygems-
s3
Fetching: slop-2.4.4.gem (100%)
Successfully installed slop-2.4.4
Fetching: awesome_print-1.2.0.gem (100%)
Successfully installed awesome_print-1.2.0
Fetching: eventmachine-1.0.3-x86-mingw32.gem (100%)
Successfully installed eventmachine-1.0.3-x86-mingw32
Fetching: em-synchrony-1.0.3.gem (100%)
Successfully installed em-synchrony-1.0.3
Fetching: update-0.9.9.gem (100%)
Successfully installed update-0.9.9
Parsing documentation for slop-2.4.4
Installing ri documentation for slop-2.4.4
Parsing documentation for awesome_print-1.2.0
Installing ri documentation for awesome_print-1.2.0
Parsing documentation for eventmachine-1.0.3-x86-mingw32
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/1.8/fastfilereaderext.
so, skipping
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/1.8/rubyeventmachine.s
o, skipping
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/1.9/fastfilereaderext.
so, skipping
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/1.9/rubyeventmachine.s
o, skipping
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/2.0/fastfilereaderext.
so, skipping
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/2.0/rubyeventmachine.s
o, skipping
Installing ri documentation for eventmachine-1.0.3-x86-mingw32
Parsing documentation for em-synchrony-1.0.3
Installing ri documentation for em-synchrony-1.0.3
Parsing documentation for update-0.9.9
Installing ri documentation for update-0.9.9
5 gems installed

C:\>rails -v
DL is deprecated, please use Fiddle
Rails 4.1.2

C:\>ruby -v
ruby 2.0.0p481 (2014-05-08) [i386-mingw32]

C:\>
C:\>