=== WARNING: ThreadSafe::JRubyCacheBackend was not loadable

260 views
Skip to first unread message

Jared Pohl

unread,
Apr 9, 2014, 11:35:01 PM4/9/14
to ruby...@googlegroups.com
Hey

I've tried running OCRA on a ruby script and am getting the following msg?

Looks like I need JRuby?? 

some help would be appreciated.  Its a clean ruby install on a clean machine.


Thanks

Andrew Carpenter

unread,
May 5, 2014, 12:56:54 PM5/5/14
to ruby...@googlegroups.com
Jared--encountered the same issue.

If you modify line 463 of
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\ocra-1.3.1\bin\ocra

(or wherever that file is located for your version of ocra)

to instead read: 

modules_to_check << mod unless modules_checked.include?(mod) if !mod.name == 'ThreadSafe::JRubyCacheBackend'

It should work for you! Hope this helps!

Best,

Drew

Jared Pohl

unread,
May 6, 2014, 7:44:08 PM5/6/14
to ruby...@googlegroups.com
Thanks Andrew!  

I'll give that a try.

a a

unread,
Aug 9, 2015, 9:50:28 PM8/9/15
to OCRA One-Click Application Builder
It worked for me thanks.
Do you think this problem is possibly caused by OCRA not correctly dealing with the presence of both Ruby and JRuby on the system?
Reply all
Reply to author
Forward
0 new messages