Forum: Ruby How to use plugin as a gem? Have Sloution?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Nilesh K. (Guest)
on 2009-03-19 07:00
I use  following command for installing thinking-sphinx plugin but I got
empty folder.

F:\RubyProjects\SphinxTest>ruby script/plugin install

Then I download thinking-sphinx from

and install it as a gem , as following

C:\Think-Sphinx>gem build thinking-sphinx.gemspec
  Successfully built RubyGem
  Name: thinking-sphinx
  Version: 1.1.6
  File: thinking-sphinx-1.1.6.gem

C:\Think-Sphinx>gem install thinking-sphinx-1.1.6.gem
Successfully installed thinking-sphinx-1.1.6
1 gem installed
Installing ri documentation for thinking-sphinx-1.1.6...
Installing RDoc documentation for thinking-sphinx-1.1.6...

Now when I run rake task. I got following error.

F:\RubyProjects\SphinxTest>rake thinking-sphinx:index

(in F:/RubyProjects/SphinxTest)
rake aborted!
Don't know how to build task 'thinking-sphinx:index'

(See full trace by running task with --trace)

Why this is not working?
How to solve this issue? If i want to use plugin as a gem for rails
application how i use it?


This topic is locked and can not be replied to.