running jrlint on twitalytics
08 May 2013, 15:21
Owen Murphy (11 posts)
“1.3 Preparing Twitalytics for JRuby” (7)
The text assumes that jruby-lint-0.3.1 will be the version installed, or at least that a later version installed will produce the same output. jruby-lint-0.4.1 outputs “Found 12 items”, not “Found 4 items”. The additional items are all warnings relating to non-atomic operations such as “a += b” or “a = b”. Changing the Ruby source to “a = a + b” and “a = a b” for the lines reported as being problematic will get jrlint back to producing the “Found 4 items” which the text expects. Alternatively, the text should instruct the reader to use
to get the exact version with known behaviour.
|You must be logged in to comment|