Re: Rails on Plesk (missing libraries and gems)

Frederick Cheung
Wed, 19 Nov 2008 09:30:58 -0000

On 19 Nov 2008, at 00:37, John Lane wrote:

>
> Hello, my ISP (PlusNet) is switching their hosting platform to Plesk
> which has RoR but there is little support provided by the ISP.
>
> I''ve been trying to install an application and have hit the
buffers
> because there are various items missing (currently I''m stuck
wanting
> for
> net/https for ActiveMerchant). Gem is not installed on Plesk and I
> have
> limited access (no shell logon) to do stuff.
>
> What I would like to do is identify my applications dependencies and
> somehow freeze them into the vendor tree. Is this possible ?
>
> By this I mean freeze not only rails but any other gems my application
> relies upon. Also things that aren''t gems (I don''t think
net/https)
> is a
> gem (I think it was libopenssl-ruby on my Ubuntu dev platform).
>

With rails 2.1 you can vendor any gems you want into the app. Check
out config.gems and the gem related rake tasks.
You''re probably boned if they haven''t installed bits of
standard
library like libopenssl.

Fred
> Any help would be appreciated. I would like to get a real application
> running on this Plesk platform.
>
> Many thanks
> --
> Posted via http://www.ruby-forum.com/.
>
> >