|
#1
|
|||
|
|||
|
I'm trying to develop a simple RoR application on hostgator but I can't make it to run.Have an error"No route matches "/rails/registrations/" with {:method=>:get}".
1.first I log in to my ssh account 2.rails /home/johny/test 3 cd test 4 ruby script/generate scaffold registration lastname:string firstname:string 5 rake db:create 6 rake db:migrate 7 cd ../public_html 8 ln –s ../test/public rails 9 upload the .htaccess on test/public/ 10.on my routes.rb uncomment the line map.root :controller => "registrations",:action=>"index" on .htaccess RewriteEngine On Options +FollowSymLinks +ExecCGI RewriteBase /rails RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.cgi [QSA,L] when I browse the url http://DNS.com/rails/registrations/ it gives an error No route matches "/rails/registrations/" with {:method=>:get}" thank you n advance for any suggestion |
|
#2
|
|||
|
|||
|
What have you found out? Apparently HostGator does not work well when one works from SSH. I tried starting the application from Cpanel, but can't find a route that works.
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shoutcast Application for WHM/cPanel | chaloupe | Off-Topic | 11 | 10-15-2007 04:22 PM |
| Application Suggestion/Help | rnc | Webhosting | 4 | 06-21-2007 02:56 AM |
| Will HG allow Newsletter application?? | NeoPrince | Pre-Sales Questions | 3 | 05-23-2007 02:59 AM |
| Database Web Application? | tim254 | Shared Hosting Support | 2 | 04-04-2006 02:45 PM |
| Can these application run on Hostgator? | Consideration | Pre-Sales Questions | 1 | 11-14-2004 01:32 AM |
All times are GMT -5. The time now is 01:25 AM.









