lopex has quit [Quit: Connection closed for inactivity]
zacts has quit [Quit: zacts]
_whitelogger has joined #jruby
<byteit101[m]1>
Inverting control to make a ctor without JavaProxyInvocationHander is tricky, but I got a very hacky solution this evening that allows javafx.application.Application.launch(self.become_java!, []) to work for subclasses of javafx.application.Application
claudiuinberlin has joined #jruby
Caerus has quit [Ping timeout: 260 seconds]
Caerus has joined #jruby
lopex has joined #jruby
claudiuinberlin has quit [Ping timeout: 246 seconds]
kares[m] has quit [*.net *.split]
johnphillips3141 has quit [*.net *.split]
satyanash has quit [*.net *.split]
kares[m] has joined #jruby
johnphillips3141 has joined #jruby
satyanash has joined #jruby
mark_menard[m] has joined #jruby
Caerus has quit [Ping timeout: 265 seconds]
Caerus has joined #jruby
mark_menard has joined #jruby
<mark_menard>
I have a weird issue. I'm trying out JRuby on an existing Rails application. The app starts but when I try to load a page it fails with "LoadError - No such file to load -- secure_helper.rb" referencing line 1 of the related controller. I do not create helper files for every controller. This does not happen under MRI. I've googled but can't find anything. Ideas?
<headius[m]>
Hmm, doesn't sound familiar
<mark_menard>
Hi hedius. Long time no see.
<mark_menard>
I'm trying to come back to my JRuby roots.
<headius[m]>
Yeah good to hear from you, hope you are staying safe and healthy
<headius[m]>
Could it be some sort of middleware that didn't install properly on jruby?
<mark_menard>
We are. Mostly staying home, and away from people.
<mark_menard>
I don't think I have any custom middlewares....
<headius[m]>
Any references to that file elsewhere?
<mark_menard>
No reference anywhere.
<mark_menard>
As a troubleshooting process I added the file to app/helpers/ and then it just failed on line 1 of the next controller.
<headius[m]>
Check gems for any references to secure_helper
<headius[m]>
Must be something somewhere
<mark_menard>
I don't think that's it, because when I create secure_helper.rb in app/helpers it fails looking for dashboards_helper which is the corresponding file for the DashboardsController that is trying to service the request.
<mark_menard>
Yea....
<mark_menard>
Firing up the RubyMine debugger.
<headius[m]>
I have to run soon but there must be something requiring that file. Not finding much in my own searches
<mark_menard>
Thanks for searching. I'm digging in.
<mark_menard>
And the debugger fails straight away with a different exception: NameError - no constructor for arguments (org.jruby.runtime.Frame,org.jruby.RubyClass,org.jruby.runtime.scopes.DynamicScope2,org.jruby.runtime.backtrace.BacktraceElement) on Java::OrgJrubyRuntime::Binding
<mark_menard>
This also references line one of my SecureController which is a subclass of ApplicationController.
mark_menard has quit [Remote host closed the connection]
mark_menard has joined #jruby
<fzakaria1>
i have an odd question; if i set
<fzakaria1>
GEM_PATH=$GEM_PATH:/something/else
<fzakaria1>
i get a totally different GEM_PATH than i would expect.
<fzakaria1>
I don't see the lib/ruby/gems/shared any longer