geolocation - Rails gem - geoipcity is not being included in the application -


i installed geoip_city gem, , tested gem in irb... when using gem in application error

uninitialized constant applicationcontroller::geoipcity

i guessed because did not add line

require geoip_city

so tried adding line function used code in, got error

no such file -- geoip_city

please help.

have require rubygems before ?

require 'rubygems' require 'geoip_city' 

Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -