Posts tagged with: bluehost

Ruby on Rails with bluehost shared server

I always like learning new things and I have had a project in mind for a while.  Rather than developing it using PHP, which I am very familiar with, I have decided to use it as an excuse to learn Ruby on Rails.  I use bluehost for my web hosting and to be honest I have had an overall good experience with them.  Although I don’t contact their support often they are usually very helpful.  While searching for instructions on how to get Ruby on Rails up and running and a shared server I found these instructions https://my.bluehost.com/cgi/help/rails  My belief was that because it is in bluehost’s help documentation that this would be the best way to get started.  I didn’t read the whole article before starting because it appears that it is a step by step process.  Well I was wrong so I thought I would document here for anyone else that runs into the same issue.  It is a very simple change that needs to happen but as of today it has not.  Basically you just need to go to the last section of the help article first.  So the order should be

Again this isn’t a big issue but since I didn’t read the full article first I missed the .bashrc setup which means that the environment wasn’t setup correctly.  Another important thing that you will want to do is reload the .bashrc after the changes.  You can do this in a couple of ways

  1. Close your SSH connection and log in again
  2. Run the command
    source ~/.bashrc
  3. Run the command
    . ~/.bashrc

This really isn’t that big a deal but the response from their support was frustrating.  First I was told that I was doing it wrong and that I needed to follow the exact same support article that I had already written them about.  So I responded letting them know for a second time that was what I was doing.  Then the second response, which pointed out the need to edit the .bashrc file to update the paths told me that this wasn’t a tutorial but just a “help file” to reference when using other tutorials.  So one person tells me to follow the “tutorial” and the second person says its not a tutorial.

 

In the end, I got it all setup and now it is time to learn something new.  Hopefully I will have some posts in the future about this project.