Gem install fails due to invalid option

Hi y’ll,

On attempting to install rails on a windows7 system it fails with:

H:>gem install rails
Building native extensions. This could take a while…
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.

"H:/My Programs/Ruby200-x64/bin/ruby.exe" extconf.rb

H:/My Programs/Ruby200-x64/bin/ruby.exe: invalid option -P (-h will
show
valid
options) (RuntimeError)

Gem files will remain installed in H:/My
Programs/Ruby200-x64/lib/ruby/gems/2.0.
0/gems/atomic-1.1.14 for inspection.
Results logged to H:/My
Programs/Ruby200-x64/lib/ruby/gems/2.0.0/gems/atomic-1.1
.14/ext/gem_make.out

==
So why does the builder use an invalid option?

Ruby version:
H:>ruby -v
ruby 2.0.0p247 (2013-06-27) [x64-mingw32]

Its propably something simple

On 27 September 2013 14:41, Peter B. [email protected] wrote:

Hi y’ll,

On attempting to install rails on a windows7 system it fails with:

My advise would be don’t install rails on Windows. Use Linux (eg
Ubuntu) or Mac. If you really have not option then I believe
railsinstaller is the recommended route.

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs