问题
I finish to install rails 5 at my ubuntu system(16.04.2 LTS) and I'm with this error when I try to run rails server command.
`rescue in block (2 levels) in require': There was an error while trying to load the gem 'sass-rails'. (Bundler::GemRequireError)
Gem Load Error is: uninitialized constant Sass::Script Did you mean? ScriptError
When I write bundle update, the prompt show me this message:
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
and then it update well ... and show ~≳ Using sass-rails 5.0.6
Please help-me guys, regards!
来源:https://stackoverflow.com/questions/42683402/rescue-in-block-2-levels-in-require-there-was-an-error-while-trying-to-load