Open HFisher1212 opened 8 years ago
Is that an issue? You have to know that when you use Cloud9. Is it not mentioned in the book? Perhaps a 'tip' would be a good idea?
In Cloud 9 start the rails server using the following command:
rails s -p $PORT -b $IP
To view your development Rails app in a web browser:
You should now see an instance of your development Rails web app running in the web browser.
In LR B2 Ch6 "Viewing in the Web Browser" , when using the Cloud9 Hosting browser terminal the Preview window does not show the webpage created when command 'rails s' (or server) starts the rails server. For Cloud9, the server start line should be changed to 'rails s -p $PORT -b $IP'.