Skip to content
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

Inconsistent behaviour of same code in Windows, from not finding an installed gem to missing methods #4182

Closed
abelsromero opened this issue Sep 26, 2016 · 1 comment

Comments

@abelsromero
Copy link

abelsromero commented Sep 26, 2016

Same code that uses jRuby shows different behaviour depending on whether it is executed from ID (IntelliJ), or a shell script.
Here is the repo to test it: https://github.com/robertpanzer/asciidoctorj-pdf/.
The full explanation of the different cases is here: https://github.com/robertpanzer/asciidoctorj-pdf/issues/3

Environment

  • JRuby version: 9.1.5.0
  • Operating system and platform: Windows 7

Expected Behavior

Tests in the project should execute correctly from shell and IDE.
Or at least, the errors should be consistent and not different depending on where the code is executed.

Actual Behavior

Depending on whether the code is run as a shell script as part of a Gradle build or executed directly from IntelliJ different errors happen ony on Windows.
Details are here: https://github.com/robertpanzer/asciidoctorj-pdf/issues/3

@headius
Copy link
Member

headius commented Sep 26, 2016

Closing as it the difference appears to be due to IntelliJ and Gradle setting up paths differently, rather than a JRuby issue. See my comment in robertpanzer/asciidoctorj-pdf#3.

@headius headius closed this as completed Sep 26, 2016
@headius headius added this to the Invalid or Duplicate milestone Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants