# Setting up Environment

**URL:** <https://www.ruby-forum.com/t/setting-up-environment/154495>\
**Category:** Rails\
**Created:** [November 30, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/setting-up-environment/154495 "2008-11-30T19:14:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f07891/32.png) [@davidf](https://www.ruby-forum.com/u/davidf)\
**Post date:** [November 30, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/setting-up-environment/154495/1 "2008-11-30T19:14:39Z")

</div>

I’m new to ruby on rails and have been struggling trying to set up the  
environment on my machines. I’ve never had so much trouble getting  
started (I must admit that I’ve primarily used Visual Studio 08 and C#.)  
I’ve run into almost constant problems with just getting the environment  
started. I’ve searched and usually found all the little tweaks I needed  
to make to get things going. But now, I’m almost there but I am plagued  
by problems like this:

* * *

C:\Users\David\Documents\Rails\mydiary\>ruby script/server  
=\> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)  
=\> Rails 2.2.2 application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
=\> Call with -d to detach  
=\> Ctrl-C to shutdown server  
\*\* Starting Mongrel listening at 0.0.0.0:3000  
\*\* Starting Rails with development environment…  
\*\* Rails loaded.  
\*\* Loading any Rails specific GemPlugins  
\*\* Signals ready. INT =\> stop (no restart).  
\*\* Mongrel 1.1.5 available at 0.0.0.0:3000  
\*\* Use CTRL-C to stop.  
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action\_controller/templates/rescues/\_trace.erb:23:  
[BUG] Segmentation fault  
ruby 1.8.6 (2007-09-24) [i386-mswin32]

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

* * *

This failure crashes Ruby and is near the last straw for me and Ruby.

I’ve followed, step-by-step, the environment setup step in the tutorial  
and even bought the Peter C. book to try to use his set up. But no  
matter what I do - and regardless of using an XP, Vista or Linux machine  
(I’ve tried in all three) I have yet been able to get a successful  
implementation of even a simple demo.

Any advice that anyone could offer on what I’ve done wrong to create the  
above error - I would sincerely appreciate.

In addition - does anyone have an environment configuration that “works”  
for XP, Vista or Linux. I’d do anything at this point to get past these  
constant problems creating a functional ruby on rail environment.

Thanks.

---

<div class="post-metadata">

**Author:** ![davidf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f07891/32.png) [@davidf](https://www.ruby-forum.com/u/davidf)\
**Post date:** [November 30, 2008, 7:23pm UTC](https://www.ruby-forum.com/t/setting-up-environment/154495/2 "2008-11-30T19:23:59Z")

</div>

On Sun, Nov 30, 2008 at 10:14 AM, David F.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’ve run into almost constant problems with just getting the environment  
> started.

I’ve never used RoR with Windows, but have had no setup problems  
on Linux (or Mac OS).

It seems to be a common opinion, though, that RoR on Windows is  
somewhat problematic. Maybe if you stick to the Linux install and  
get that working first… What are your issues there?

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![davidf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f07891/32.png) [@davidf](https://www.ruby-forum.com/u/davidf)\
**Post date:** [December 2, 2008, 10:47am UTC](https://www.ruby-forum.com/t/setting-up-environment/154495/3 "2008-12-02T10:47:01Z")

</div>

Not sure what the issue might be. If you are looking for pre-  
packaged rails development environment for Windows you may want to try  
instant rails…

[http://instantrails.rubyforge.org/wiki/wiki.pl](http://instantrails.rubyforge.org/wiki/wiki.pl)

On Nov 30, 12:14 pm, David F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
