mercredi 6 octobre 2021

Rails won't start

Run somewhere else, I got correctly

>rails -v
Rails 6.1.4.1

un rails -v in project - I got an error. Something is going wrong. Ruby is on the path D:/Program Files/Ruby30-x64/bin/ruby.exe

D:/Program Files/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-6.1.4.1/lib/rails/app_loader.rb:53:in `exec': No such file or directory - "D:/Program Files/Ruby30-x64/bin/ruby.exe" (Errno::ENOENT)
    from D:/Program Files/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-6.1.4.1/lib/rails/app_loader.rb:53:in `block in exec_app'
    from D:/Program Files/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-6.1.4.1/lib/rails/app_loader.rb:48:in `loop'
    from D:/Program Files/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-6.1.4.1/lib/rails/app_loader.rb:48:in `exec_app'
    from D:/Program Files/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-6.1.4.1/lib/rails/cli.rb:7:in `<top (required)>'
    from <internal:D:/Program Files/Ruby30-x64/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
    from <internal:D:/Program Files/Ruby30-x64/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
    from D:/Program Files/Ruby30-x64/lib/ruby/gems/3.0.0/gems/railties-6.1.4.1/exe/rails:10:in `<top (required)>'
    from d:/Program Files/Ruby30-x64/bin/rails:23:in `load'
    from d:/Program Files/Ruby30-x64/bin/rails:23:in `<main>'

>ruby -v
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]

Aucun commentaire:

Enregistrer un commentaire