You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows,If we use rbenv for Windows, rerun ./app.rb and rerun ruby ./app.rb will not work, because it seem directly call ruby.exe.
rbenv for Windows has make ruby.exe a fake stub (not the real ruby.exe), so the method above won't work. So, how about making the invocation using RbConfig.ruby to get an absolute path?
On Windows,If we use rbenv for Windows,
rerun ./app.rb
andrerun ruby ./app.rb
will not work, because it seem directly callruby.exe
.rbenv for Windows
has makeruby.exe
a fake stub (not the real ruby.exe), so the method above won't work. So, how about making the invocation usingRbConfig.ruby
to get an absolute path?The text was updated successfully, but these errors were encountered: