Portable Ruby distribution for Mac or Linux?

  • Thread starter Jason Sandfield
  • Start date
J

Jason Sandfield

Hi there,

This might sound a dumb question. I want to embed Ruby with the
application. I could do it on Windows (copy ruby folder out from
One-click installer). No matter where the application is installed, can
start the app with: vendor\ruby\bin\ruby app.rb

Is that possible for Mac or Linux? It seems, after configure make make
install, whole distribution depends on configured prefix location, such
as /usr/local. (after moving to another directory, I could only start
ruby interpreter OK, not irb, rubygems...)

Thanks!
 
S

Steve Klabnik

[Note: parts of this message were removed to make it a legal post.]

Shoes does this. http://shoesrb.com/

It's a complicated, hard problem, though. I'm actually sort of starting to
work on a more generic solution, I have a github repo set up but not a ton
actually done yet. I plan on extracting the stuff out of Shoes and making it
a bit more generally applicable.

http://github.com/steveklabnik/furoshiki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top