WardCunningham/Smallest-Federated-Wiki — Issue #141: successful install under Lion with Ruby 1.9.3
Author: kbigler
Created: 2012-02-28 09:59:56+00:00
State: open

My soon-to-be new server is a MacMini with MacOSX Lion preinstalled. There is a compatibility issue: the default Xcode gcc install being LLVM-based is incompatible with the requirements for Ruby 1.9.2. Available info indicates 1.9.3 or newer is required.

Having looked at several other possibilities (downgrading XCode, hand-installing gcc) with no quick success I decided the straightforward route was most likely to go to Ruby 1.9.3, and that appears to have proven true. I had no issues whatsoever after making that switch, or at least not with the wiki server as I am able to observe it through my exploratory use. I have a little server running here (http://98.234.92.254:1111) but not 24/7, only 1pm to 1am pacific time due to house limitations here, as long as the server is on my desk rather than colo'd. Since I know neither github nor ruby I'd say that all went rather remarkably well, although the documentation seemed like mere hints at times.

However I figured that especially since I was treading on new ground it would be good to run the test suite. (That's really cool, running Firefox programmatically. I couldn't imagine what the documentation was talking about until I tried it.) The results are positive. Here is the evidence:

>server:sinatra kurt$ bundle exec rake spec
>/Users/kurt/.rvm/gems/ruby-1.9.3-p125/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config.
>(in /Users/kurt/Smallest-Federated-Wiki)
>/Users/kurt/.rvm/rubies/ruby-1.9.3-p125/bin/ruby -S bundle exec rspec ./spec/favicon_spec.rb ./spec/integration_spec.rb ./spec/page_spec.rb ./spec/server_spec.rb
>...................................................
>
>Finished in 23.57 seconds
>51 examples, 0 failures
>server:sinatra kurt$

I'm not worrying about Config vs RbConfig but feel free to advise if you like.