[英]breakpoint (gem) not found or unreadable
我在服務項目中使用斷點。 加入后require 'breakpoint'
我的“./config.ru”和@import 'breakpoint'
我的樣式表,斷點作品以及在運行服務(我實際上是通過運行戰俘 )。
但是,當使用serve export
將網站serve export
到預定文件夾中的靜態HTML / CSS / JS文件時,在樣式表中出現以下錯誤:
/*
Syntax error: File to import not found or unreadable: breakpoint.
Load paths:
/Users/agarzola/git/devdev-splash/stylesheets
/Users/agarzola/.rvm/gems/ruby-1.9.2-p290/gems/compass-core-1.0.0.alpha.16/stylesheets
Compass::SpriteImporter
on line 5 of ./stylesheets/screen.sass
1: /Users/agarzola/git/devdev-splash/stylesheets/screen.sass
Backtrace:
./stylesheets/screen.sass:5
[…]
*/
我一直在compass compile -c '#{@input}/compass.config' '#{@input}'
服務gem本身,發現export只需運行compass compile -c '#{@input}/compass.config' '#{@input}'
來編譯樣式表,然后再將其復制到目標文件夾。 我前段時間還了解到,serve中的導出功能尚未使用config.ru
(應該使用),而且我還無法弄清楚我到底該告訴指南針使用已安裝的斷點gem的位置。
因此,我嘗試運行compass compile -c ./compass.config
和compass watch -c ./compass.config
,它們均返回類似的錯誤:
error stylesheets/screen.sass (Line 5 of screen.sass: File to import not found or unreadable: breakpoint.
Load paths:
/Users/agarzola/git/devdev-splash/stylesheets
/Users/agarzola/.rvm/gems/ruby-1.9.2-p290/gems/compass-core-1.0.0.alpha.16/stylesheets
Compass::SpriteImporter)
我遇到了類似的問題,我必須卸載主題並重新安裝,因為某些原因,寶石似乎沒有出現。 在這里發布
卸載主題之后,我運行了安裝包,然后檢查了rvm要求。 然后,我重新安裝了主題和子主題。 我不使用服務,但是它可能非常相似,因此可能起作用。 那時我什么也找不到。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.