stephan-nordnes-eriksen / ruby_ship

A portable MRI Ruby environment and toolset
MIT License
117 stars 16 forks source link

Windows build script is broken #3

Open stephan-nordnes-eriksen opened 10 years ago

stephan-nordnes-eriksen commented 10 years ago

The windows build script is currently broken. I will get this working as soon as I have the time, and a windows machine available (approximately 1 week from now).

stephan-nordnes-eriksen commented 10 years ago

So...

Compiling ruby on windows is very much non-trivial. I have resorted to using https://github.com/oneclick/rubyinstaller/ with some minor tweaks to get a version working on ruby.

If anyone needs another version than 2.1.2p95 on windows, you need to use rubyinstaller and compile from scratch. To make the version portable, you have to add '--enable-load-relative' to :configure_options in ruby_installer.rb. Then, after it has compiled, you want to take the ruby21_mingw (or corresponding) folder, rename it to win_ruby and replace the folder in this project. That should do the trick.