Getting started

OK, I am lost…

I have installed both Ruby & Rails.

$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
$ rails -v
Rails 4.1.4

I have created a new application and linked it to the document root:
rails new blog

me@server:/var/www/html$ ls -l
total 12
lrwxrwxrwx 1 root root 16 Aug 5 10:37 blog -> /home/me/blog
-rw-r–r-- 1 root root 11510 Jun 28 12:32 index.html

When I navigate to I see the default Apache welcome page
When I navigate to I see a directory listing for my

I am using Ubuntu Server 14.04

Any help would be greatly appreciated.

To work in development mode, Apache isn’t needed. Just run the Rails

$ rails s

Then your browser finds it:

Sent from my iPhone

You need to install PhusionPassenger (or some other means of forwarding
your blog routes to the rails ‘engine’)
Apache does not - out of the box - know how to execute ruby scripts


Den 05/08/2014 kl. 03.22 skrev McHenry [email protected]: