rails consoleを実行しようとすると、
Loading development environment (Rails 5.2.4)
Traceback (most recent call last):
28: from bin/rails:4:in <main>' 27: from bin/rails:4:in
require'
26: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4/lib/rails/commands.rb:18:in <top (required)>' 25: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4/lib/rails/command.rb:46:in
invoke'
24: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4/lib/rails/command/base.rb:69:in perform' 23: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in
dispatch'
22: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in invoke_command' 21: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in
run'
20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4/lib/rails/commands/console/console_command.rb:96:in perform' 19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4/lib/rails/commands/console/console_command.rb:19:in
start'
18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4/lib/rails/commands/console/console_command.rb:64:in start' 17: from C:/Ruby26-x64/lib/ruby/2.6.0/irb.rb:381:in
start'
16: from C:/Ruby26-x64/lib/ruby/2.6.0/irb.rb:381:in new' 15: from C:/Ruby26-x64/lib/ruby/2.6.0/irb.rb:410:in
initialize'
14: from C:/Ruby26-x64/lib/ruby/2.6.0/irb.rb:410:in new' 13: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/context.rb:92:in
initialize'
12: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/ext/save-history.rb:45:in save_history=' 11: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/ext/save-history.rb:21:in
init_save_history'
10: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/ext/save-history.rb:21:in extend' 9: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/ext/save-history.rb:65:in
extended'
8: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/ext/save-history.rb:75:in load_history' 7: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/ext/save-history.rb:75:in
open'
6: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/ext/save-history.rb:76:in block in load_history' 5: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/ext/save-history.rb:76:in
each'
4: from C:/Ruby26-x64/lib/ruby/2.6.0/irb/ext/save-history.rb:76:in block (2 levels) in load_history' 3: from C:/Ruby26-x64/lib/ruby/site_ruby/readline.rb:368:in
<<'
2: from C:/Ruby26-x64/lib/ruby/site_ruby/rbreadline.rb:6168:in add_history' 1: from C:/Ruby26-x64/lib/ruby/site_ruby/rbreadline.rb:6135:in
alloc_history_entry'
C:/Ruby26-x64/lib/ruby/site_ruby/rbreadline.rb:6135:in `delete': invalid byte sequence in UTF-8 (ArgumentError)
というエラーがでます。
これは、該当のC:/Ruby26-x64/lib/ruby/site_ruby/rbreadline.rb:6135:in にある、?を消してしまえばよいということなのでしょうか?他に回避する手段があるのでしょうか?
初歩的な質問ですいません。知恵を貸してください。
よろしくお願いします。
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/12/13 14:49
2019/12/13 21:35
2019/12/15 01:32
2019/12/15 02:27