B
BearItAll
Hello
I wrote in not long ago because I was struggling to move from a local
setup using Webrick to an ISP that hosts Rubyrails.
I am still struggling but I am not certain if the problem lies with me or
them. I would be happy for you to tell me I'm a complete dummy because
I've missed something, it's just right at the moment I don't know what is
going wrong.
I host with http://www.ocssolutions.com
They was a mixup with my domain name. it didn't get registered which may
of been why I couldn't get Rails working at first (I am guessing that
part). Even now a week later the email side of it doesn't work at all. But
hopefully they are sorting that out for me. They have been very quick with
requests for help so really I don't hold anything against them for this,
just a glitch in the system.
So now my domain name at least is working.
As for Rails, the only thing that works is the default index.html page.
For example, the famous 'cookbook' tutorial,
I use the host supplied script to generate a rails project,
ocs-install-rails
The cookbook example is at,
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=2
I get as far as the default page 'Congratulations your on rails' but get
no further in any tutorial that I have tried.
The next part is to add a controller,
script/generate controller MyTest
It generates the files.
Then I am told to browse to it, before adding anything else just to show
me that the display will be 'Unknown action' instead of 'Not found'.
I have tried,
http://mydomain/cookbook/My_Test
http://mydomain/cookbook/MyTest
http://mydomain/My_Test
http://mydomain/MyTest
All with and without a trailing /
(and a few more which are probably too silly to show you)
All give 'Not found' message, instead of the unknown action
message I should get.
If I carry on and put in the 'def index' part (just to see if it makes a
difference), it is the same.
This situation is true for every tutorial I have tried to do.
Now, the default index.html page ('Congratulations...') is just that, a
default html page and as far as I can see doesn't need anything to be
running in order to be displayed.
So I suspect that Rails isn't actually running at all, for my account
anyway. Does that seem reasonable from what you know.
A look at the running processes on their server does show dispatch.fcgi
processes running on other peoples accounts, but none on mine.
Attempting to run either of two versions of 'dispatch' they give,
directly from the command line always fails with '404 Page not found'.
So tell me, is it me or is it them.
I wrote in not long ago because I was struggling to move from a local
setup using Webrick to an ISP that hosts Rubyrails.
I am still struggling but I am not certain if the problem lies with me or
them. I would be happy for you to tell me I'm a complete dummy because
I've missed something, it's just right at the moment I don't know what is
going wrong.
I host with http://www.ocssolutions.com
They was a mixup with my domain name. it didn't get registered which may
of been why I couldn't get Rails working at first (I am guessing that
part). Even now a week later the email side of it doesn't work at all. But
hopefully they are sorting that out for me. They have been very quick with
requests for help so really I don't hold anything against them for this,
just a glitch in the system.
So now my domain name at least is working.
As for Rails, the only thing that works is the default index.html page.
For example, the famous 'cookbook' tutorial,
I use the host supplied script to generate a rails project,
ocs-install-rails
The cookbook example is at,
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=2
I get as far as the default page 'Congratulations your on rails' but get
no further in any tutorial that I have tried.
The next part is to add a controller,
script/generate controller MyTest
It generates the files.
Then I am told to browse to it, before adding anything else just to show
me that the display will be 'Unknown action' instead of 'Not found'.
I have tried,
http://mydomain/cookbook/My_Test
http://mydomain/cookbook/MyTest
http://mydomain/My_Test
http://mydomain/MyTest
All with and without a trailing /
(and a few more which are probably too silly to show you)
All give 'Not found' message, instead of the unknown action
message I should get.
If I carry on and put in the 'def index' part (just to see if it makes a
difference), it is the same.
This situation is true for every tutorial I have tried to do.
Now, the default index.html page ('Congratulations...') is just that, a
default html page and as far as I can see doesn't need anything to be
running in order to be displayed.
So I suspect that Rails isn't actually running at all, for my account
anyway. Does that seem reasonable from what you know.
A look at the running processes on their server does show dispatch.fcgi
processes running on other peoples accounts, but none on mine.
Attempting to run either of two versions of 'dispatch' they give,
directly from the command line always fails with '404 Page not found'.
So tell me, is it me or is it them.