teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

コード

2019/02/06 08:28

投稿

sairito0628
sairito0628

スコア15

title CHANGED
File without changes
body CHANGED
@@ -1,3 +1,4 @@
1
+ teratailを初めて使ったので、質問の仕方に失礼がありましたら申し訳ございません。
1
2
  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)
2
3
  /home/ec2-user/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/bundler/rubygems_integration.rb:408:in `block (2 levels) in replace_gem'
3
4
  /home/ec2-user/.rvm/gems/ruby-2.5.3/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:12:in `<main>'

3

コード

2019/02/06 08:28

投稿

sairito0628
sairito0628

スコア15

title CHANGED
File without changes
body CHANGED
@@ -1,22 +1,3 @@
1
- ### 前提・実現したいこと
2
-
3
- ここに質問の内容を詳しく書いてください。
4
- (例)PHP(CakePHP)で●●なシステムを作っています。
5
- ■■な機能を実装中に以下のエラーメッセージが発生しました。
6
-
7
- ### 発生している問題・エラーメッセージ
8
-
9
- ```
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
1
  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)
21
2
  /home/ec2-user/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/bundler/rubygems_integration.rb:408:in `block (2 levels) in replace_gem'
22
3
  /home/ec2-user/.rvm/gems/ruby-2.5.3/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:12:in `<main>'
@@ -74,21 +55,7 @@
74
55
  /home/ec2-user/.rvm/gems/ruby-2.5.3/gems/puma-3.12.0/lib/puma/server.rb:472:in `process_client'
75
56
  /home/ec2-user/.rvm/gems/ruby-2.5.3/gems/puma-3.12.0/lib/puma/server.rb:332:in `block in run'
76
57
  /home/ec2-user/.rvm/gems/ruby-2.5.3/gems/puma-3.12.0/lib/puma/thread_pool.rb:133:in `block in spawn_thread'
77
- エラーメッセージ
78
- ```
79
58
 
80
- ### 該当のソースコード
81
-
82
- ```ここに言語名を入力
83
- ソースコード`````````ここに言語を入力
84
- ここに言語を入力
85
- ```
86
- ここに言語を入力
87
- ```
88
- コード
89
- ```rails
90
- ```
91
-
92
59
  ### 試したこと
93
60
  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)
94
61
 
@@ -101,13 +68,4 @@
101
68
  こう出てしまい、ダメだった
102
69
 
103
70
  https://teratail.com/questions/172684
104
- このページをみて試してみた
71
+ このページをみて試してみた
105
-
106
-
107
- ここに問題に対して試したことを記載してください。
108
-
109
- ### 補足情報(FW/ツールのバージョンなど)
110
- .
111
-
112
-
113
- ここにより詳細な情報を記載してください。

2

コード

2019/02/06 08:24

投稿

sairito0628
sairito0628

スコア15

title CHANGED
File without changes
body CHANGED
@@ -6,7 +6,18 @@
6
6
 
7
7
  ### 発生している問題・エラーメッセージ
8
8
 
9
- ```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)
9
+ ```
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+ 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)
10
21
  /home/ec2-user/.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/bundler/rubygems_integration.rb:408:in `block (2 levels) in replace_gem'
11
22
  /home/ec2-user/.rvm/gems/ruby-2.5.3/gems/activerecord-5.2.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:12:in `<main>'
12
23
  /home/ec2-user/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
@@ -71,7 +82,7 @@
71
82
  ```ここに言語名を入力
72
83
  ソースコード`````````ここに言語を入力
73
84
  ここに言語を入力
74
- ```rails
85
+ ```
75
86
  ここに言語を入力
76
87
  ```
77
88
  コード

1

コード

2019/02/06 08:18

投稿

sairito0628
sairito0628

スコア15

title CHANGED
@@ -1,1 +1,1 @@
1
- railsについて質問です
1
+ Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on?エラー困ってま
body CHANGED
File without changes