人力検索はてな
モバイル版を表示しています。PC版はこちら
i-mobile

CodeKitでGumbyを使う際のコンパイルエラーについて

http://gumbyframework.com/customize
で、若干のカスタマイズを行いダウンロード、それからCodekitでコンパイルを行ったところ、エラーが発生しました。
CodeKit内蔵のsassとcompassが
Sass 3.3.7 (Maptastic Maple)
Compass 1.0.0.alpha.19
なので、マシンに既にインストールしていたsassとcompassをいったんアンインストール後、CodeKit内蔵のsassとcompassにバージョンを合わせて再インストールしました。しかし、やはりエラーは発生します。

http://q.hatena.ne.jp/1382598482
を参照に、config.rb内の記述を見直してみましたが、やはりエラーが発生します。具体的なエラーの内容はコメントで後述いたします(質問文が長すぎて記入できなかったので)。

現状は以下の通りです。
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin12]
Sass 3.3.7 (Maptastic Maple)
Compass 1.0.0.alpha.19
modular-scale-2.0.5
CodeKit 2.0.6(17018)
Rubyには詳しくないので、苦戦しております。よい解決方法をご存知の方がいらっしゃいましたら、ご教授お願いいたします。

●質問者: graphico
●カテゴリ:ウェブ制作
○ 状態 :キャンセル
└ 回答数 : 0/0件

▽最新の回答へ

質問者から

【テスト1-1】
compassのプラグインmodular-scaleを、gemでインストールしたものを読みにいくようにすればいいのかも?と思い、modular-scaleをインストール後config.rb内の記述を下記のように修正後、試しに_custom.scssを修正してみました。

# Require any additional compass plugins here.

# Tell compass where to find local extensions
# If you followed directions and ran 'gem install modular-scale' comment the next two lines out:
# extensions_dir = "sass/extensions"

# Compass::Frameworks.register('modular-scale', :path => File.expand_path("#{extensions_dir}/modular-scale"))

# Uncomment these to use regular Ruby gems.
require 'modular-scale'
# require 'sassy-math'
・・・

が、やはり下記のようなエラーが出てしまいました。
/////
gumby.scss
Compass was unable to compile one or more files in the project:

LoadError on line ["55"] of /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- modular-scale
Run with --trace to see the full backtrace
/////


関連質問

●質問をもっと探す●



0.人力検索はてなトップ
8.このページを友達に紹介
9.このページの先頭へ
対応機種一覧
お問い合わせ
ヘルプ/お知らせ
ログイン
無料ユーザー登録
はてなトップ