redcar icon indicating copy to clipboard operation
redcar copied to clipboard

redcar 0.13 fails to start window 7 jruby 64bit java 7 u45

Open aplatypus opened this issue 11 years ago • 0 comments

Hi folks,

I had a series or errors on RbConfig -- the Redcar code was using Config. Files I needed to fix are:

  • redcar.rb
  • redcar_quick_start.rb
  • runner.rb

For these I needed to do a search and replace on /Config/ ==> /RbConfig/. That worked good enough. But then ...

I had a problem with plugins. So I think there's stuff in this version that still hasn't been committed in the gem.

jruby  -S redcar
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

I think 'we' need some installation instructions beyond just installing the gem. It looks to me like there are some things missing in the gem that


Version info:

  • redcar: jruby -S gem install redcar Successfully installed redcar-0.13 1 gem installed

    jruby -S redcar -v Redcar 0.13 ( java )

  • jruby:
    jruby 1.7.6 (1.9.3p392) 2013-10-22 6004147 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_45-b18 [Windows 7-amd64]

  • java: java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

  • windows: Windows/7 Sp1 64-bit

aplatypus avatar Dec 05 '13 11:12 aplatypus