1

hie

I tried to include @import "bootstrap"; in a file in stylesheets with name custom.css.scss

now on running the app i get the error as:

Started GET "/static_pages/about" for 127.0.0.1 at 2012-07-24 13:23:20 -0700
Processing by StaticPagesController#about as HTML
  Rendered static_pages/about.html.erb within layouts/application (0.0ms)
Completed 500 Internal Server Error in 44ms

ActionView::Template::Error (different prefix: "C:/" and "D:/Rails/sample_app/ap
p/assets/stylesheets"
  (in D:/Rails/sample_app/app/assets/stylesheets/custom.css.scss)):
    2: <html>
    3: <head>
    4:   <title><%= full_title(yield(:title)) %></title>
    5:   <%= stylesheet_link_tag    "application", media: "all" %>
    6:   <%= javascript_include_tag "application" %>
    7:   <%= csrf_meta_tags %>
    8: </head>
  app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_ht
ml_erb___106293522_33950052'


  Rendered C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/actionpack-3.2.6
/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms)

Please advise how to fix it.

2 Answers 2

2

whatever you mean by the stuff that you are writing in your title, but i think that this problem is with your WIN setup: https://github.com/rails/rails/issues/660

Sign up to request clarification or add additional context in comments.

Comments

0

I moved my application to the C:\ drive, where Rails is installed, to fix the issue.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.