We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd love to use geoip, but I'm doing something terribly wrong, I guess. Here's my irb printout, leading up to the error.
gerard@ubuntu:/Documents/geoBrainz/src$ which ruby /home/gerard/.rvm/rubies/ruby-2.0.0-p353/bin/ruby gerard@ubuntu:/Documents/geoBrainz/src$ which geoip /home/gerard/.rvm/gems/ruby-2.0.0-p353/bin/geoip gerard@ubuntu:~/Documents/geoBrainz/src$ irb 2.0.0p353 :001 > require 'geoip' => true 2.0.0p353 :002 > c = GeoIp.new('db/GeoLiteCity.dat').city('google.com') NameError: uninitialized constant GeoIp from (irb):2 from /home/gerard/.rvm/rubies/ruby-2.0.0-p353/bin/irb:12:in `
I uninstalled and reinstalled the geoip gem, trying to eliminate a corrupted gem install.
Where am I going wrong?
The text was updated successfully, but these errors were encountered:
You're missing a capital P in GeoIP.
Sorry, something went wrong.
Srry, my bad...
No branches or pull requests
I'd love to use geoip, but I'm doing something terribly wrong, I guess. Here's my irb printout, leading up to the error.
gerard@ubuntu:
'/Documents/geoBrainz/src$ which ruby/Documents/geoBrainz/src$ which geoip/home/gerard/.rvm/rubies/ruby-2.0.0-p353/bin/ruby
gerard@ubuntu:
/home/gerard/.rvm/gems/ruby-2.0.0-p353/bin/geoip
gerard@ubuntu:~/Documents/geoBrainz/src$ irb
2.0.0p353 :001 > require 'geoip'
=> true
2.0.0p353 :002 > c = GeoIp.new('db/GeoLiteCity.dat').city('google.com')
NameError: uninitialized constant GeoIp
from (irb):2
from /home/gerard/.rvm/rubies/ruby-2.0.0-p353/bin/irb:12:in `
I uninstalled and reinstalled the geoip gem, trying to eliminate a corrupted gem install.
Where am I going wrong?
The text was updated successfully, but these errors were encountered: