Layout convention differences

An application I’m currently developing on Windows works just fine. But
when I upload it to my hosting provider (TextDrive) it stops recognizing
my layout:

For example: a controller named ‘main’ have a layout in the file
layouts/main.rhtml.

As I said: this works on my Windows machine, but for it to work at
TextDrive I have to manually link the layout in the main controller,
like so:

class MainController
layout ‘main’

:
end

While this is not a big deal I’m curious as to why this work on one
setup but not on the other. They both seem to have the same Rails
version installed: 1.1.6. Any ideas?

Best regards

Hans-Eric Grönlund