RAILS version not consistent

see this commands :

run@vm:/CA/rails_6.1/ca$ rails -v
Rails 6.1.0
run@vm:/CA/rails_6.1/ca$ rails c
Running via Spring preloader in process 20535
Loading development environment (Rails 6.0.3.1)
irb(main):001:0>

So why the rails console still using the version before the upgrade - 6.0.3 1 ?

Maybe Spring needs to be restarted? :thinking:

1 Like

Yes . this helps :wink: thank you !

run@vm:/CA/rails_6.1/ca$ ps -ef | grep spring 
run 21037     1  0 Jan12 ?        00:00:00 spring server | ca | started 396 hours ago
run 24137 24060  0 09:39 pts/3    00:00:00 grep --color=auto spring
run@vm:/CA/rails_6.1/ca$ 
run@vm:/CA/rails_6.1/ca$ kill 21037
run@vm:/CA/rails_6.1/ca$ 
run@vm:/CA/rails_6.1/ca$ rails c
Running via Spring preloader in process 24181
Loading development environment (Rails 6.1.0)
irb(main):001:0>
1 Like

“May of the WTFs” - when you just forgot to restart spring