top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

Google GeoLocation error with rails application?

+7 votes
73 views

I am trying to get google-geo to work, but I am seeing errors.

#!/usr/bin/ruby

require 'Google-geo'

mykey = 'blahblahblah'
addy1 = 'xxxxxxxxxxxxx' # xx, yy

geo = Google::Geo.new mykey
res = geo.locate addy1
puts res.coordinates

...and the error:

/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- Google-geo (LoadError) from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from pdev.rb:6:in `'

Not sure why it can't load it as it's just installed. I can't get anything to work in irb either.

posted Feb 6, 2014 by Seema Siddique

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I want to create 3 rails apps in which every app has a Google API.
1) Gmail API
2) Google+ API 3
3) Google calendar API

Please suggest how to begin with...

+1 vote

How to work my application events to store in google calendar. Is this possible. any good links are available to do this.

+2 votes

Are there any usage limits on LocationManager.NETWORK_PROVIDER?For example, is there a limit on the number of uses per day, or is limited to personal use.

LocationManager.NETWORK_PROVIDER http://developer.android.com/reference/android/location/LocationManager.html#NETWORK_PROVIDER

I find the LocationManager.NETWORK_PROVIDER and The Google Maps Geolocation API very similar.(It is possible to know the position information from the cell tower or wifi both.)

The Google Maps Geolocation API https://developers.google.com/maps/documentation/business/geolocation/

The Google Maps Geolocation API has usage limits and costs money, are there any usage limits like these on LocationManager.NETWORK_PROVIDER?

+2 votes

I need an Idea of how to put a google map in my application, I have field and I want to fill it with address and I want a map in the next line showing the address that I entered in my field......

+1 vote

I want to provide login feature in my application so that users can logged in using there Gmail account instead of creating user name and password.

Please suggest how to proceed?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...