How to use plugin as a gem? Have Sloution?

N

Nilesh Kulkarni

I use following command for installing thinking-sphinx plugin but I got
empty folder.

F:\RubyProjects\SphinxTest>ruby script/plugin install
git://github.com/freelancing-god/thinking-sphinx.git



Then I download thinking-sphinx from
http://github.com/freelancing-god/thinking-sphinx/tree/master


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?

Thanks,

Vikas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top