PAYH - Deployment of Ruby on Rails Application
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- PAYH - Deployment of Ruby on Rails Application
PAYH - Deployment of Ruby on Rails Application
19-11-2008 12:46 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I have successfully implemented a virgin RoR test application directly on the platform (via cunning use of cron) and this works.
I then tried to deply an existing application (upload, unpack, configure, run) and I can not get it to work.
My investigations show that the RoR platofrm is missing critical components; most notably rubygems and net/https.
Also I noticed that the vendor/rails area is symlinked to directories in /usr/share/rails owned by root (this is how the rails test app was generated on the payh platform).
I had frozen my Rails app (rake rails:freeze:gems) to make sure I had the right rails version but the app did not run. I removed the frozen rails and manually symlinked it to the items in /usr/share/rails. It starts now but fails because of missing components - this time net/https ?
Is is possible to get extra libraries installed on the payh platform ?
I fear that, without the ability to do this, the platform is of limited use: fine for test applications but no good for anything real.
Thanks
Re: PAYH - Deployment of Ruby on Rails Application
19-11-2008 9:58 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
At some point soon we'll need to do a trawl of this forum and identify all the additional requirements that have come up, then go through each one and work out what we need to do, what risks if any are presented as a result, and create a plan for deploying the changes we can make. WI would be hopeful that we can get those libraries installed during the next few months or sooner, presuming that there are no significant issues with their use on the plesk platform.
Ian
Re: PAYH - Deployment of Ruby on Rails Application
20-11-2008 2:09 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I am happy to provide feedback regarding rails. I have already written notes explaining how to create a running test application but it's the real applications that we need to get working. I will be persevering to try and make this work and am happy to provide feedback.
I note that Plesk formally supports Rails but, without dependent libraries, it's pretty useless.
I haven't published any notes because I haven't yet got a real application to work and there seems to be very little interest in Rails here on PN anyway; the archives do show a few people asking for it (myself included) going back to 2006; however.
Regards,
John
Re: PAYH - Deployment of Ruby on Rails Application
24-11-2008 12:11 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The Plesk platform has Ruby 1.8.5 and Rails 1.1.6 installed. It does not have Rubygems on it. That is an ancient version of rails. I am working on getting an up to date rails app up and running using the latest Rails 2.2.2 core which allows gem dependencies to be "vendored" into the application space (removing the requirement for a sysadmin to pre-install them).
If anyone else is interested in rails at all let me know...
Re: PAYH - Deployment of Ruby on Rails Application
24-11-2008 5:42 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: PAYH - Deployment of Ruby on Rails Application
24-11-2008 9:14 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Or of course there is this thread on Community.
Why log it in the PUGIT database?
- It does tend to keep the data on problems in one area
- It is useful to be able to get reports on Problems in the same area for potential re-work;
- PUG does actively manage the problem database to bring important items to Plusnet attention
If you use the filtering options on the PUGIT page, you will find a range of long standing issues against CGI Platform; PAYH; Web Hosting; MySQL many of which have been or will soon be addressed on the new PAYH platform before formal launch. Plusnet do use PUGIT when planning new developments

Maurice
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: PAYH - Deployment of Ruby on Rails Application
25-11-2008 12:41 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

Re: PAYH - Deployment of Ruby on Rails Application
25-11-2008 11:17 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I have been doing some testing with the Rails platform and have come to the conclusion that the installed versions on the PAYH platform are rather old (being Ruby 1.8.5 and Rails 1.1.6) and there are missing tools that a typical rails platform would have, most notably RubyGems.
RubyGems is the package manager for Ruby and Rails libraries and a modern Rails app won't even start without it being present.
RubyGems is available here: http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
With Rails 2.2 it is possible for application dependencies to be packaged within the application which means it should be possible to package Rails itself and any libraries required into the user application space. However RubyGems is a system component that is required.
So I think that, with RubyGems installed, it should be possible to run any version of Rails from 2.2 onwards.
While we're at it, if we can update Rails to version 1.8.6 which is the recommended version for use with Rails. Ruby 1.8.7, 1.8.5, 1.8.4 and 1.8.2 are still usable too, but version 1.8.3 is not. Ruby 1.8.7 still has some bugs to straighten out (see http://www.rubyonrails.org/down).
Kevin - Ian suggested that I highlight this for your attention to see if we can incorporate RubyGems and Rails to 1.8.6 into a plesk update.
Re: PAYH - Deployment of Ruby on Rails Application
28-11-2008 10:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Ian
Re: PAYH - Deployment of Ruby on Rails Application
29-11-2008 10:00 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yesterday I successfully installed RubyGems locally in my home directory and using that I installed the latest Rails 2.2.2. I can generate an application but it won't run because dependencies like openssl are missing. I can see openssl is there it's just that Ruby is missing its openssl bindings. I failed to rebuild Ruby locally due to the absence of gcc on the platform.
At this point I have to give up until such a time as you guys are able to make changes to the platform. I think the ideal we need to achieve is
(a) upgrade Ruby to 1.8.6 (NOT 1.8.7 as it's known to contain issues - Rails states a preference for 1.8.6); Make sure it has the openssl bindings.
(b) install RubyGems (1.3.1 is the latest version)
(c) install Rails 2.2.2
You can check a Ruby install has openssl with the command: ruby -rubygems -e "require 'openssl'"
PM me if you want info about how I installed RubyGems and Rails in my home directory.
Re: PAYH - Deployment of Ruby on Rails Application
27-01-2009 1:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: PAYH - Deployment of Ruby on Rails Application
12-02-2009 4:25 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I have not used the web hosting facility at Plus before.
I just logged on to cshell. I can use msql but ruby is not found.
Is there a helpsheet which has step by step instructions of how to load my rails application on to this?
Re: PAYH - Deployment of Ruby on Rails Application
12-02-2009 10:32 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I can't get any commitment from PN about this so I've pretty much given up and have sought other solutions...
Re: PAYH - Deployment of Ruby on Rails Application
16-02-2009 8:53 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
"Unfortunately our platform doesn't support Rails.
Sorry for the mis-information - I'll make the agents aware."
Re: PAYH - Deployment of Ruby on Rails Application
17-02-2009 12:05 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- PAYH - Deployment of Ruby on Rails Application