SciRuby / daru-io

daru-io is a plugin gem to the existing daru gem, which aims to add support to Importing DataFrames from / Exporting DataFrames to multiple formats.
http://www.rubydoc.info/github/athityakumar/daru-io/master/
MIT License
25 stars 9 forks source link

RSRuby doesn't work with Rails #49

Open athityakumar opened 7 years ago

athityakumar commented 7 years ago

Though RSRuby gem (and RDS / RData IO modules) work properly on Travis CI within a gem, it faces this error when used with Rails (Passenger / Rack) -

Error: C stack usage  17589078384920 is too close to the limit
Error: C stack usage  17589078384968 is too close to the limit
Error: C stack usage  17589078384872 is too close to the limit
Fatal error: unable to initialize the JIT

Similar issue posted in StackOverFlow and issue tracker of RSRuby gem repo.

However, this small hack seems to make it work.

v0dro commented 7 years ago

I do not think commenting out the error is a good idea. How about you contact one of the RSRuby developers and ask them for a solution?