Routing Error

21 views
Skip to first unread message

karthik sharma

unread,
Jul 13, 2015, 10:41:46 AM7/13/15
to rubyonra...@googlegroups.com

I am new to ruby on rails, by seeing tutorials i created blog, some complications are there but manged to get the home page and implemented bootstrap in that

Now i have created project in rails but unable to get the path from public folder in that application

the path goes like this 

~/workspace/ruby/blog - for blog 

~/workspace/ruby//cool_site - for new sample project 


--the error goes like this "Routing Error No route matches [GET] "/cool_site" Rails.root: /home/ubuntu/workspace/ruby/blog

Colin Law

unread,
Jul 13, 2015, 10:52:34 AM7/13/15
to rubyonra...@googlegroups.com
It seems you have still got the server running in the blog
application. Close that server and start it in the new application
directory using
cd ~/workspace/ruby/cool_site
rails s
Then the cool_site will be accessible as localhost:3000.

Colin
Reply all
Reply to author
Forward
0 new messages