pik

pik Error: private method `gsub' called for nil:NilClass

≡放荡痞女 提交于 2019-12-05 18:00:18
I´m getting an error when adding JRuby 1.3.1 to pik. Error: Error: private method `gsub' called for nil:NilClass this is my path environment variable: C:\Users\Owner>echo %path% C:\Program Files\Java\jdk1.7.0_05\bin;c:\jruby-1.7.0.preview1\bin;C:\jruby-1.3.1\bin;c:\pik this is when trying to add 1.3.1 version: C:\Users\Owner>pik add C:\jruby-1.3.1\bin There was an error. Error: private method `gsub' called for nil:NilClass in: pik/commands/command.rb:124:in `get_version' in: pik/commands/add_command.rb:23:in `add' in: pik/commands/add_command.rb:13:in `execute' in: pik_runner:33 It´s not the

'Failed to build gem native extension' on Windows 7 (The system cannot find the path specified)

蹲街弑〆低调 提交于 2019-11-29 01:15:43
The problem in short I'm on Windows and am getting the following error when running gem install json —platform=ruby : The system cannot find the path specified. Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... The system cannot find the path specified. ERROR: Error installing json: ERROR: Failed to build gem native extension. C:/Ruby193/bin/ruby.exe extconf.rb creating Makefile Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.1 for inspection. Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.1