#596 new
Brian Smith

Jar path problem in redcar-juryb.rb

Reported by Brian Smith | July 2nd, 2012 @ 12:11 AM

I downloaded redcar using gem install just today (on Windows). When trying to run it I got an error, "Could not find the main class: Files." Which was rather peculiar.

I examin the cli output and notice: javaw -client -Xbootclasspath/a:C:/Program Files (x86)/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/redcar-jruby-0.1/vendor/jruby-complete-1.6.4.jar ...looks like the culprit is not having quotes around a filepath with spaces.

Some digging around led me to lib/ruby/gems/redcar-jruby-0.1/lib/redcar-jruby.rb, and after attaching a "\"" to either end of the expand_path, it looks like redcar starts up just fine now.

I'm a rank newbie in Ruby, for the record. Don't know if this is the "best" fix.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket