RubyInline and load problem with rails

Hello guys, I am here to ask if any of you have worked with rubyinline in any rails project. I set up and everything works fine, but when I try to use it in my controller I dont know what happens cause it doesn’t work. Below is the description of what is going on! I opened an issue on github too. Any help is appreciated

I am trying to use inline with rails! I added a method on array class but when I passed my parameters in my action in my controller I got this error

http://pastie.org/2487427

do you know how can I use inline from a outside file and load it in my controller? I didnt find any example on the internet!

thanks