Welcome, Guest. [ Log In ]
Question   DREAMHOST LAUNCHES RUBY ON RAILS
Search KBase


Top 5 in this Area:
1. DREAMHOST ADDS FREE JABBER-BASED INSTANT MESSAGING TO ALL WEB HOSTING PLANS
2. QUICKTIME STREAMING NOW AVAILABLE THROUGH DREAMHOST
3. DREAMHOST REWARDS - IT'S EVEN SIMPLER!
4. DREAMHOST INTRODUCES FREE WEB-BASED E-MAIL
5. DREAMHOST ANNOUNCES PRICE FREEZE PLEDGE

 
DREAMHOST LAUNCHES RUBY ON RAILS
June 16th, 2005

Los Angeles, CA - Web hosting proivder DreamHost Web Hosting (dreamhost.com), announced on Thursday it would begin offering Ruby on Rails as a standard feature of all hosting accounts.

Ruby is an object-oriented, highly dynamic scripting language created by Yukihiro Matsumoto with the intent to maximize the 'joy' of programming by simplifying the code-writing process. Rails is a web application framework for Ruby which aims to eliminate code duplication and streamlime the development process. This combination, known as "Ruby On Rails," has grown to be one of the most popular web technologies in recent months.

"Ruby on Rails is one of the most powerful and flexible web-application frameworks available today," says Dallas Bethune, CTO. "It greatly simplifies the development of dynamic websites and fits in perfectly with the range of services that we already offer."

Support for Ruby on Rails was added as a direct result of customer feedback and exemplifies DreamHost's ongoing commitment to customer service.


About DreamHost

DreamHost provides web hosting, dedicated server and domain name registration services to more than 130,000 domains worldwide. The company offers customized service plans for hobbyists, entertainers, creative professionals and small businesses. All DreamHost plans feature a customizable web panel which gives customers unsurpassed personalization and manageability of their data.

For more information, please visit http://www.dreamhost.com/.

Last updated: Sep 19, 2005.

User Post (2005-08-15 17:46:54 by npaci)
the chmod 755 dispatch* files is missing the directory "public." it should be:
chmod 0755 /home/yourname/rails.yoursite.com/public/dispatch*
User Post (2005-07-07 01:20:50 by mjhughes)
Installation is very easy.

1. Start in the dreamhost web-panel manage domains and add a new domain to play around in
e.g. rails.yoursite.com

point the webroot to /home/yourname/yoursite.com/public

2. Goto the dreamhost goodies->mysql and add three new databases
yourname_test, yourname_production,yourname_development
add hostnames for these databases
testdb.rails.yoursite.com, productiondb.rails.yoursite.com, developmentdb.rails.yoursite.com

Lots of folks say the beauty of mysql is that you can keep everything organized in one database. But if you have to read these directions, you, like me, likely make mistakes from time to time. Best in my opinion to mitigate losses.

Wait until you receive emails from dreamhost telling you everything is now active (subdomain is critical -- db less so). Dreamhost says it could be a day or two.

To install to yoursite.com/public

3. At the bash prompt, type:

rails /home/yourname/rails.yoursite.com
chmod 0755 /home/yourname/rails.yoursite.com/public
chmod 0755 /home/yourname/rails.yoursite.com/dispatch*

that should do it for basic setup. Navigate to http://rails.yoursite.com/ and there is a welcome page with further informations.

The following may/may not be necessary, but might be worth trying if you still don't see anything.

Many sites recommend to change what they call the "She-bang!" line -- the first line of the code in the public/dispatch.rb, public/dispatch.cgi, and public/dispatch.fcgi files to reflect the location of the ruby executable on the dreamhost servers -- the dreamhost server I'm on, Apok has both.

pico /home/yourname/yoursite.com/public/dispatch.rb
(delete first line in file and type the following)
#!/usr/bin/ruby
[Ctrl]+X
y

navigate to
http://rails.yoursite.com/ and hopefully you'll see something other than an error message.
__________________________________________________________
if you want to go nuts and create your own instance of RoR for whatever reason (I can't think of a good one at the moment now that dreamhost supports it) the easiest way I've found is to type the following at the shell

curl http://home.leetsoft.com/dropbox/private-ruby/install | sh