Good to know it's all working :)
I wonder if it was something to do with the ruby installation you've got - from
MacPorts, I'm guessing? I just use the built-in Ruby that comes with Snow
Leopard, but I know plenty of others use the ports version without issues...
--
Pat
On 11/01/2010, at 5:44 PM, Gordon Yeong wrote:
> problem solved.
>
> For some silly reason, I ran gem install "riddle" (As non-super user) and it
> works.
>
> Here's the output.
>
> I still want to find out why didn't it work the many times I did it (even
> with sudo).
>
>
> -----------------Extract---------------------------
>
> peter-pans-macbook-pro:myApp ct9a$ rake db:migrate
> (in /Users/ct9a/projects/rails/myApp)
> rake aborted!
> Could not find RubyGem riddle (>= 1.0.8)
> /Users/ct9a/projects/rails/myApp/rakefile:11
> (See full trace by running task with --trace)
> peter-pans-macbook-pro:myApp ct9a$ gem install riddle
> WARNING: Installing to ~/.gem since /opt/local/lib/ruby/gems/1.8 and
> /opt/local/bin aren't both writable.
> WARNING: You don't have /Users/ct9a/.gem/ruby/1.8/bin in your PATH,
> gem executables will not run.
> Successfully installed riddle-1.0.8
> 1 gem installed
> Installing ri documentation for riddle-1.0.8...
> Installing RDoc documentation for riddle-1.0.8...
> peter-pans-macbook-pro:myApp ct9a$ rake db:migrate
> (in /Users/ct9a/projects/rails/myApp)
> == AddPriceToParts: migrating
> ================================================
> -- add_column(:parts, :price, :decimal, {:precision=>8, :scale=>2})
> -> 0.0904s
> == AddPriceToParts: migrated (0.0906s)
> =======================================
>
> peter-pans-macbook-pro:myApp ct9a$ rake thinking_sphinx:index
> (in /Users/ct9a/projects/rails/myApp)
> Generating Configuration to
> /Users/ct9a/projects/rails/myApp/config/development.sphinx.conf
> Sphinx 0.9.9-release (r2117)
> Copyright (c) 2001-2009, Andrew Aksyonoff
>
> using config file
> '/Users/ct9a/projects/rails/myApp/config/development.sphinx.conf'...
> indexing index 'fit_core'...
> collected 0 docs, 0.0 MB
> collected 0 attr values
> sorted 0.0 Mvalues, nan% done
> total 0 docs, 0 bytes
> total 0.010 sec, 0 bytes/sec, 0.00 docs/sec
> distributed index 'fit' can not be directly indexed; skipping.
> indexing index 'part_core'...
> collected 0 docs, 0.0 MB
> collected 0 attr values
> sorted 0.0 Mvalues, nan% done
> total 0 docs, 0 bytes
> total 0.003 sec, 0 bytes/sec, 0.00 docs/sec
> distributed index 'part' can not be directly indexed; skipping.
> total 0 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
> total 8 writes, 0.000 sec, 0.1 kb/call avg, 0.0 msec/call avg
> peter-pans-macbook-pro:myApp ct9a$
>
>
> --
> 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.