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

Uri like paths with pathname #3099

Closed
wants to merge 2 commits into from
Closed

Conversation

mkristian
Copy link
Member

No description provided.

mkristian added 2 commits July 3, 2015 11:57
…ike paths

on the root of the uri-like paths basename will return the path as is. with this
and some extra pattern for detecting the root Pathname does calulate root? and
absolute? correctly

Sponsored by Lookout Inc.
@mkristian mkristian force-pushed the uri-like-paths-with-pathname branch from 4c38268 to 291dec9 Compare July 3, 2015 09:58
@jkutner
Copy link
Member

jkutner commented Jul 10, 2015

Is this related to #3127 ?

@mkristian
Copy link
Member Author

first this is already merged to jruby-1_7 and master and part of the 1.7.21 and 9.0.0.0.rc2

it is related. the last weeks I was working on getting jruby launch a ruby application from an unexploded jar-file. basically how we pack the jar with https://github.com/jruby-gradle/jruby-gradle-plugin or with https://github.com/torquebox/jruby-maven-plugins/tree/master/jruby9

so all the problem fixed are related to having (with variations)

  • GEM_HOME=uri:classloader:/
  • GEM_PATH=uri:classloader:/
  • JARS_HOME=uri:classloader:/jars
  • current working directory uri:classloader:/
  • and having uri:classloader:/ on the LOAD_PATH

this works to the extend that you can pack up a rails application and run it from the jar (without unpacking it). the Pathname problem came up with such rails application.

@mkristian mkristian closed this Jul 10, 2015
@mkristian mkristian deleted the uri-like-paths-with-pathname branch July 10, 2015 15:28
@enebo enebo modified the milestone: Non-Release May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants