Puma caught this error: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile. (LoadError)
Error 컨텐츠
rails new 명령을 사용하여 새 프로그램을 만들고 rails를 진행한 후
브라우저 화면에 다음 오류가 표시됩니다.Puma caught this error: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile. (LoadError)
Error를 읽는 이유는 sqlite3의 version입니다.
확인 결과 버젼이 1.4.0
인 것으로 밝혀졌다.$ gem list |grep sqlite3
sqlite3 (1.4.0)
처리 방법 1.3.6
에gem sqlite3의 버전을 명확하게 지정합니다.gem 'sqlite3', '~> 1.3.6'
bundle install.
브라우저 업데이트 후
이런 오류가 발생했지만 rails 서버를 다시 시작할 때 평소 화면이 표시됩니다.
Reference
이 문제에 관하여(Puma caught this error: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile. (LoadError)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/xusaku_/items/63bf7af3abe4192e8ec7
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
Puma caught this error: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile. (LoadError)
$ gem list |grep sqlite3
sqlite3 (1.4.0)
1.3.6
에gem sqlite3의 버전을 명확하게 지정합니다.gem 'sqlite3', '~> 1.3.6'
bundle install.브라우저 업데이트 후
이런 오류가 발생했지만 rails 서버를 다시 시작할 때 평소 화면이 표시됩니다.
Reference
이 문제에 관하여(Puma caught this error: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.3.6), already activated sqlite3-1.4.0. Make sure all dependencies are added to Gemfile. (LoadError)), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/xusaku_/items/63bf7af3abe4192e8ec7텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)