rails server
rails server
すると、
lib/ruby/gems/2.3.0/gems/bundler-1.13.2/lib/bundler/runtime.rb:94:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'uglifier'. (Bundler::GemRequireError)
Gem Load Error is: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.
と言われた。
Gemfile で、
# gem 'therubyracer', platforms: :ruby
のコメントアウトを外して、
bundle install 。
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
デフォルトでは、外部から接続できないので、
- rails server の続きを見る
- コメントを投稿するにはログインまたは登録をしてください
- 閲覧数 4