# Need Help

**URL:** <https://www.ruby-forum.com/t/need-help/188885>\
**Category:** Rails\
**Created:** [May 19, 2010, 10:02pm UTC](https://www.ruby-forum.com/t/need-help/188885 "2010-05-19T22:02:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![payahbleh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e79b87/32.png) [@payahbleh](https://www.ruby-forum.com/u/payahbleh)\
**Post date:** [May 19, 2010, 10:02pm UTC](https://www.ruby-forum.com/t/need-help/188885/1 "2010-05-19T22:02:22Z")

</div>

I have this application installed on my computer  
apache HTTP Server 2.2  
Ruby 1.8.7  
Gems  
Rails  
Mysql 5.1

in appache configuration file i made some change:

From: Options Indexes FollowSymLinks  
To : Options Indexes FollowSymLinks ExecCGI

unmark AddHandler cgi-script .cgi .rb

Then i go to command prompt with ruby then type this:

rails Testing  
C:\Testing\ruby script\generate controller mytest  
C:\Testing\ruby script\server

So the server up and running, then i type this on the browser

[http://localhost:3000/](http://localhost:3000/)

The welcome aboard page show up

and when i type this on the browser: [http://localhost:3000/mytest](http://localhost:3000/mytest)

C:/Ruby/lib/ruby/1.8/timeout.rb:58: [BUG] Segmentation fault  
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]

This application has requested the Runtime to terminate it in an unusual  
way.  
Please contact the application’s support team for more information.

and in the browser say We’re sorry, but something went wrong. We’ve been  
notified about this issue and we’ll take a look at it shortly.

Could anybody tell me where i did wrong, its just simple code?  
From what i read it suppose to say something like error can’t find index  
in mytest  
because i havent define index in controller mytest

For your information i already change database.yml in config folder

development:  
adapter: mysql  
database: db  
username: root  
password: pass  
host: localhost  
test:  
adapter: mysql  
database: db  
username: root  
password: pass  
host: localhost  
production:  
adapter: mysql  
database: db  
username: root  
password: pass  
host: localhost

Thank you for any replies, i really appreciate it

---

<div class="post-metadata">

**Author:** ![payahbleh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e79b87/32.png) [@payahbleh](https://www.ruby-forum.com/u/payahbleh)\
**Post date:** [May 19, 2010, 10:12pm UTC](https://www.ruby-forum.com/t/need-help/188885/2 "2010-05-19T22:12:29Z")

</div>

by far the easiest way to use rails with apache is to use passenger:

> **[Passenger - Enterprise grade web app server for Ruby, Node.js, Python](https://www.phusionpassenger.com/)**
>
> Passenger is a rock-solid, feature-rich web app server that integrates with Apache and Nginx. Serve millions of customers with confidence
