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

Closed
crccw opened this Issue Jan 26, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@crccw

crccw commented Jan 26, 2016

Manifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="#testPackage#"
      android:versionCode="3"
      android:versionName="0.3.0">

and the command is:

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

With MRI, #testPackage# gets replaced successfully.

With JRuby 9.0.4.0, nothing changes.

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

Thoughts?

@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 9.2.0.0 milestone Jun 14, 2017

@enebo

This comment has been minimized.

Member

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