I am getting this error while doing bundle install. I checked that my RailsInstaller directory does not contain any spaces. Also the Devkit path I added in the path variable. I am not sure why am I getting this error.
Here is the error:
c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
c:/RailsInstaller/Ruby1.9.3/bin/ruby.exe: invalid switch in RUBYOPT: -S (RuntimeError)
Any help would be appreciated. Thanks in advance.