redcar icon indicating copy to clipboard operation
redcar copied to clipboard

Redcar won't start, throws error uninitialised constant Gem::SourceIndex

Open pahnin opened this issue 11 years ago • 2 comments

Installed redcar using rvm, also did gem update --system but nothing works. when I start redcar using redcar .

this is the error, I get

/home/phanindra/.rvm/rubies/jruby-1.7.4/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:51: Use RbConfig instead of obsolete and deprecated Config. Redcar 0.13 ( java ) NameError: uninitialized constant Gem::SourceIndex const_missing at org/jruby/RubyModule.java:2631 add_gem_plugin_source at /home/phanindra/.rvm/gems/jruby-1.7.4/gems/plugin_manager-1.5/lib/plugin_manager.rb:85 add_plugin_sources at /home/phanindra/.rvm/gems/jruby-1.7.4/gems/redcar-0.13/lib/redcar.rb:119 plugin_manager at /home/phanindra/.rvm/gems/jruby-1.7.4/gems/redcar-0.13/lib/redcar.rb:110 load_prerequisites at /home/phanindra/.rvm/gems/jruby-1.7.4/gems/redcar-0.13/lib/redcar.rb:142 load_threaded at /home/phanindra/.rvm/gems/jruby-1.7.4/gems/redcar-0.13/lib/redcar.rb:182 (root) at /home/phanindra/.rvm/gems/jruby-1.7.4/gems/redcar-0.13/bin/redcar:28 load at org/jruby/RubyKernel.java:1073 (root) at /home/phanindra/.rvm/gems/jruby-1.7.4/bin/redcar:1 eval at org/jruby/RubyKernel.java:1093 (root) at /home/phanindra/.rvm/gems/jruby-1.7.4/bin/ruby_noexec_wrapper:14

Using emacs for now, but seriously need redcar.. Please help me through.. Thanks

pahnin avatar Jul 18 '13 04:07 pahnin

Same problem usin jruby 1.7.6. FWIW, I've turned to standard ruby for redcar and I keep jruby for development. RVM allows different environments.

gonfva avatar Nov 02 '13 14:11 gonfva

Yup, but need redcar working in jruby :(

pahnin avatar Nov 11 '13 07:11 pahnin