Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    1

    Default Ruby Gems Issue

    Hi,

    I am currently with a web host running cPanel 11.

    I have tried to understand how to use the Ruby Gems however I just encounter problems when trying to use them.

    I have installed them through cPanel and SSH but still no luck.

    The gems state that they have installed correctly, but when I come to 'require' them in projects it generates errors.

    Could you please guide me how to require them in projects, for example do I just state require gem_name?

    Hope you can help.

    Thanks, Rob

  2. #2
    Member serversignature's Avatar
    Join Date
    Nov 2007
    Location
    Bangalore
    Posts
    107

    Default

    Login to cPanel.
    Click on the icon for "Ruby on Rails" (not Ruby Gems)
    Check the box for "Load on boot?'
    Fill in the "App Name" box and name it "test"
    Application Path will be automagically filled in for you as public_html/test
    Select "production" for the Environment, which should already be selected as the default.
    Click "Create"
    Now you can go to http://yourdomain.com/test/public/
    You should now see a "Welcome aboard" message which is the default Ruby index page.
    If you get a 400 Error, make sure to include the trailing slash "/" after "public" or you may not see the default Rails welcome page.

    See the image at http://www.serversignature.com/Manag...plications.png

    Please check with your webhost also for support
    Serversignature.com - Professional Linux Consulting.

Similar Threads & Tags
Similar threads

  1. Ruby Gems. What Now? Help!
    By takuhii in forum New User Questions
    Replies: 3
    Last Post: 07-16-2009, 01:07 PM
  2. ruby gems installer problem
    By OffbeatAdam in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 09-13-2008, 04:11 AM
  3. Security issue with ruby gems install.
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 06-05-2008, 08:55 AM
  4. how does one uninstall ruby and gems?
    By betoranaldi in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-10-2008, 07:11 PM
  5. Ruby Gems on Centos 4.5
    By brianc in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-24-2007, 07:46 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube