New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jruby -i Edit files in place behaves inconsistent with MRI #3617

crccw opened this Issue Jan 26, 2016 · 1 comment


None yet
2 participants

crccw commented Jan 26, 2016


<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""

and the command is:

ruby -pi.back -e "gsub(/#testPackage#/,'foo')" Manifest.xml

With MRI, #testPackage# gets replaced successfully.

With JRuby, nothing changes.

I'm using JRuby with calabash-android. When executing calabash-android build <apk>, this problem seems to jeopardize it.


@crccw crccw changed the title from Edit files in place behaves inconsistent with MRI to jruby -i Edit files in place behaves inconsistent with MRI Jan 28, 2016

@enebo enebo added this to the JRuby milestone Jun 14, 2017


This comment has been minimized.


enebo commented Jun 14, 2017

This was fixed some long time in the past but marking against something so someone can notice it has been fixed.

@enebo enebo closed this Jun 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment