IMPORTANT NOTICE - For Mac OS X Users who udpated to High Sierra (10.13) and need help 10/09/2017 09:08 PM CDT
Two parts to this message: Those planning to update (previous post), and those who updated - and things are not working (information below). If you have never before attempted to use Lich on Mac OS X, please do not follow these instructions. These are shortcuts.

For those who updated to High Sierra and who are receiving the error message shown If you are a Mac OS X user, who previously used Lich to enjoy Gemstone, please review below. If you have any questions - or if something below does not work, please let me know! Send an email to doug@play.net with details.

Lich: error: $SAFE=2 to 4 are obsolete
lich/lich.rbw:2533:in `block (3 levels) in <class:Script>'
lich/lich.rbw:2533:in `block (2 levels) in <class:Script>'


This is a known issue. The new Ruby version distributed in High Sierra (10.13) will not work with existing versions of Lich. We can recover you back to enjoying the game with Lich while using this new updated OS, but there are many variables and there may be some trouble shooting involved. I've tried to lay out some preliminary steps to get us all to a consistent point.

First, do you have RBENV installed
In terminal window type the following:
rbenv version
If you get a version returned, you have
RBENV installed. If that version is 2.0
or higher, and you were playing the game
with Lich, you should be ok! One step.
For this step to work, you have to type the
version of Ruby that was displayed in the
command above (important). Here, the
command we returned was 2.2.5pXXX, so
In terminal window, type the following:
rbenv global 2.2.5
Then you're ready to test!


If you do not have RBENV installed
Things are much trickier, but we will
overcome!
First, you will very likely need to
reinstall your command line tools.
In terminal window, type:
xcode-select --install
If that fails to execute properly then
you will need to go to the Mac AppStore
and download the entire xCode suite.
This is a large (5GB+) download and
takes a bit of time to install, but
should work if the above fails.
When you have tools installed, now we set
up the rest of the environment.
In terminal:
brew pin cairo
brew pin pango
brew pin gtk+

Please do not proceed until you have
successfully entered the three commands
above. If you do not PIN these brews
the difficulty in correcting your system
so that everything works goes up significantly!
In some cases, we may simply have to restore your
old OS, or do a completely fresh install. So
please, execute those three commands before
proceeding. Thank you.

brew update
brew install rbenv
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
Then exit all open terminal windows (important)
Open a new terminal window and continue:
rbenv install 2.2.5
rbenv global 2.2.5
rbenv rehash
which ruby
ruby -v
Check the results
Should clearly say /Users/you/.rbenv/shims/ruby
Should clearly say ruby 2.2.5p319
If it does not, please stop and email doug@play.net
If it does, continue in terminal window:
gem install sqlite3
gem install gtk2
At this point, you're ready to update to 10.13
but you must also do this after you update
Also, If you already have RBENV installed
you will need to take this step after you update
In terminal window (after update):
rbenv global 2.2.5
Now you're ready to test!


Please help us as a community - let us know here, or email me, of the results so that we can track and build a bullet-proof scheme for those who follow.

Doug
Reply