I have add page layout but it is not working

I am reading chapter 8 (section 8.4 iteration C2: Adding a page
layout.)Agile Web D. with Rails.

According to that section I changed application.html.erb file and
application.css.scss file.

After that when I open web page in local web server, web page is open
BUT changes not take place. Means web page is not display like “Catalog
with layout added.jpg”(Please find attached file) format.

I have attache Gemfile, application.html.erb and application.css.scss
file.

Please find that file.

Should I use ‘bootstrap-sass’ gem to solve this problem?

How could I solve this problem?

Kind regards.

On Jun 17, 2014, at 5:21 AM, Jaimin P. wrote:

I have attache Gemfile, application.html.erb and application.css.scss
Attachments:
http://www.ruby-forum.com/attachment/9806/application.css.scss
http://www.ruby-forum.com/attachment/9807/Catalog_with_layout_added.jpg
http://www.ruby-forum.com/attachment/9808/application.html.erb
http://www.ruby-forum.com/attachment/9809/Gemfile

None of this is going to get close to the problem. If you are running
this in a “local Web server”, does that mean you started Rails from the
command line with rails server in the working directory? If so, that
command line is now filled with all the messages sent by the server
application back to you. You should see an error, or not, in the log.
That will tell us where things are going wrong for you.

While it is good for you to show your work, please don’t assume that
anyone is going to run your application locally to see the log.

Walter

On Tuesday, June 17, 2014 5:22:23 AM UTC-4, Ruby-Forum.com User wrote:

Attachments:
http://www.ruby-forum.com/attachment/9806/application.css.scss
http://www.ruby-forum.com/attachment/9807/Catalog_with_layout_added.jpg
http://www.ruby-forum.com/attachment/9808/application.html.erb
http://www.ruby-forum.com/attachment/9809/Gemfile


Posted via http://www.ruby-forum.com/.

I agree with Walter, a log would help. I can’t see anything wrong with
what
you’ve given us. One thing I will caution you on. When you go through
a
tutorial such as the book you are using, make sure you are using the
same
version of Rails and other gems as the book is. I say this because the
authors of that book are usually pretty quick to update the book and you
are using Rails 3.2. If you have an old copy of the book that is
actually
using version 3.2, you should be fine. Otherwise, I would recommend you
update.

Mike

@Walter D. and @mike2r:

Thank you for your reply. I have solved this problem.