Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby: invalid switch in RUBYOPT: -i (RuntimeError) #139

Open
EagleJackson opened this issue Jul 6, 2023 · 3 comments
Open

ruby: invalid switch in RUBYOPT: -i (RuntimeError) #139

EagleJackson opened this issue Jul 6, 2023 · 3 comments

Comments

@EagleJackson
Copy link

Getting this error when I run windows_start.bat

Bundling
Using bcrypt 3.1.18
Using bindata 2.4.14
Using bundler 2.3.7
Using citrus 3.0.2
Using coderay 1.1.3
Using ffi 1.15.5 (x64-mingw-ucrt)
Using sync 0.5.0
Using tins 1.31.1
Using file-tail 1.2.0
Using geocoder 1.8.1
Using inifile 3.0.0
Using method_source 1.0.0
Using ruby2_keywords 0.0.5
Using mustermann 3.0.0
Using oj 3.13.23
Using openssl 3.0.1
Using pry 0.14.1
Using rack 2.2.6.4
Using rack-protection 3.0.4
Using rubyzip 2.3.2
Using tilt 2.0.11
Using sinatra 3.0.4
Using sys-proctable 1.2.7
Using sysrandom 1.0.5
Using toml-rb 2.2.0
Using unicode-display_width 2.3.0
Using webrick 1.7.0
Bundle complete! 15 Gemfile dependencies, 27 gems now installed.
Use bundle info [gemname] to see where a bundled gem is installed.
Starting webapp
ruby: invalid switch in RUBYOPT: -i (RuntimeError)
Error level: 1
Press any key to continue . . .

@Joe-Klauza
Copy link
Owner

Hi there @EagleJackson. What version of Ruby is being used here? Also please ensure Ruby has been installed to a path without spaces (saw this as an answer to a similar issue).

@EagleJackson
Copy link
Author

Ruby 3.2.2 and then I tried 3.1.4 on accident.

@Joe-Klauza
Copy link
Owner

Check to see if RUBYOPT is set in your environment variables; if so try unsetting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants