You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried the provided example and it doesn't seem to change anything after first try.
2.2.10 :001 > bidi = Bidi.new
=> #<Bidi:0x007f9912ce0b78 @dataPath="/Users/rails/.rvm/gems/ruby-2.2.10/gems/bidi-0.0.2/lib/data/", @idxFile=#<File:/Users/rails/.rvm/gems/ruby-2.2.10/gems/bidi-0.0.2/lib/data/UnicodeData.idx>, @dataFile=#<File:/Users/rails/.rvm/gems/ruby-2.2.10/gems/bidi-0.0.2/lib/data/UnicodeData.txt>, @mirrorFile=#<File:/Users/rails/.rvm/gems/ruby-2.2.10/gems/bidi-0.0.2/lib/data/BidiMirroring.dat>, @num_of_indexes=24428, @mirror_record_len=6, @num_of_mirror_chars=364>
2.2.10 :002 > bidi_string = bidi.to_visual(text = "משפט עם עברית ו-English. מספרים: 12345 (וגם כל מיני סימני פיסוק) וגם סימן קריאה!")
=> "!האירק ןמיס םגו (קוסיפ ינמיס ינימ לכ םגו) 12345 :םירפסמ .English-ו תירבע םע טפשמ"
2.2.10 :003 > bidi_string = bidi.to_visual(text = "משפט עם עברית ו-English. מספרים: 12345 (וגם כל מיני סימני פיסוק) וגם סימן קריאה!")
=> "משפט עם עברית ו-English. מספרים: 12345 (וגם כל מיני סימני פיסוק) וגם סימן קריאה!"
2.2.10 :014 > bidi_string2 = bidi.to_visual(text = "משפט עם עברית ו-English. מספרים: 12345 (וגם כל מיני סימני פיסוק) וגם סימן קריאה!")
=> "משפט עם עברית ו-English. מספרים: 12345 (וגם כל מיני סימני פיסוק) וגם סימן קריאה!"
It works correctly exactly once. Creating new Bidi instance does not help, but then used enough times leads to Errno::EMFILE: Too many open files @ rb_sysopen - /Users/rails/.rvm/gems/ruby-2.2.10/gems/bidi-0.0.2/lib/data/UnicodeData.idx instead
The text was updated successfully, but these errors were encountered:
I've tried the provided example and it doesn't seem to change anything after first try.
ruby 2.2.10p489 (2018-03-28 revision 63023) [x86_64-darwin18]
It works correctly exactly once. Creating new Bidi instance does not help, but then used enough times leads to
Errno::EMFILE: Too many open files @ rb_sysopen - /Users/rails/.rvm/gems/ruby-2.2.10/gems/bidi-0.0.2/lib/data/UnicodeData.idx
insteadThe text was updated successfully, but these errors were encountered: