1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

compass createすると固まる時はcompass-railsを確認しよう

Posted at

semantic-UIの練習を兼ねて久々にフロント開発しようと思い、じゃあcompass createしますかー!とコマンドを打つと…

何も表示されない。

そのまま、待てど暮らせど何も表示されず、<Ctrl-C>で強制停止。
すると

^CInterrupt on line ["18"] of /Library/Ruby/Gems/2.0.0/gems/compass-rails-2.0.0/lib/compass-rails.rb:
Run with --trace to see the full backtrace

いやRubyで書かれたパッケージとか読めませんわ、と思ってスルーしていろいろ調べてみるも、そもそもコンソールに何も出ないから検索のしようもなく悩む…。

で、もう一度ログを見てみると、なんかパスが…compass-rails-2.0.0を見に行ってる!!!

今ローカルでRuby on Railsは全く触る気がないので迷わず

sudo gem uninstall compass-rails

今回はこれでよいけれど、railsとcompassとcompass-railsは同居するとあんまり良いことなさそうな記事が散見されるから、次Rubyを触る時は開発環境を仮想化してしまおうか固く決意しました。

あと、 わからないなりにでもログの大事そうなところは1文字1文字読もう。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?