I changed the index file to <%= Time.now %> but now IE cannot display the page, what is wrong?
| SitePoint Sponsor |
I changed the index file to <%= Time.now %> but now IE cannot display the page, what is wrong?
I get...Internet Explorer cannot display the webpage, the server seems to be running, I even restarted the server, page still will not display, what is the problem?

If you put this into your url bar: http://localhost:3000/
And you are getting "Internet Explorer cannot display the webpage" - that is usually because the server is not started. Are you saying that Firefox and/or Chrome is able to show the page but that IE is not?
If so, are you developing on a Windows machine that has IIS? If the answer is yes, than you should go into the IIS Manager and stop that server in order for IE to see Mongrel.
"Be kind, for everyone you meet is fighting a
hard battle." -Plato
what does IIS stand for, how do I get to the manager?

Internet Information Services.
It's windows server software. Just like Mongrel is the Rails server. Whenever I have IIS and Rails running on the same machine I have to make sure IIS is turned off in order for my Rails apps to run properly.
If you are using Vista, you can click on the big start button in the lower left corner. Then in the search box, type in IIS Manager, and you can use that to cut it off.
You may or may not have it installed, it depends on what version of Vista you have. (or if you even have Vista)
What version of Windows are you using? And is it the Professional or the Home version?
"Be kind, for everyone you meet is fighting a
hard battle." -Plato



If you ensure that your mongrel server is not using port 80, you shouldn't have to turn off IIS. IIS becomes a problem if both IIS and Mongrel want to use the same port. So if you use the default localhost:3000, 3000 is the port number Mongrel will use and you should notget a conflict unless IIS is also set to use port 3000 (which it normally will not be).
I believe I have apache as a server,it says it on the instant rails panel and in windows explorer. but then it says booting mongrel when I start the server. I have vista home and I got the method on the internet of how to see if IIS was running and it is not checked. everything seemed to work better, the time popped up and so forth, I still don't know how to shut down the server and get rid of the blinking cursor, also for some reason nobody answered my question if it was possible to turn on pasting in the rails console. its very time consuming to have to type everything in there for what seems a very small result



You can paste a series of Ruby commands into a file and then run the file. For example, create a file called test.rb and paste in the following:
Then save the file to your current location and run this command:Code:puts "Hello world"
ruby test.rb
Bookmarks