質問編集履歴

1

追加情報がありましたので追記します。

2020/02/11 11:51

投稿

kyota008
kyota008

スコア4

test CHANGED
File without changes
test CHANGED
@@ -99,3 +99,43 @@
99
99
  情報が不十分であれば追記します!
100
100
 
101
101
  お手数ですがよろしくお願いいたします。
102
+
103
+
104
+
105
+ ### ~/environment/toy_app で rails console した時に出たメッセージ
106
+
107
+
108
+
109
+ 下記メッセージも今回のエラーに関わりがありますか?
110
+
111
+ 参考までにご確認お願いします。
112
+
113
+
114
+
115
+ ```
116
+
117
+ [DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env`. If you instead want the environment before bundler was originally loaded, use `Bundler.with_original_env` (called at /Users/master/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/spring-2.0.2/lib/spring/application_manager.rb:95)
118
+
119
+ /Users/master/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/stack.rb:35: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
120
+
121
+ /Users/master/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:109: warning: The called method `initialize' is defined here
122
+
123
+ Running via Spring preloader in process 19334
124
+
125
+ Loading development environment (Rails 5.1.6)
126
+
127
+ irb(main):001:0> first_user = User.first
128
+
129
+ /Users/master/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/activerecord-5.1.6/lib/active_record/connection_adapters/sqlite3_adapter.rb:30: warning: rb_check_safe_obj will be removed in Ruby 3.0
130
+
131
+ /Users/master/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/activerecord-5.1.6/lib/active_record/connection_adapters/abstract_adapter.rb:82: warning: deprecated Object#=~ is called on Integer; it always returns nil
132
+
133
+ User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
134
+
135
+ /Users/master/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/activemodel-5.1.6/lib/active_model/type/integer.rb:11: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
136
+
137
+ /Users/master/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/activemodel-5.1.6/lib/active_model/type/value.rb:6: warning: The called method `initialize' is defined here
138
+
139
+
140
+
141
+ ```