Forum: Ruby on Rails Question about searchgenerator

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Lantis S. (Guest)
on 2006-06-09 03:03
Hi,

I am using the search generator in my application. How do i incorporate
this to the application when i deployed it on a host since i can't
install simplesearch via gem on the server? I tried unpacking the gem on
my local machine. I got the folder SimpleSearch-0.5.0 and i added it to
the vendor directoy of rails. I also added 'require_gem simplesearch' to
the environment file. But then when i deployed it, i got 'uninitialised
constant Foo' when i run it where 'Foo' is the searchable model.

Thanks,

Lantis.
This topic is locked and can not be replied to.