Error al instalar rails
Publicado por Carolina (1 intervención) el 27/03/2021 04:47:57
Hola a todos, quería solicitar su ayuda, he instalado ruby y el framework rails en mi pc Windows 10, he seguido varios tutoriales, pero al crear un nuevo proyecto me dan todos estos errores
Al correr bundle install me da el siguiente error
y al correr el comando de rails server
He intentado varias cosas, instalar bundle installer, actualizar, pero nada parece funcionar, les agradecería si alguien le ha pasado o tiene la respuesta
Adjunto las versiónes que tengo instaladas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
run bundle install
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:110:in `=~': invalid byte sequence in UTF-8 (ArgumentError)
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:110:in `!~'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:110:in `tell_err'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:36:in `warn'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:239:in `user_home'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:250:in `block in user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `fetch'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:254:in `block in user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `fetch'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/settings.rb:385:in `global_config_file'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/settings.rb:77:in `initialize'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:328:in `new'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:328:in `settings'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/feature_flag.rb:21:in `block in settings_method'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/cli.rb:111:in `<class:CLI>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/cli.rb:6:in `<module:Bundler>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/cli.rb:5:in `<top (required)>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/exe/bundle:39:in `require_relative'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/exe/bundle:39:in `block in <main>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/exe/bundle:37:in `<main>'
run bundle binstubs bundler
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:110:in `=~': invalid byte sequence in UTF-8 (ArgumentError)
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:110:in `!~'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:110:in `tell_err'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:36:in `warn'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:239:in `user_home'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:250:in `block in user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `fetch'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:254:in `block in user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `fetch'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/settings.rb:385:in `global_config_file'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/settings.rb:77:in `initialize'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:328:in `new'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:328:in `settings'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/feature_flag.rb:21:in `block in settings_method'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/cli.rb:111:in `<class:CLI>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/cli.rb:6:in `<module:Bundler>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/cli.rb:5:in `<top (required)>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/exe/bundle:39:in `require_relative'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/exe/bundle:39:in `block in <main>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/exe/bundle:37:in `<main>'
rails webpacker:install
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch': No such file or directory - bs_fetch:atomic_write_cache_file:mkstemp (Errno::ENOENT)
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:55:in `load_iseq'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache.rb:19:in `setup'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap.rb:67:in `setup'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap.rb:108:in `default_setup'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/setup.rb:4:in `<top (required)>'
from C:/Users/Carolina Niño/Documents/Practica/rails/blog/config/boot.rb:4:in `require'
from C:/Users/Carolina Niño/Documents/Practica/rails/blog/config/boot.rb:4:in `<top (required)>'
from bin/rails:3:in `require_relative'
from bin/rails:3:in `<main>'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
C:\Users\Carolina Niño\Documents\Practica\rails\blog>bundle install
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:110:in `=~': invalid byte sequence in UTF-8 (ArgumentError)
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:110:in `!~'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:110:in `tell_err'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/ui/shell.rb:36:in `warn'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:239:in `user_home'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:250:in `block in user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `fetch'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:254:in `block in user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `fetch'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:262:in `user_bundle_path'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/settings.rb:385:in `global_config_file'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/settings.rb:77:in `initialize'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:328:in `new'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler.rb:328:in `settings'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/feature_flag.rb:21:in `block in settings_method'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/cli.rb:111:in `<class:CLI>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/cli.rb:6:in `<module:Bundler>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/cli.rb:5:in `<top (required)>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/exe/bundle:39:in `require_relative'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/exe/bundle:39:in `block in <top (required)>'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.2.15/exe/bundle:37:in `<top (required)>'
from C:/Ruby30-x64/bin/bundle:23:in `load'
from C:/Ruby30-x64/bin/bundle:23:in `<main>'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
C:\Users\Carolina Niño\Documents\Practica\rails\blog>rails server
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch': No such file or directory - bs_fetch:atomic_write_cache_file:mkstemp (Errno::ENOENT)
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:30:in `fetch'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache/iseq.rb:55:in `load_iseq'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/compile_cache.rb:19:in `setup'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap.rb:67:in `setup'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap.rb:108:in `default_setup'
from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/setup.rb:4:in `<top (required)>'
from C:/Users/Carolina Niño/Documents/Practica/rails/blog/config/boot.rb:4:in `require'
from C:/Users/Carolina Niño/Documents/Practica/rails/blog/config/boot.rb:4:in `<top (required)>'
from bin/rails:3:in `require_relative'
from bin/rails:3:in `<main>'
Adjunto las versiónes que tengo instaladas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
C:\Users\Carolina Niño>ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x64-mingw32]
C:\Users\Carolina Niño>rails -v
Rails 6.1.3.1
C:\Users\Carolina Niño>gem instal bundler
Successfully installed bundler-2.2.15
Parsing documentation for bundler-2.2.15
Done installing documentation for bundler after 3 seconds
1 gem installed
C:\Users\Carolina Niño>npm -v
6.14.11
C:\Users\Carolina Niño>node -v
v14.16.0
C:\Users\Carolina Niño>yarn -v
1.22.4
Valora esta pregunta


0