试图找出为什么我不能在Rails 5中使用源映射.Rails 5使用Sass 3.4.2x,所以看起来它不应该有以前版本的Rails的问题.
我添加了以下内容 config/environments/development.rb
# Enable source maps for Sass
config.sass.inline_source_maps = true
Run Code Online (Sandbox Code Playgroud) 我似乎无法弄清楚这一点.Homebrew在安装过程中无法链接git.以下是终端吐出的内容:
==> Downloading http://git-core.googlecode.com/files/git-1.8.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/git-1.8.4.tar.gz
==> make prefix=/usr/local/Cellar/git/1.8.4 sysconfdir=/usr/local/etc CC=cc CFLA
==> make CC=cc CFLAGS= LDFLAGS=
==> make clean
==> make CC=cc CFLAGS= LDFLAGS=
==> Downloading http://git-core.googlecode.com/files/git-manpages-1.8.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/git-manpages-1.8.4.tar.gz
==> Downloading http://git-core.googlecode.com/files/git-htmldocs-1.8.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/git-htmldocs-1.8.4.tar.gz
==> Caveats
The OS X keychain credential helper has been installed to:
/usr/local/bin/git-credential-osxkeychain
The 'contrib' directory has been installed to:
/usr/local/share/git-core/contrib
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completion has been installed to:
/usr/local/share/zsh/site-functions
Warning: Could not link git. Unlinking...
Error: …Run Code Online (Sandbox Code Playgroud)