The cPanel instructions are incorrect; simple gems may work using that
method, but it''s not going to work in general.
See this page:
http://wiki.a2hosting.com/index.php/How_to_install_your_own_Ruby_Gems
For a better explanation of the correct way (using GEM_HOME).
--Matt Jones
On Jun 10, 7:08 pm, Rob Pa
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Hi,
>
> I am having several problems using Ruby on Rails through cPanel. The
> main problems come when using Ruby Gems.
>
> They seem to install correctly, however errors are caused when I try to
> include them in the application.
>
> cPanel states;
>
> "Using Your Ruby Gem(s)
>
> You will need to add /home/***/ruby/gems to the include path.
> You can do this by adding the following code to your script:
>
> $:.push("/home/***/ruby/gems")"
>
> However I don''t really understand what this means. Where do I put
this?
>
> How would I go about including a Gem?
>
> Thanks in advance,
> Rob
> --
> Posted viahttp://www.ruby-forum.com/.