jimmykane/The-Three-Little-Pigs-Siri-Proxy — Issue #94: Lion Server & gentables?
Author: schwie
Created: 2012-02-04 15:01:07+00:00
State: open

I've been following the instructions for setting up on Lion (I'm running Lion Server) and the steps all worked fine until I tried to execute "siriproxy gentables":

acct:The-Three-Little-Pigs-Siri-Proxy serveracct$ siriproxy gentables
/Users/serveracct/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.9ba/lib/siriproxy/db_connection.rb:15:in `rescue in db_connect': uninitialized constant Mysql::Error (NameError)
from /Users/serveracct/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.9ba/lib/siriproxy/db_connection.rb:10:in `db_connect'
from /Users/serveracct/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.9ba/lib/siriproxy/command_line.rb:117:in `gen_tables'
from /Users/serveracct/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.9ba/lib/siriproxy/command_line.rb:44:in `initialize'
from /Users/serveracct/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.9ba/bin/siriproxy:6:in `new'
from /Users/serveracct/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.9ba/bin/siriproxy:6:in `'
from /Users/serveracct/.rvm/gems/ruby-1.9.3-p0@SiriProxy/bin/siriproxy:19:in `load'
from /Users/serveracct/.rvm/gems/ruby-1.9.3-p0@SiriProxy/bin/siriproxy:19:in `

'

What does "NameError" mean? To trace this, I tried to go into "db_connection.rb" and manually enter the server address, username, and password, but it didn't seem to help. Any other ideas?