On Wednesday, December 25, 2013 5:43:20 PM UTC-5, Dan B. wrote:
One of the reasons this becomes difficult, particularly when responding on
a board like this, is that things change quickly. You are talking about
multiple operating systems, multiple versions of ruby, multiple versions
rails, multiple tools for managing them. I still see questions on Rails
and, quite frankly, that was so long ago I don’t remember. On top of
you will be faced with choices such as rbenv vs. RVM, ERB templates vs.
HAML, etc. and everyone has their arguments as to which is better.
My advice to someone starting out is not to use the standard rails docs.
The edge guides are very well written but, to me, they are more of a
reference. I would start with a good tutorial. Be default, the
will make these choices for you, but will give you detailed instructions
installing and using them. For example, www.railstutorial.org is one
is commonly recommended (and I recommend it as well). That particular
tutorial uses RVM, ERB, and Rspec. Once you have a basic understanding,
you can then explore the other options and determine which are best for
Note: Dont install apt-get ruby or apt-get rails as they will get you
older versions. The rails version is 2.3 which is REALLY old. Follow
Then make an app. Do: rails new test1
It will create an app and then run bundle install. This came back with
an error telling me I had to install a certain gem. Do what it says and
install it (it gives the command line) and then bundle install again.
Had to do this about 3 times.
Finally when you get a clean bundle, run: rails s to start a server.
Point the browser to http://0.0.0.0:3000 and see its working
And as you can see from my previous posts timestamp, this only took
about 40 minutes to go from nothing to (i) completely new install of
Ubuntu to (ii) ruby/rails installed with (iii) a basic app