Ah, as it turns out, I get the same error, if I drop my riddle db first... seems I had old code. Have just pushed a fix to GitHub. Sorry for the hassle Tim.
Also, it's not really documented, but use VERSION=0.9.8 (or 0.9.9) when running rake spec to ensure the specs play nicely with your installed version of Sphinx. rake spec VERSION=0.9.9 -- Pat On 26/11/2009, at 3:18 PM, Tim wrote: > Yes I'm using 2.8.1 as well. > > I've tried installing it with all the options (that solves an > installation problem for other people): > > sudo env ARCHFLAGS="-arch ppc" gem install mysql -- --with-mysql- > include=/opt/local/include/mysql5 --with-mysql-lib=/opt/local/lib/ > mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config > > This is the C (http://www.tmtm.org/en/mysql/ruby/) version right? And > not the older pure Ruby (http://www.tmtm.org/en/ruby/mysql/) one? > > > > On Nov 26, 2:39 pm, Pat Allan <[email protected]> wrote: >> Hi Tim >> >> That's a little odd... what's the version of your mysql gem? (Mine is >> 2.8.1) >> >> -- >> Pat >> >> On 26/11/2009, at 2:13 PM, Tim wrote: >> >> >> >>> Hi Pat and others, >> >>> I'm having trouble getting the specs for riddle to run. With a fresh >>> clone it bombs unable to find the mysql gem. And after adding >>> 'require >>> 'rubygems'' to fix that it thinks that 'create_db' is undefined >>> for a >>> Mysql object (from spec/sphinx_helper.rb setup_mysql()) >> >>> Thanks, >>> Tim >> >>> -- >> >>> You received this message because you are subscribed to the Google >>> Groups "Thinking Sphinx" group. >>> To post to this group, send email to [email protected] >>> . >>> To unsubscribe from this group, send email to >>> [email protected] >>> . >>> For more options, visit this group >>> athttp://groups.google.com/group/thinking-sphinx?hl=en >>> . > > -- > > You received this message because you are subscribed to the Google > Groups "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] > . > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en > . > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
