elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Los 10 CVE más críticos (peligrosos) de 2020


+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting
| | |-+  ¿Instalar correctamente Ruby 2.0.0 y Rails 4.1.2 en windows 7?
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: ¿Instalar correctamente Ruby 2.0.0 y Rails 4.1.2 en windows 7?  (Leído 2,592 veces)
bacanzito

Desconectado Desconectado

Mensajes: 151


Ver Perfil
¿Instalar correctamente Ruby 2.0.0 y Rails 4.1.2 en windows 7?
« en: 1 Julio 2014, 19:51 pm »

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
  1. Microsoft Windows [Versión 6.1.7601]
  2. Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos.
  3.  
  4. C:\Users\miguel>gem install rails --include-dependencies
  5. ERROR:  While executing gem ... (OptionParser::InvalidOption)
  6.    invalid option: --include-dependencies
  7.  
  8. C:\Users\miguel>cd: C:\\
  9. El nombre de archivo, el nombre de directorio o la sintaxis de la etiqueta del v
  10. olumen no son correctos.
  11. C:\Users\miguel>cd C:\\
  12.  
  13. C:\>gem install rails --include-dependencies
  14. ERROR:  While executing gem ... (OptionParser::InvalidOption)
  15.    invalid option: --include-dependencies
  16.  
  17. C:\>DIR
  18. El volumen de la unidad C no tiene etiqueta.
  19. El número de serie del volumen es: 5060-6643
  20.  
  21. Directorio de C:\
  22.  
  23. 10/06/2009  04:42 p.m.                24 autoexec.bat
  24. 10/06/2009  04:42 p.m.                10 config.sys
  25. 29/06/2014  03:05 a.m.    <DIR>          Django165
  26. 07/11/2007  08:00 a.m.            17,734 eula.1028.txt
  27. 07/11/2007  08:00 a.m.            17,734 eula.1031.txt
  28. 07/11/2007  08:00 a.m.            10,134 eula.1033.txt
  29. 07/11/2007  08:00 a.m.            17,734 eula.1036.txt
  30. 07/11/2007  08:00 a.m.            17,734 eula.1040.txt
  31. 07/11/2007  08:00 a.m.               118 eula.1041.txt
  32. 07/11/2007  08:00 a.m.            17,734 eula.1042.txt
  33. 07/11/2007  08:00 a.m.            17,734 eula.2052.txt
  34. 07/11/2007  08:00 a.m.            17,734 eula.3082.txt
  35. 19/06/2014  11:31 p.m.    <DIR>          Game
  36. 07/11/2007  08:00 a.m.             1,110 globdata.ini
  37. 07/11/2007  08:03 a.m.           562,688 install.exe
  38. 07/11/2007  08:00 a.m.               843 install.ini
  39. 07/11/2007  08:03 a.m.            76,304 install.res.1028.dll
  40. 07/11/2007  08:03 a.m.            96,272 install.res.1031.dll
  41. 07/11/2007  08:03 a.m.            91,152 install.res.1033.dll
  42. 07/11/2007  08:03 a.m.            97,296 install.res.1036.dll
  43. 07/11/2007  08:03 a.m.            95,248 install.res.1040.dll
  44. 07/11/2007  08:03 a.m.            81,424 install.res.1041.dll
  45. 07/11/2007  08:03 a.m.            79,888 install.res.1042.dll
  46. 07/11/2007  08:03 a.m.            75,792 install.res.2052.dll
  47. 07/11/2007  08:03 a.m.            96,272 install.res.3082.dll
  48. 13/07/2009  09:37 p.m.    <DIR>          PerfLogs
  49. 30/06/2014  11:58 p.m.    <DIR>          Program Files
  50. 29/06/2014  03:08 a.m.    <DIR>          Python27
  51. 01/07/2014  08:58 a.m.    <DIR>          Ruby200
  52. 29/06/2014  05:39 p.m.    <DIR>          server
  53. 25/04/2014  12:10 a.m.    <DIR>          Users
  54. 07/11/2007  08:00 a.m.             5,686 vcredist.bmp
  55. 07/11/2007  08:09 a.m.         1,442,522 VC_RED.cab
  56. 07/11/2007  08:12 a.m.           232,960 VC_RED.MSI
  57. 01/07/2014  12:19 p.m.    <DIR>          Windows
  58. 30/06/2014  01:01 a.m.    <DIR>          xampp
  59.              26 archivos      3,169,881 bytes
  60.              10 dirs  266,309,779,456 bytes libres
  61.  
  62. C:\>gem install rails --include-dependencies
  63. ERROR:  While executing gem ... (OptionParser::InvalidOption)
  64.    invalid option: --include-dependencies
  65.  
  66. C:\>dir
  67. El volumen de la unidad C no tiene etiqueta.
  68. El número de serie del volumen es: 5060-6643
  69.  
  70. Directorio de C:\
  71.  
  72. 10/06/2009  04:42 p.m.                24 autoexec.bat
  73. 10/06/2009  04:42 p.m.                10 config.sys
  74. 29/06/2014  03:05 a.m.    <DIR>          Django165
  75. 07/11/2007  08:00 a.m.            17,734 eula.1028.txt
  76. 07/11/2007  08:00 a.m.            17,734 eula.1031.txt
  77. 07/11/2007  08:00 a.m.            10,134 eula.1033.txt
  78. 07/11/2007  08:00 a.m.            17,734 eula.1036.txt
  79. 07/11/2007  08:00 a.m.            17,734 eula.1040.txt
  80. 07/11/2007  08:00 a.m.               118 eula.1041.txt
  81. 07/11/2007  08:00 a.m.            17,734 eula.1042.txt
  82. 07/11/2007  08:00 a.m.            17,734 eula.2052.txt
  83. 07/11/2007  08:00 a.m.            17,734 eula.3082.txt
  84. 19/06/2014  11:31 p.m.    <DIR>          Game
  85. 07/11/2007  08:00 a.m.             1,110 globdata.ini
  86. 07/11/2007  08:03 a.m.           562,688 install.exe
  87. 07/11/2007  08:00 a.m.               843 install.ini
  88. 07/11/2007  08:03 a.m.            76,304 install.res.1028.dll
  89. 07/11/2007  08:03 a.m.            96,272 install.res.1031.dll
  90. 07/11/2007  08:03 a.m.            91,152 install.res.1033.dll
  91. 07/11/2007  08:03 a.m.            97,296 install.res.1036.dll
  92. 07/11/2007  08:03 a.m.            95,248 install.res.1040.dll
  93. 07/11/2007  08:03 a.m.            81,424 install.res.1041.dll
  94. 07/11/2007  08:03 a.m.            79,888 install.res.1042.dll
  95. 07/11/2007  08:03 a.m.            75,792 install.res.2052.dll
  96. 07/11/2007  08:03 a.m.            96,272 install.res.3082.dll
  97. 13/07/2009  09:37 p.m.    <DIR>          PerfLogs
  98. 30/06/2014  11:58 p.m.    <DIR>          Program Files
  99. 29/06/2014  03:08 a.m.    <DIR>          Python27
  100. 01/07/2014  08:58 a.m.    <DIR>          Ruby200
  101. 29/06/2014  05:39 p.m.    <DIR>          server
  102. 25/04/2014  12:10 a.m.    <DIR>          Users
  103. 07/11/2007  08:00 a.m.             5,686 vcredist.bmp
  104. 07/11/2007  08:09 a.m.         1,442,522 VC_RED.cab
  105. 07/11/2007  08:12 a.m.           232,960 VC_RED.MSI
  106. 01/07/2014  12:19 p.m.    <DIR>          Windows
  107. 30/06/2014  01:01 a.m.    <DIR>          xampp
  108.              26 archivos      3,169,881 bytes
  109.              10 dirs  266,304,782,336 bytes libres
  110.  
  111. C:\>gem install rails
  112. Fetching: i18n-0.6.9.gem (100%)
  113. Successfully installed i18n-0.6.9
  114. Fetching: thread_safe-0.3.4.gem (100%)
  115. Successfully installed thread_safe-0.3.4
  116. Fetching: tzinfo-1.2.1.gem (100%)
  117. Successfully installed tzinfo-1.2.1
  118. Fetching: minitest-5.3.5.gem (100%)
  119. Successfully installed minitest-5.3.5
  120. Fetching: activesupport-4.1.2.gem (100%)
  121. Successfully installed activesupport-4.1.2
  122. Fetching: rack-1.5.2.gem (100%)
  123. Successfully installed rack-1.5.2
  124. Fetching: rack-test-0.6.2.gem (100%)
  125. Successfully installed rack-test-0.6.2
  126. Fetching: builder-3.2.2.gem (100%)
  127. Successfully installed builder-3.2.2
  128. Fetching: erubis-2.7.0.gem (100%)
  129. Successfully installed erubis-2.7.0
  130. Fetching: actionview-4.1.2.gem (100%)
  131. Successfully installed actionview-4.1.2
  132. Fetching: actionpack-4.1.2.gem (100%)
  133. Successfully installed actionpack-4.1.2
  134. Fetching: activemodel-4.1.2.gem (100%)
  135. Successfully installed activemodel-4.1.2
  136. Fetching: arel-5.0.1.20140414130214.gem (100%)
  137. Successfully installed arel-5.0.1.20140414130214
  138. Fetching: activerecord-4.1.2.gem (100%)
  139. Successfully installed activerecord-4.1.2
  140. Fetching: mime-types-1.25.1.gem (100%)
  141. Successfully installed mime-types-1.25.1
  142. Fetching: polyglot-0.3.5.gem (100%)
  143. Successfully installed polyglot-0.3.5
  144. Fetching: treetop-1.4.15.gem (100%)
  145. Successfully installed treetop-1.4.15
  146. Fetching: mail-2.5.4.gem (100%)
  147. Successfully installed mail-2.5.4
  148. Fetching: actionmailer-4.1.2.gem (100%)
  149. Successfully installed actionmailer-4.1.2
  150. Fetching: thor-0.19.1.gem (100%)
  151. Successfully installed thor-0.19.1
  152. Fetching: railties-4.1.2.gem (100%)
  153. Successfully installed railties-4.1.2
  154. Fetching: bundler-1.6.3.gem (100%)
  155. Successfully installed bundler-1.6.3
  156. Fetching: hike-1.2.3.gem (100%)
  157. Successfully installed hike-1.2.3
  158. Fetching: multi_json-1.10.1.gem (100%)
  159. Successfully installed multi_json-1.10.1
  160. Fetching: tilt-1.4.1.gem (100%)
  161. Successfully installed tilt-1.4.1
  162. Fetching: sprockets-2.12.1.gem (100%)
  163. Successfully installed sprockets-2.12.1
  164. Fetching: sprockets-rails-2.1.3.gem (100%)
  165. Successfully installed sprockets-rails-2.1.3
  166. Fetching: rails-4.1.2.gem (100%)
  167. Successfully installed rails-4.1.2
  168. Parsing documentation for i18n-0.6.9
  169. Installing ri documentation for i18n-0.6.9
  170. Parsing documentation for thread_safe-0.3.4
  171. Installing ri documentation for thread_safe-0.3.4
  172. Parsing documentation for tzinfo-1.2.1
  173. Installing ri documentation for tzinfo-1.2.1
  174. Parsing documentation for minitest-5.3.5
  175. Installing ri documentation for minitest-5.3.5
  176. Parsing documentation for activesupport-4.1.2
  177. unable to convert "\x80" from ASCII-8BIT to UTF-8 for lib/active_support/values/
  178. unicode_tables.dat, skipping
  179. Installing ri documentation for activesupport-4.1.2
  180. Parsing documentation for rack-1.5.2
  181. Installing ri documentation for rack-1.5.2
  182. Parsing documentation for rack-test-0.6.2
  183. Installing ri documentation for rack-test-0.6.2
  184. Parsing documentation for builder-3.2.2
  185. Installing ri documentation for builder-3.2.2
  186. Parsing documentation for erubis-2.7.0
  187. Installing ri documentation for erubis-2.7.0
  188. Parsing documentation for actionview-4.1.2
  189. Installing ri documentation for actionview-4.1.2
  190. Parsing documentation for actionpack-4.1.2
  191. Installing ri documentation for actionpack-4.1.2
  192. ERROR:  While executing gem ... (Errno::EINVAL)
  193.    Invalid argument - ./ActionDispatch/Routing/Mapper/Scoping/:
  194.  
  195. C:\>dir
  196. El volumen de la unidad C no tiene etiqueta.
  197. El número de serie del volumen es: 5060-6643
  198.  
  199. Directorio de C:\
  200.  
  201. 10/06/2009  04:42 p.m.                24 autoexec.bat
  202. 10/06/2009  04:42 p.m.                10 config.sys
  203. 29/06/2014  03:05 a.m.    <DIR>          Django165
  204. 07/11/2007  08:00 a.m.            17,734 eula.1028.txt
  205. 07/11/2007  08:00 a.m.            17,734 eula.1031.txt
  206. 07/11/2007  08:00 a.m.            10,134 eula.1033.txt
  207. 07/11/2007  08:00 a.m.            17,734 eula.1036.txt
  208. 07/11/2007  08:00 a.m.            17,734 eula.1040.txt
  209. 07/11/2007  08:00 a.m.               118 eula.1041.txt
  210. 07/11/2007  08:00 a.m.            17,734 eula.1042.txt
  211. 07/11/2007  08:00 a.m.            17,734 eula.2052.txt
  212. 07/11/2007  08:00 a.m.            17,734 eula.3082.txt
  213. 19/06/2014  11:31 p.m.    <DIR>          Game
  214. 07/11/2007  08:00 a.m.             1,110 globdata.ini
  215. 07/11/2007  08:03 a.m.           562,688 install.exe
  216. 07/11/2007  08:00 a.m.               843 install.ini
  217. 07/11/2007  08:03 a.m.            76,304 install.res.1028.dll
  218. 07/11/2007  08:03 a.m.            96,272 install.res.1031.dll
  219. 07/11/2007  08:03 a.m.            91,152 install.res.1033.dll
  220. 07/11/2007  08:03 a.m.            97,296 install.res.1036.dll
  221. 07/11/2007  08:03 a.m.            95,248 install.res.1040.dll
  222. 07/11/2007  08:03 a.m.            81,424 install.res.1041.dll
  223. 07/11/2007  08:03 a.m.            79,888 install.res.1042.dll
  224. 07/11/2007  08:03 a.m.            75,792 install.res.2052.dll
  225. 07/11/2007  08:03 a.m.            96,272 install.res.3082.dll
  226. 13/07/2009  09:37 p.m.    <DIR>          PerfLogs
  227. 30/06/2014  11:58 p.m.    <DIR>          Program Files
  228. 29/06/2014  03:08 a.m.    <DIR>          Python27
  229. 01/07/2014  08:58 a.m.    <DIR>          Ruby200
  230. 29/06/2014  05:39 p.m.    <DIR>          server
  231. 25/04/2014  12:10 a.m.    <DIR>          Users
  232. 07/11/2007  08:00 a.m.             5,686 vcredist.bmp
  233. 07/11/2007  08:09 a.m.         1,442,522 VC_RED.cab
  234. 07/11/2007  08:12 a.m.           232,960 VC_RED.MSI
  235. 01/07/2014  12:19 p.m.    <DIR>          Windows
  236. 30/06/2014  01:01 a.m.    <DIR>          xampp
  237.              26 archivos      3,169,881 bytes
  238.              10 dirs  266,244,214,784 bytes libres
  239.  
  240. C:\>gem install rubygems update
  241. ERROR:  Could not find a valid gem 'rubygems' (>= 0) in any repository
  242. ERROR:  Possible alternatives: ruby_gem, rubydeps, rubyless, rubyjams, rubygems-
  243. s3
  244. Fetching: slop-2.4.4.gem (100%)
  245. Successfully installed slop-2.4.4
  246. Fetching: awesome_print-1.2.0.gem (100%)
  247. Successfully installed awesome_print-1.2.0
  248. Fetching: eventmachine-1.0.3-x86-mingw32.gem (100%)
  249. Successfully installed eventmachine-1.0.3-x86-mingw32
  250. Fetching: em-synchrony-1.0.3.gem (100%)
  251. Successfully installed em-synchrony-1.0.3
  252. Fetching: update-0.9.9.gem (100%)
  253. Successfully installed update-0.9.9
  254. Parsing documentation for slop-2.4.4
  255. Installing ri documentation for slop-2.4.4
  256. Parsing documentation for awesome_print-1.2.0
  257. Installing ri documentation for awesome_print-1.2.0
  258. Parsing documentation for eventmachine-1.0.3-x86-mingw32
  259. unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/1.8/fastfilereaderext.
  260. so, skipping
  261. unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/1.8/rubyeventmachine.s
  262. o, skipping
  263. unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/1.9/fastfilereaderext.
  264. so, skipping
  265. unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/1.9/rubyeventmachine.s
  266. o, skipping
  267. unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/2.0/fastfilereaderext.
  268. so, skipping
  269. unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/2.0/rubyeventmachine.s
  270. o, skipping
  271. Installing ri documentation for eventmachine-1.0.3-x86-mingw32
  272. Parsing documentation for em-synchrony-1.0.3
  273. Installing ri documentation for em-synchrony-1.0.3
  274. Parsing documentation for update-0.9.9
  275. Installing ri documentation for update-0.9.9
  276. 5 gems installed
  277.  
  278. C:\>rails -v
  279. DL is deprecated, please use Fiddle
  280. Rails 4.1.2
  281.  
  282. C:\>ruby -v
  283. ruby 2.0.0p481 (2014-05-08) [i386-mingw32]
  284.  
  285. C:\>
  286. C:\>


« Última modificación: 1 Julio 2014, 19:59 pm por bacanzito » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
problema al instalar rails en windows
Scripting
alone-in-the-chat 1 3,006 Último mensaje 29 Noviembre 2006, 23:46 pm
por alone-in-the-chat
Ruby On Rails
PHP
[u]nsigned 3 3,615 Último mensaje 2 Mayo 2011, 11:39 am
por madpitbull_99
Vuestras impresiones sobre Ruby On Rails
Desarrollo Web
farresito 0 1,820 Último mensaje 5 Diciembre 2011, 01:46 am
por farresito
duda como hacer deploy ruby on rails
Scripting
General Dmitry Vergadoski 0 1,990 Último mensaje 26 Mayo 2015, 15:01 pm
por General Dmitry Vergadoski
SPLOITS: RUBY O RUBY ON RAILS ?
Programación General
RukoEnCode 1 2,487 Último mensaje 29 Marzo 2019, 21:55 pm
por General Dmitry Vergadoski
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines