Setting up Environment


#1

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
=> 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.


#2

On Sun, Nov 30, 2008 at 10:14 AM, David F.
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


#3

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

On Nov 30, 12:14 pm, David F. removed_email_address@domain.invalid