Ainar Abramovich wrote:
> Hi, I created my app on shared host in home folder, it's called
> "first". OK then I following to the tutorial I runned in putty(CMD or
> Terminal) [~]# mv public_html public_html_bk
> [~]# ln -s yournewrailsapp/public public_html
> 
> so now browser looks for my first/public folder, BUT the problem is
> that I deleted default index.html file in rails app public folder and
> created welcome controller + index.html.erb file under views->welcome,
> now when I go to www.mydomain.com I can see in browser just ordered
> files and folders from my public folder, it doesn't show up my created
> layout, why it doesn't show and how can I fix it to able to see my
> layout

You can't run a Rails app like that, because the Ruby interpreter won't 
be invoked, so all you'll see in the browser is your source files.  What 
host are you using, and how do they recommend deploying your Rails 
applications?

Best,
--
Marnen Laibow-koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to