RailsCasts Pro episodes are now free!

Learn more or hide this

Jeff Owens's Profile

GitHub User: dmin7b5

Site: http://blog.jeff-owens.com

Comments by Jeff Owens

Avatar

You either have to change the Facebook Site URL or you hosts file. To edit your hosts file when you want to work on your app locally:

sudo nano /etc/hosts

Add:

127.0.0.1 www.yourdomain.com

Save the hosts file

Restart your browser.

Restart rails using port 80:
rvmsudo rails s -p 80

Now when you go to www.yourdomain.com it should be hitting your local dev machine.

Avatar

I get the same error on multi-word search too aesthetica