新手问题 学习 rails 教程遇到问题求助!(已解决)

icodor · October 25, 2014 · Last by icodor replied at October 25, 2014 · 1930 hits

undefined method `environment' for nil:NilClass when importing Bootstrap 出错代码:

报错如图:

rails 环境如下图:

修改为:gem "sass-rails", "~> 4.0.1" 已解决!不明白 gem 都是 rails 教程要求的版本为啥还会有错!

You need to Sign in before reply, if you don't have an account, please Sign up first.