Yet Another Update

52 views
Skip to first unread message

James Britt

unread,
Jan 12, 2012, 3:04:02 PM1/12/12
to rawr...@googlegroups.com
After some poking around it looks like the "no such file to load --
main" error happens when main.rb is compiled into main.class.

Rawr defaults to compiling ruby files into Java class files.

In build_configuration you should be able to set this to false and have
things work:


# Whether Ruby source files should be compiled into .class files
# default value: true
#
c.compile_ruby_files = false


I've not done extensive testing, but at least with a very basic rawr
example this makes a difference.

I need to see if this is a JRuby bug or the result of a deliberate
change in JRuby behavior.

James


--

jamesbritt.com - Playing with Better Toys
neurogami.com - Smart application development
azhackers.com - Feed your head. Hack your world.

amiracam

unread,
Sep 25, 2013, 2:21:20 PM9/25/13
to rawr...@googlegroups.com
this is apparently not an issue any more since I am able to compile ruby classes to java class files and run my simple hello world test.
Reply all
Reply to author
Forward
0 new messages