how do i run a development rails app / website on an ipod

apache, ios5, ipad, macos, ruby-on-rails

Solution

I am hoping that your macbook and iPad are on same network. Now go to "Open network preference". Check screenshot.

You will see an ip.

then from ipad open: your_ip:3000

Problem

I have a app / site that i am running on my local imac and i want to test it on my ipad browser. Can connect to my imac localhost rails app throught the wifi with my ipad ? If so how!! ? My app is a multi tenant app that uses subdomains and so i use the hosts file on my my to point for example achme.mycompany.dev to localhost. How do i do this on the ipad to goto achme.mycompany.dev in the browser and it runs the local app on my imac ? Hope this all makes sense! Please help. best regards Rick

Original source