Completed 500 Internal Server Error in 4ms NameError (uninitialized constant Site::Whois) #209

Closed
EJIqpEP opened this Issue Feb 23, 2013 · 1 comment

Projects

None yet

2 participants

@EJIqpEP
EJIqpEP commented Feb 23, 2013

I'm using whois gem and i work great in development. When i upload it in production i have such error:

Completed 500 Internal Server Error in 4ms
NameError (uninitialized constant Site::Whois):
app/models/site.rb:11:in `get_whois'
app/controllers/whois_controller.rb:11:in `show'

my get_whois method is

  def get_whois
    c = Whois::Client.new
    @array = c.query(@site_domain)
  end

and error is Whois::Client.new

@weppos weppos was assigned Feb 23, 2013
@weppos
Owner
weppos commented Feb 23, 2013

Duplicates GH-208

@weppos weppos closed this Feb 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment