我正在尝试运行jruby -S rake db:migrate
操作。
这导致错误,超过了我的bash终端所持有的行数,所以我看不到最相关的行,而且我被卡住了~1000行:
....
org/jruby/runtime/Block.java:89:in `call'
org/jruby/RubyProc.java:261:in `call'
org/jruby/RubyProc.java:249:in `call19'
org/jruby/RubyProc$INVOKER$i$0$0$call19.gen:-1:in `call'
org/jruby/internal/runtime/methods/DynamicMethod.java:216:in `call'
org/jruby/internal/runtime/methods/DynamicMethod.java:212:in `call'
org/jruby/runtime/callsite/CachingCallSite.java:202:in `call'
org/jruby/ast/CallTwoArgNode.java:59:in `interpret'
....
我尝试jruby -S rake db:migrate > migrate.out
,但错误消息仍显示在我的终端上,migrate.out
的内容是
== ChangeFieldsOnFoo: migrating ========================================
-- remove_column(:foos, :bar)
当然必须有办法阅读此错误消息!