问题描述:

After I start the Rails console, I see a prompt like this:

Loading production environment (Rails 4.x.y.z)

irb(main):001:0>

How can I customize Rails/irb such that each line, instead of showing :001:0>, shows something like :001:0|2016-06-20T16:42:57-04:00>?

网友答案:

I don't know if it is actually possible to add the timestamp in based on the options that are available from the documentation.

Another thread about similar

Official Documentation

相关阅读:
Top