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 (Rails)

cheers
Walther

Den 05/08/2014 kl. 03.22 skrev McHenry <he...@incred.com.au>:

> 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
> me@server:/var/www/html$ 
> 
> When I navigate to 192.168.1.5 I see the default Apache welcome page
> When I navigate to 192.168.1.5/blog I see a directory listing for my blog 
> application
> 
> I am using Ubuntu Server 14.04
> 
> Any help would be greatly appreciated.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/44e97532-8a04-46c0-ab00-ca469331d1e9%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/137F0A78-37B3-4AEC-BCD2-950925B4B58C%40diechmann.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to