Created
May 11, 2011 15:38
-
-
Save jberkel/966693 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/projects/solrium [master] $ rake build | |
(in /Users/jan/projects/solrium) | |
Successfully built RubyGem | |
Name: solrium | |
Version: 0.1.0 | |
File: solrium-0.1.0.gem | |
~/projects/solrium [master] $ rvm use jruby | |
Using /Users/jan/.rvm/gems/jruby-1.5.6 | |
~/projects/solrium [master] $ gem install pkg/solrium-0.1.0.gem | |
Successfully installed solrium-0.1.0 | |
1 gem installed | |
~/projects/solrium [master] $ irb | |
>> require 'rubygems' | |
=> true | |
>> gem 'solrium' | |
=> true | |
>> require 'solr' | |
May 11, 2011 5:36:05 PM sun.reflect.NativeMethodAccessorImpl invoke0 | |
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog | |
=> true | |
>> Solrium::Solr.new('/foo') | |
RuntimeError: solr_home /foo not found |
ah right. i have require 'rubygems'
in my .irbrc
because you almost always need it.
makes sense. :-P
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe this should be: