ryanbooker / rubyscript2exe

Compile ruby applications into a single executable for for easy deployment
http://www.erikveen.dds.nl/rubyscript2exe
Other
47 stars 8 forks source link

remark #1

Open rcqls opened 13 years ago

rcqls commented 13 years ago

Thanks for making rubyscript2exe working again!

I do not know if this really matters but I needed to add "-r 'rubygems.rb'" in the init.rb file since this file does not seem to be embedded in the newly built (rubyscript2exe) files. Maybe, it only depends on my specific install. Actually, that's work for me now in linux and Darwin environment.

The change applied in the rubyscript2exe/init.rb file

138c138

< command = backslashes("#{bindir1}/ruby") + " #{required.join(" ")} #{libs.join(" ")} -r '#{newlocation("require2lib.rb")}' '#{apprb}' #{verbose} #{quiet} #{argv.join(" ")}"

command = backslashes("#{bindir1}/ruby") + " -r 'rubygems.rb'" " #{required.join(" ")} #{libs.join(" ")} -r '#{newlocation("require2lib.rb")}' '#{apprb}' #{verbose} #{quiet} #{argv.join(" ")}"

Best,

Remy

ryanbooker commented 12 years ago

Thanks for the feedback. I fixed this quite a while ago, so I'm surprised it still works given the speed at which ruby gems etc change. I've never tried it with rvm or anything either so who knows if it works there.

I'll look into your update when I get a chance.

Cheers, Ryan

rcqls commented 12 years ago

Like you, I was really surprised! For me that works perfectly in Linux and MacOS systems. I did not give a try for windows since I first tried Ocra which is maintained. But I am sure that rubysript2exe works too for windows. The impressive work done by Erik Venstraa deserves to be maintained and you did it! Thanks again!

Remy

2011/11/22 Ryan Booker < reply@reply.github.com

Thanks for the feedback. I fixed this quite a while ago, so I'm surprised it still works given the speed at which ruby gems etc change. I've never tried it with rvm or anything either so who knows if it works there.

I'll look into your update when I get a chance.

Cheers, Ryan


Reply to this email directly or view it on GitHub: https://github.com/ryanbooker/rubyscript2exe/issues/1#issuecomment-2831188