Re: Ubuntu & Rails, can''t get it to work

Srdjan Pejic
Fri, 14 Mar 2008 19:58:24 -0000

I''m not sure if my first message got posted or not.
I''ve run into this issue before with FastCGI. The problem for me was
that the at the top of dispatch.rb, dispatch.fcgi and dispatch.cgi was
the path to a Ruby installation specific to a Windows machine, because
that''s where I was trying it out. However, the path is obviously very
different for Linux. Once I changed that path to point to where Ruby
was installed on that specific machine (in my case, /usr/bin/ruby),
the problem resolved itself.

So, make sure that your Rails app''s above files point to where Ruby is
installed. Also, it wouldn''t hurt if you had Ruby, RubyGems and Rails
versions and environments set in your shell''s path.

Hope this helps

On Mar 14, 1:51 pm, comopasta Gr
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
> Ar Chron wrote:
> > Any compelling reason why you can''t run Feisty or Gutsy?  I
ask only
> > because that''s where my experience with Ubuntu and Rails
begins...
> > either with a 7.10 server at work that is running in a VM, or on my
own
> > 7.04 desktop version running in VMware at home...
>
> > ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux]
> > Rails 2.0.2
>
> > and I haven''t had any real issues like those of which you
speak, and
> > most of my server setup is straight "sudo apt-get install blah
blah"
>
> > Unfortunately, what I know about Apache will fit in a thimble, so I
> > won''t be much help there.
>
> I actually have Ubuntu server on its onw but I''m running something
else
> there and I wouldn''t like to screw it up because my knwoledge
about
> Apache is low.
> And actually on that server I didnt have any problems after the
> installation was done.
>
> I guess I should give it another try and start from scratch.
>
> Thanks.
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com