0%

Rails error 小處理紀錄

Runtime error

1
'Could not find a JavaScript runtime' but execjs AND therubyracer are in Gemfile

solution.

只要在gemfile加入

1
2
gem 'execjs'
gem 'therubyracer', :platforms => :ruby

就解決了

出現這個warning

1
add gem 'sqlite3'

可是在gemfile裡已經有了sqlite3卻出現錯誤

solution.

將原本

1
gem 'sqlite3'

改成

1
gem 'sqlite3','~> 1.3.0'
你的支持是我繼續創作的動力!