This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

Ruby Gems Installation

Problem:

How do I install my own Ruby Gems?

Solution:

  1. Using File Manager in your cPanel make a copy of the .bashrc file in your root directory, name it .bashrc.bak.
  2. Now edit the .bashrc file and add the following to the end of the file:
    • export GEM_HOME=$HOME/ruby/gems
    • export GEM_PATH=$GEM_HOME:/lib/ruby/gems/1.9.3
    • export GEM_CACHE=$GEM_HOME/cache
    • export PATH=$PATH:$HOME/ruby/gems/sass-3.4.21/bin/
  3. When using a rails application, make sure you add the following to your ./config/environment.rb:
    • ENV['GEM_PATH'] = '/path/to/your/home/ruby/gems:/lib/ruby/gems/1.9.3'
Knowledgebase Article 133,941 views bookmark tags: gem install ruby


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

What Ruby on Rails version and Gems are installed?
Knowledgebase Article 110,168 views tags: gem gems rails ruby

How to install Redmine a Ruby on Rails application
Knowledgebase Article 79,413 views tags: redmine ruby

How do I setup Ruby on Rails?
Knowledgebase Article 350,641 views tags: rails ruby

Related Help Content

My Ruby on Rails installation keeps displaying a '404 Not Found' error.
Knowledgebase Article 179,602 views tags: file missing public rails ruby

There are multiple different ways you can install a theme you have purchased for your WordPress site. This article will explain our two recommended methods for installation.
Knowledgebase Article 12,178 views tags: auto automatic certified download install manual premium themes update upload wordpress

When I attempt to execute my Ruby on Rails application I receive "500- Premature end of script."
Knowledgebase Article 102,032 views tags: premature rails ruby script

Install Themes These steps will help you install and select a WordPress theme for your blog. Inside the WordPress Dashboard, select the Add New Themes link in the Appearance Menu. You can search for
Getting Started Article 641,890 views tags: install link theme themes wordpress

What is the path to Ruby?
Knowledgebase Article 121,357 views tags: path ruby

We provide a program which makes it very easy to install third party scripts to your hosting account. If you want your website to have a WordPress blog, you can use MOJO Marketplace to install WordPress.
Getting Started Article 860,186 views tags: blog install scripts simple wordpress

This article explains how to install WordPress when Mojo is unable to create the database automatically.
Knowledgebase Article 88,813 views tags: MOJO automatic database install wordpress

This article will explain how to use RoR through passenger on a VPS or Dedicated hosting account
Knowledgebase Article 105,772 views tags: dedicated passenger redmine ruby vps

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.