Rails provides a very useful console ('script/console').
I write a ruby file and run it in the console using require foo.rb
.
It works fine the first time, but the second and next require foo.rb
does not run my script (require
does not reload it).
Do you have any tips/tricks?