- Starting Chapter 11 (Searching and Browsing)
- Checked website and it appears okay.
- Created and filled-in views/community/_search_form.rhtml file and ran "rake" and all tests passed. (11.1/p.328)
- Created and filled-in views/community/search.rhtml file and ran "rake" and all tests passed. (11.1/p.328)
- Brought up Figure 11.1 (web page) and it worked. (F11.1/p.330)
- Installed ferret gem (0.11.5 - x86-mswin32) downloading it and installing it with "--local". (p.330)
- Ran this to install plugin (p.331): ruby script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
- Tried to run "rake', but it was broken with this error msg: no such file to load -- ferret_ext (p.332)
- Updated models/spec.rb and ran "rake", but still broken. (11.4/p.332)
- Updated models/faq.rb and ran "rake", but still broken. (11.5/p.332)
- So I did this:
problem solved, for those poor Windows users like me:
1) gem install ferret -v=0.11.5 --platform mswin32
2) gem install acts_as_ferret
3) add "require 'acts_as_ferret'" in config/environment.rb
4) from C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\ext
copy/paste ferret_ext.so to
C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\lib Tried step 11 and DID NOT WORK for me.
Wednesday, May 13, 2009
My RailsSpace Journey - Day 11
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment