Current time: 04-18-2014, 08:40 AM Hello There, Guest! (LoginRegister)

Post Reply 
Vote for Ruby on Rails
06-16-2005, 02:36 PM
Post: #21
Vote for Ruby on Rails
This has not yet been announced publicly but we now have full support for Ruby on Rails, several popular Rubygems, and FastCGI on all of our hosting accounts. FastCGI is off by default but can be toggled on via the Domains -> Web area of the web panel. Let us know how it works for you!

- Dallas
- DreamHost Head Honcho/Founder
Find all posts by this user
Quote this message in a reply
06-16-2005, 07:13 PM
Post: #22
Vote for Ruby on Rails
Quote:This has not yet been announced publicly but we
now have full support for Ruby on Rails, several
popular Rubygems, and FastCGI on all of our
hosting accounts. FastCGI is off by default but can
be toggled on via the Domains -> Web area of the
web panel. Let us know how it works for you!

Yay!

- Jeff @ DreamHost
- DH Discussion Forum Admin
Visit this user's website Find all posts by this user
Quote this message in a reply
06-17-2005, 03:46 PM
Post: #23
Vote for Ruby on Rails
After all the interest shown in this I'm surprised no one has commented here yet.

But thanks. I, for one, look forward to using it (just as soon as I get the time and inspiration for another site...)

--
If you want useful replies, ask smart questions.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-20-2005, 09:37 AM
Post: #24
Vote for Ruby on Rails
I'm ultra interested in it.

However, it looks as if Ruby, Rails and FastCGI aren't installed on my server.

I got Ruby and Rails running with a local install though, but I'd prefer a normal install plus RMagick plus FastCGI. Is that possible?

I'm on Herod (why do servers always have roman or greek names? =D)

Thanks alot!
Rob
Find all posts by this user
Quote this message in a reply
06-21-2005, 01:30 PM
Post: #25
Vote for Ruby on Rails
I thought the same thing, but I did some poking around and found that they _are_ installed, it's just Ruby that's not quite normal. They've still got Ruby 1.8.2 loaded as "ruby1.8" instead of just plain ruby, and you should be able to run rails or gem from the shell with no problem. (And it's a nice collection of gems they've got installed.)

HOWEVER, even if you use the control panel to turn FastCGI on for the domain, the fcgi ruby module and/or gem are not installed, at least not on my server. This makes fcgi more or less useless to me, as the only reason I need it is to run Rails.

It does seem like this "Rails on every host" business is still a work in progress.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-21-2005, 04:28 PM
Post: #26
Vote for Ruby on Rails
According to the literature I've read, getting an app into production mode requires access to the httpd.conf file to set the environment variable:

***
Apache/FastCGI:
In httpd.conf, add the following option to the FastCgiServer definition.
-initial-env RAILS_ENV=production
***
Anyone know of another way to do this other than hacking the environment.rb file?
Find all posts by this user
Quote this message in a reply
06-21-2005, 05:36 PM
Post: #27
Vote for Ruby on Rails
Yeah, you can do it by adding a line to your .htaccess for your app:

SetEnv RAILS_ENV production

I'm a brand-new DH customer, but I've used this on my other server and it works fine.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-22-2005, 03:29 PM
Post: #28
Vote for Ruby on Rails
Amazing. I'm a current DreamHost customer and had just decided I really wanted to use Rails for my next app. I was Googling around for Rails hosts and unexpectedly found a link here.

So, you just retained a customer.
Find all posts by this user
Quote this message in a reply
06-22-2005, 04:53 PM
Post: #29
Vote for Ruby on Rails
Herod's software was not up to date a few days ago, but it is up to date now. 'ruby' is ruby 1.8.2 and FastCGI and Rmagick are installed.

- Dallas
- DreamHost Head Honcho/Founder
Find all posts by this user
Quote this message in a reply
06-22-2005, 05:31 PM
Post: #30
Vote for Ruby on Rails
What about Napoleon? I've had tons of problems so far with fcgi and mysql -- I think those gems just need to be reinstalled. I had to go into environment.rb and force Rails to use its own Mysql module, which has a known issue regarding MySQL 4.1, so I have to use another db server, and fcgi is hosed so this app that I had to hack in order to use the wrong db server is taking 20-30 seconds to serve a single "Hello World". The wait time on my support ticket for this is (so far) 18 hours and change.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: