PLESK 8.3 - RUBY ON RAILS Setup
Ruby on Rails - WORKING This is how I got Ruby on Rails (RoR) working on my Plesk machine. I didn't find any major problems with Plesk's implementation, although it took me about 6 hours of trial-and-error to get it working right. SWSoft - you could seriously use some documentation for each Operating System you support.
First thing's first: In your Plesk control panel, make sure that you have your server updated with Ruby On Rails is installed. To do so, go to Server > Updater and enable "Ruby on Rails Support."
After this, go to your domain, and enable FastCGI, which will allow your site to use RoR.
Change to your httpdocs directory:
Code:
Create a basic rails application. To do so, use this command:
Code:
Remember to replace {railsapp} with the name of your application.
Change the file ownership to the domains user/group:
Code:
Change the permissions on the sessions directory:
Code:
Note: Someone let me know if this is a bad idea ... I don't think it is, but I'm not sure. My system had problems writing to the sessions folder unless I chmod'd 777.
Change directory to your new application and edit your .htaccess file in the public/ directory:
Code:
On line 2, change:
Code:
To:
Code:
On line 32, change:
Code:
To:
Code:
Test your installation. Go to http://www.{domainname.com}/{railsapp}/public/
You should see the standard "Welcome Aboard" Rails index page.
Comments
Posted by: Crasty | novembre 4, 2009 09:18 AM
Posted by: about2flip | janvier 6, 2010 02:06 AM
Posted by: Xlooorki | mars 6, 2010 10:49 PM
Posted by: Kzcryotj | mars 6, 2010 10:49 PM
Posted by: Suhwchnv | mars 8, 2010 02:27 AM
Posted by: Qrsvxtsv | mars 8, 2010 02:27 AM
Posted by: Qabsqkjc | mars 8, 2010 02:28 AM
Posted by: Nrfsydus | mars 8, 2010 03:42 AM
Posted by: Tieqgomj | mars 8, 2010 07:57 AM
Posted by: Kuvbxric | mars 8, 2010 07:58 AM
Posted by: Pfcokmnv | mars 8, 2010 07:58 AM
Posted by: Rkhufdnk | mars 8, 2010 07:58 AM
Posted by: Yojbsyyo | mars 9, 2010 01:47 AM
Posted by: Ioqayqpr | mars 9, 2010 01:47 AM
Posted by: Lrtpqpvz | mars 9, 2010 01:47 AM
Posted by: Kfhesfcj | mars 9, 2010 01:48 AM
Posted by: Vefxgcem | mars 9, 2010 01:48 AM
Posted by: Legvofyh | mars 9, 2010 07:21 AM
Posted by: Wiqcpvmm | mars 9, 2010 07:22 AM
Posted by: Nmngwgzy | mars 9, 2010 07:23 AM
Posted by: Lztygxjf | mars 9, 2010 07:23 AM
Posted by: Rjzkrayd | mars 9, 2010 07:25 AM
Posted by: Qbrfymgh | mars 9, 2010 01:04 PM
Posted by: Sssgnaaj | mars 9, 2010 01:04 PM
Posted by: Azsdfjip | mars 9, 2010 01:04 PM
Posted by: Rpfspkxe | mars 9, 2010 01:05 PM
Posted by: Riukyerw | mars 9, 2010 06:35 PM
Posted by: Omaqdrln | mars 9, 2010 06:35 PM
Posted by: Eccjaije | mars 9, 2010 06:36 PM
Posted by: Hvcdanea | mars 10, 2010 12:09 AM
Posted by: Zindcwdg | mars 10, 2010 12:10 AM
Posted by: Kddkofpq | mars 10, 2010 12:10 AM
Posted by: Ifwtzizc | mars 10, 2010 11:38 AM
Posted by: Gordqixa | mars 10, 2010 11:39 AM
Posted by: Ybtliunc | mars 10, 2010 11:39 AM
Posted by: Jwgllyjp | mars 10, 2010 11:39 AM
Posted by: Mjtgqogm | mars 10, 2010 11:41 AM
Posted by: Utvhwxls | mars 10, 2010 08:58 PM
Posted by: Pffpnqwz | mars 10, 2010 08:58 PM
Posted by: Zhtdmjuy | mars 10, 2010 08:58 PM
Posted by: Mqbxaxtt | mars 10, 2010 08:59 PM
Posted by: Flksvvzf | mars 10, 2010 11:13 PM
Posted by: Gbadiyfv | mars 10, 2010 11:14 PM
Posted by: Chqgdljo | mars 10, 2010 11:14 PM
Posted by: Ipvxrtje | mars 10, 2010 11:15 PM
Posted by: Bqcjfzpl | mars 10, 2010 11:15 PM
Posted by: Udjahudh | mars 10, 2010 11:15 PM
Posted by: Odlmzwvb | mars 10, 2010 11:16 PM
Posted by: Hqvxbwuh | mars 10, 2010 11:16 PM
Posted by: Lilyeggj | mars 11, 2010 04:56 AM
Posted by: Jxmivkwz | mars 11, 2010 04:57 AM
Posted by: Fqwhulyk | mars 11, 2010 04:57 AM
Posted by: Rpybzccz | mars 11, 2010 04:57 AM
Posted by: Opymzupw | mars 11, 2010 05:55 AM