-
Notifications
You must be signed in to change notification settings - Fork 168
Problems with Red Shoes Packaging
Due to popular demand this page is for documenting the downfalls (aka bugs) of Red Shoes installing and packaging. It also has a section for discussing Shoes V4 packaging issues or hints. I make a distinction between installing Shoes and packaging a Shoes script that I describe below.
Creating a Shoes installer is done by developers and it's controlled entirely by the rakefile (rake package) Casual users do not create the installers. The installer files (exe,dmg,sh) are hosted (or linked to) on the Shoes website for downloading. You cannot create an Shoes install without all the developers bells and whistle installed on your OS (and they are many). You can only create a Shoes installer for the OS you have running.
Packaging a Shoes script is not the same as installing Shoes and its Ruby code. A packaged script or packaged directory) contains a small binary executable for each OS (called the 'stub') whose task is to see if Shoes is installed and if not, install it. Then the stub runs the pack. Stop for second think about this. When packaging your script you create an .exe and a .dmg and a .sh or .shy or all of the above. I can package my script on my Ubuntu system and create exe's and dmgs to be created and when downloaded from my website they will install Shoes if needed and run my shoes script. I don't need a Windows box or command line to make an .exe out of my script. I don't need an OSX box to created a dmg.
Packaging a script is not the same as installing Shoes. Packaging can invoke installation but they are different.
- Rake files need to be be trimmed out of the experimental cruft. It's a limping maintenance release. Lose the rspec and such.
- The version of Windows installer scripts/programs is really, really old.
- Mac specific rake files appear to have partially completed experiments with bundler and rspec.
- Linux scripts can't tell if they are installing 64 bit or 32 bit nor can they determine if the the 64 bit system has the 32 bit compatibility or where that is located.
- Creating a .deb might help but .deb's don't handle user installed apps
- Even if the install works, there is no menu entry. Very distribution and version specific.
- Only Windows users can package a script for Net Install of Shoes but Linux and OSX can package a full install -- package.rb shells out to a MingW script that can only work on Windows.
- Delete the option in pack.rb for Shoes with Video Support. Not likely to work and damn confusing.
- The version of Windows installer scripts/programs is really, really old.