的運轉軌道命令我從MRI切換到JRuby和我現在在軌道上得到一個錯誤+ PUMA啓動: $ jruby -S rails s puma
TypeError: no implicit conversion of Regexp into String
join at org/jruby/RubyArray.java:1760
<top> at /Users/z/bin/sprin
,當我有這樣的代碼 require 'thread'
work_q = Queue.new
(0..50).to_a.each{|x| work_q.push x }
workers = (0...4).map do
Thread.new do
begin
while x = work_q.pop(true)
50.times{print [128