Ruby on Rails crash during request

-1

I use windows, ruby 2.5, rails 5.1.7, I have a controller with get request, from Unirest or RestClient libs. When I trigger it, the RoR server closes, I see windows error about ruby. The same request command processed in rails console fine.

That theme was not helped Ruby on Rails server crashes during a HTTPS POST request

UPDATED

Rubymine log error:

Process finished with exit code -1073741819 (0xC0000005)

Controller code:

u = RestClient.get('https://google.com/')
ruby-on-rails
asked on Stack Overflow May 16, 2019 by user2572790 • edited May 16, 2019 by user2572790

1 Answer

1

Windows error 0xC0000005 is memory access violation, it means that something is wrong with binaries - most probable native gem extensions or ruby itself,

so try bundle pristine to reinstall gems and if that does not help - cleanup and reinstall ruby.

answered on Stack Overflow May 16, 2019 by Vasfed

User contributions licensed under CC BY-SA 3.0