undefined method `require_relative' for main:Object (NoMethodError)

后端 未结 5 484
别那么骄傲
别那么骄傲 2021-01-12 08:09

When trying to update OpenSSL - I broke (seemingly) everything surrounding Ruby and Rails on my laptop. Even after uninstalling ruby and rails through gem uninstall

5条回答
  •  Happy的楠姐
    2021-01-12 08:43

    Similar to @ncherro, I got this using ruby filename.rb. Running

    bundle exec ruby filename.rb   
    

    works.

提交回复
热议问题