2012-03-09 39 views
3

我給了一個rails項目來配置。 我使用UBUNTU 滑軌3.1 紅寶石1.9.2錯誤:要導入的文件未找到或無法讀取:指南針。在rails 3.1

我面臨以下錯誤:

File to import not found or unreadable: compass. 
Load path: 
Sass::Rails::Importer(/Project/app/assets/stylesheets/blueprint.sass) 

(在/Project/app/assets/stylesheets/blueprint.sass)

我在blueprint.sass找到了,下面的代碼寫成

@import 'compass' 
@import "compass/reset" 
@import "compass/layout/sticky-footer" 
@import '_blueprint' 
@include blueprint 

但是rails中沒有羅盤文件夾stylesheet存在。我安裝了gem compass

我試圖解決這個問題,因爲moring,但無法取得成功:S? 我該怎麼做才能做到這一點。

+0

這是否解決您的問題? http://stackoverflow.com/questions/6005361/sass-import-error-in-rails-3-app-file-to-import-not-found-or-unreadable-comp – ScottJShea 2012-03-10 02:07:17

+0

上面的建議沒有解決它的問題我是否設法在這個問題上找到錯誤? – Rubytastic 2012-04-03 09:41:18

回答

2

使用指南針gem代替指南針軌道gem按照github上的指南針更新說明按照正確的步驟操作!

相關問題