Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    dottgonzo
    @dottgonzo
    hi
    i'm interested to know more about ruby shift
    is an early started project?
    Stephan Nordnes Eriksen
    @stephan-nordnes-eriksen
    Do you mean ruby ship?
    Ruby ship is basically a portable version of ruby. You can download the repo and put it anywhere, and it will work :)
    Think: Putting it on a usb stick, or having it inside your application
    its like the java portable jre, only ruby :)
    David Ohayon
    @ohwutup
    hey stephan, i have a couple of questions about ruby_ship if you have a couple minutes, it looks like exactly what I'm looking for !!
    @stephan-nordnes-eriksen ^^
    Stephan Nordnes Eriksen
    @stephan-nordnes-eriksen
    Hey
    Sure
    I think I live in a different timezone than you, so it might be hard to reach me
    But fire questions here and I will answer as soon as I see them
    David Ohayon
    @ohwutup
    hey!
    Stephan Nordnes Eriksen
    @stephan-nordnes-eriksen
    hey
    David Ohayon
    @ohwutup
    so I was curious how you are using this? i have been experimenting with phusion/traveling-ruby for a couple weeks and it is a really complex way of doing things and your scripts are much simpler.
    Stephan Nordnes Eriksen
    @stephan-nordnes-eriksen
    I have used this to bundle ruby into a distributable application which I was keen on running some ruby code within
    David Ohayon
    @ohwutup
    nice. so that is exactly what i am trying to do, but it is a command line app that i am trying to bundle. and like i mentioned in that github issue it works when i call it from within the ruby_ship directory, but not from outside.
    im not so familiar about the ruby compilation process with all of the paths involved but i was wondering if you had ever tried to explore getting that to work?
    Stephan Nordnes Eriksen
    @stephan-nordnes-eriksen
    yeah
    i commented on the github issue
    I don't know if you saw that
    the deal is that on osx the dylibs are dynamically linked based on the root folder, so you need to run those binaries from the context of the ruby_ship folder
    I am not entirely sure how this works on linux though because the same procedure isn't needed there, or is somehow handled without my influence
    David Ohayon
    @ohwutup
    ah, okay cool. yeah i am only working on OS X
    Stephan Nordnes Eriksen
    @stephan-nordnes-eriksen
    From what language are you calling ruby_ship?
    David Ohayon
    @ohwutup
    just from the command line
    i have a command line gem that i want to use
    Stephan Nordnes Eriksen
    @stephan-nordnes-eriksen
    ahh.. I see
    David Ohayon
    @ohwutup
    but it needs to be called from the working directory that it needs
    Stephan Nordnes Eriksen
    @stephan-nordnes-eriksen
    what type of error are you getting?
    You can set the working directory if you get the ruby to run at all
    or you can wrap it in a thin bash-script which sets working directory