I am setting up a server and decided to install the latest Ruby from source. I downloaded ruby-1.9.2-p0.tar.gz and installed that with no problems. Next up, was installing Rubygems. Using the 1.3.7 I downloaded from Rubyforge I ran setup.rb and got the error:
./setup.rb: 13: Syntax error: "(" unexpected (expecting "then")
This is all happening in a clean install of Ubuntu server 10.10. Line 13, for the curious, is this:
config = defined?(RbConfig) ? RbConfig : Config
Any thoughts on what this could be? Has someone else run into this?