Trying to get TP running on a 2.3.x project, using pgsql. Installation
of Sphinx went OK, gem was installed but unfortunately the 2.0.2 gem
was what installs on the default gem install. So I went ahead and
installed 1.3.16 and added the rake tasks to rakefile.rb. This machine
has had Rails 3 on it, but this project is 2.3.9.
Now I can't run rake db:migrate:
(in /Users/apple/Documents/projects/wisebeye/feb 3)
rake aborted!
no such file to load -- thinking-sphinx/tasks
/Users/apple/Documents/projects/wisebeye/feb 3/Rakefile:10
(See full trace by running task with --trace)
as long as the rake tasks line is uncommented. But I also can't
uninstall either version :
Dans-iMac-335:feb 3 apple$ sudo gem uninstall thinking_sphinx
Password:
ERROR: While executing gem ... (Gem::InstallError)
cannot uninstall, check `gem list -d thinking_sphinx`
and here's my gem env...
Dans-iMac-335:feb 3 apple$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.6.1
- RUBY VERSION: 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10]
- INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /opt/local/bin/ruby
- EXECUTABLE DIRECTORY: /opt/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-10
- GEM PATHS:
- /opt/local/lib/ruby/gems/1.8
- /Users/apple/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://gems.rubyforge.org/"]
- REMOTE SOURCES:
- http://gems.rubyforge.org/
I tried moving the gems out of the gem directory, and deleting the
spec for them, but nothing works. I have also tried it as a plugin,
but since I can't uninstall the gem, it seems to be bypassing it
anyway.
Is there a way I can force it to use a particular gem version?
Specifying it in the config.gem list doesn't seem to do anything.
--
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.