I have been trying to find a good solution to this for a long time:
Is there a sure-fire way to install ruby to a folder which is portable on that platform? I want to have a folder which I can easily copy into a distribution I am making so I can have a ruby environment "on the go". It is fine if I need to compile the source and stuff, as long as I end up with a portable ruby install.
I have found a few resources which tries to solve this, but none are satisfactory for me.
Portable Ruby on Rails environment
http://hcettech.blogspot.pt/2012/05/windows-portable-rails-development.html
For me this is a major pain-point of Ruby. If it is not possible to get a Ruby script to work without having the clients install Ruby first, then ruby is essentially no good in my case. I truly hope I/we can figure this out so it is possible to have Ruby be lots more useful than what it already is.
Note: I know things like Releasy exists, but it's still not a simple ruby executable.
My goal is to be able to make a folder with a .bat/.sh script, which does this:
#some bat/sh
./bin/ruby ./my_script.rb
And yes, shoot me down if there is something about this problem I have not understood, as it would be a relief for me.