similar to: why ''hello world'' doen''t work?

Displaying 20 results from an estimated 2000 matches similar to: "why ''hello world'' doen''t work?"

2006 Feb 23
11
Need help for simple RoR code.
I try a ''hello world'' demo here,It only show a ''hello word'' on web page you can see all my codes and structure here http://www.smtservers.com/demo/ I want to access the ruby app like this http://www.smtservers.com/demo/say/hello but I get a 404 error. Please let me know what problem the code have I am new for RoR. I am not sure the site structure is ok or
2006 Feb 24
8
Ruby site structure on Apache
I use a hosting company,it use appache for RoR I test a ''hello word'' code here http://www.smtservers.com/demo/ I can see the working code here http://www.smtservers.com/demo/public/say/hello My question is how to short the url like http://www.smtservers.com/demo/say/hello.I do not like public always in URL Thanks for help Mark -- Posted via http://www.ruby-forum.com/.
2006 Feb 23
12
RoR site structure on Apache
I try a ''hello world'' demo here,you can see all my codes and structure http://www.smtservers.com/demo/ I want to access the ruby app like this http://www.smtservers.com/demo/say/hello but I get a 404 error. Please let me know why. I am not sure the site structure is ok or not.Please give me a help Thanks Mark -- Posted via http://www.ruby-forum.com/.
2006 Feb 20
4
how to set a simple application in Apache?
I am not familar with the RoR site stucture on Apache. I did this but.it doen''t work. I only want to output a word on a page with RoR. I did this 1. >cd public_html (enter web root) 2. >rails sayhello 3. >cd sayhello 4. >cd app 5. >cd controller (enter controller folder) 6. edit application.rb def hello end 7. cd views (enter views folder ) 8. add a
2006 Feb 20
2
what is gem?
Ruby is a language and Rails is a framework. but what is gem?I am new for RoR. I need your help. Thanks Mark -- Posted via http://www.ruby-forum.com/.
2004 Aug 10
5
bash: /usr/local/bin/rsync: Argument list too long
I get this error when I try to copy a directory with a lot of files: "bash: /usr/local/bin/rsync: Argument list too long" The exact command is: "/usr/local/bin/rsync -rsh=/usr/bin/rsh -r --delete --perms --owner --group /mail/spool/imap/user/wex/* root@192.168.250.68:/mail/spool/imap/user/wex". BUT, if I try tris command it works: "/usr/local/bin/rsync
2006 Feb 27
2
RoR Blog application?
I am look for a open source RoR Blog application and to see how it work. Do you know one of them.Thanks. M -- Posted via http://www.ruby-forum.com/.
2007 Oct 24
3
fastcgi
Hello is there any fastcgi rpm available. I downloaded fastcgi rpm from pbone.net, but it does not contain mod_fastcgi.so what about srpm ? http://rpm.pbone.net/index.php3/stat/4/idpl/612033/com/mod_fastcgi-2.4.0-1.i386.rpm.html thanks for help
2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
I have a problem deploying FastCGI for use with RoR. OS: FreeBSD 5.4 Apache: 2.0.55 FastCGI: 2.4.2 ###### I compiled a new mod_fastcgi.so and copied it to /usr/lib/apache/mod_fastcgi.so ###### My httpd.conf looks like this: LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi </IfModule> ###### The testscript
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work, followed the instructions at http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger When I go into my rails app and type "./script/server" I get the following errors: baggio:~/work/teore pergesu$ ./script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Feb 24
5
Controller Methods gets called twice on single invocation
I have no idea why this is happening but it seems like every method on my controller gets called twice. Here is what it looks like when I call a list using the scaffold code ========================== Processing DepartmentsController#index (for 127.0.0.1 at 2006-02-24 01:05:00) [GET] Parameters: {"action"=>"index", "controller"=>"departments"}
2005 Dec 19
4
Locomotive 500 - Internal Server Error
I''m getting this in my Lighttp.error.log file when trying to run typo in Locomotive. What does this mean? 2005-12-19 16:56:57: (mod_fastcgi.c.1532) connect failed: 9 Connection refused 61 0 /tmp/ruby-fastcgi.A5364CB4-70E2-11DA- AC3C-000A95BA28D0-5471-00000DCDBD6C54E6.socket-1 2005-12-19 16:57:01: (mod_fastcgi.c.2196) unexpected end-of-file (perhaps the fastcgi process died): pid:
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd: BEGIN ERROR: $ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server (see config/lighttpd.conf for options) 2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI. I have this config under httpd.conf ------------------------ LoadModule fastcgi_module modules/mod_fastcgi.dll ... Alias /fatturails/ "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public/" <Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public"> AddHandler fastcgi-script .fcgi
2006 May 30
2
Strange error
I have been getting the following error everyonce in a while. Can someone please suggest what could be going wrong with my system? It happens about once every 3 weeks. I resolve this by rebooting my server, although I never tried to figure out what is the real problem. Sharkie 2006-05-30 16:53:49: (mod_fastcgi.c.1561) connect failed: 386 Connection refused 111 0 /tmp/site.fcgi.socket-2
2006 Apr 19
6
Shared host (Dreamhost)
I am unable to install gems on my dreamhost server since it''s just shared hosting. I tried unpacking the ferret gem into vendor/ferret, but to no avail. Also how would I recompile the C extensions for the new platform? Any ideas would be greatly appreciated. Cheers, Simon -- Posted via http://www.ruby-forum.com/.
2006 Mar 25
4
Can''t quite get Rails working on Mac, help please :).
I''ve followed the install the install guide on http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger and it seemed to work. And I''ve been following the Instant Gratifiction guide in Chapter four in Agile Web Development with Rails book. I''m in terminal and I type - cd work (everything works fine) then rails demo (everything seems to work) then cd
2006 Mar 23
5
[OT] building fastcgi
Following the instructions on Hivelogic, everything works flawlessly on my Powerbook until I do the ''sudo gem install fcgi. I''m getting no-definition errors all over the place. Any thoughts how to resolve this? Example of errors: No definition for fcgi_s_accept No definition for fcgi_s_each No definition for fcgi_s_each No definition for fcgi_s_iscgi -- View this message in
2006 Mar 26
3
help with rails and apache
i just went through the tutorial on http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel but i''m having some problems. when i add: <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi </IfModule> under the line that says: LoadModule fastcgi_module libexec/mod_fastcgi.so apache fails to restart. i went on
2006 May 11
3
LightHTTPD FastCgi Error in Production Mode
I''ve been banging my head against the following for about 8 hours now, and have exhausted my web research options: /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21:in `require'': no such file to load -- /usr/home/matthew.feadler/rails/avclfc/public/../config/environment (LoadError) from /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21