LoginSignup
2

More than 5 years have passed since last update.

Railsがuglifierを読み込めなくて動かない時の話

Posted at

動作環境

Docker上にUbuntuを構築。
Ubuntu: 14.04

Rubyをppaからインストール
Ruby: 2.3.0p0
Gem: 2.5.1

Rails: 4.2.5.1
Uglifier: 2.7.3

何が起こるか

rails serverしようとすると以下のエラーで動かない

There was an error while trying to load the gem 'uglifier'. (Bundler::GemRequireError)

解決策

Gemfileからuglifierさんを削除して動いた。
どこかで副作用が起きそうだけど、とりあえずサーバーとして起動できました。

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
2