redcar
redcar copied to clipboard
redcar 0.13 fails - Windows 7, Ruby 2, Java 7 64bit u45
Hi.
I have listed the command line transcript below. After installing redcar, the program fails because the JVM installed is a 64-bit Java and Jruby.
Also, the install instructions are a little ambiguous. In any case, I installed the gem with Jruby as well but this also fails, albeit at least the Java 64-bit worked OK (apparently).
The common complaint concerns the use of Config instead of RbConfig, see below.
----[ Jruby 2 ]----
jruby -S redcar
b:/lang/ruby/v01.07/lib/ruby/gems/shared/gems/redcar-0.13/lib/redcar.rb:32: Use RbConfig instead of obsolete and deprecated Config.
Redcar 0.13 ( java )
NameError: uninitialized constant Gem::SourceIndex
const_missing at org/jruby/RubyModule.java:2684
add_gem_plugin_source at b:/lang/ruby/v01.07/lib/ruby/gems/shared/gems/plugin_manager-1.5/lib/plugin_manager.rb:85
add_plugin_sources at b:/lang/ruby/v01.07/lib/ruby/gems/shared/gems/redcar-0.13/lib/redcar.rb:119
plugin_manager at b:/lang/ruby/v01.07/lib/ruby/gems/shared/gems/redcar-0.13/lib/redcar.rb:110
load_prerequisites at b:/lang/ruby/v01.07/lib/ruby/gems/shared/gems/redcar-0.13/lib/redcar.rb:142
load_threaded at b:/lang/ruby/v01.07/lib/ruby/gems/shared/gems/redcar-0.13/lib/redcar.rb:182
(root) at b:/lang/ruby/v01.07/lib/ruby/gems/shared/gems/redcar-0.13/bin/redcar:28
load at org/jruby/RubyKernel.java:1101
(root) at b:/lang/ruby/v01.07/bin/redcar:23
----[ Ruby2 ]----
ruby -S gem install redcar
Successfully installed redcar-0.13
Parsing documentation for redcar-0.13
Done installing documentation for redcar after 1 seconds
1 gem installed
ruby -S redcar
B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-0.13/lib/redcar.rb:32:in `<top (required)>': Use RbConfig instead of obsolete and deprecated Config.
B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-0.13/lib/redcar.rb:32:in `<top (required)>': Use RbConfig instead of obsolete and deprecated Config.
Redcar 0.13 ( x64-mingw32 )
B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-0.13/lib/redcar_quick_start.rb:84:in `platform': Use RbConfig instead of obsolete and deprecated Config.
B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-0.13/lib/redcar/runner.rb:7:in `run': Use RbConfig instead of obsolete and deprecated Config.
B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-0.13/lib/redcar_quick_start.rb:84:in `platform': Use RbConfig instead of obsolete and deprecated Config.
B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-0.13/lib/redcar_quick_start.rb:84:in `platform': Use RbConfig instead of obsolete and deprecated Config.
B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-0.13/lib/redcar/runner.rb:96:in `java_args': Use RbConfig instead of obsolete and deprecated Config.
B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-0.13/lib/redcar_quick_start.rb:84:in `platform': Use RbConfig instead of obsolete and deprecated Config.
javaw -d32 -client -Xbootclasspath/a:B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-jruby-0.1/vendor/jruby-complete-1.6.4.jar -Dfile.encoding=UTF8 -Xmx320m -Xss1024k -Djruby.memory.max=320m -Djruby.stack.max=1024k org.jruby.Main "B:/lang/ruby/v02.00/lib/ruby/gems/2.0.0/gems/redcar-0.13/bin/redcar" --no-sub-jruby --ignore-stdin --start-time=1386544627 && echo 'finished'