I just install the latest Crystal (0.28.0) on a Debian 8 64-bit system, and am having trouble compiling my sqlite db code, that was compiling with no errors on Crystal 0.27.2 on Mint 18 64-bit. Here is a greatly simplified test showing the problem:
require "uri" puts URI.parse("mailto:email@example.com").opaque
On Crystal 0.28.0, I get this error:
Error in uritest.cr:2: undefined method 'opaque' for URI (did you mean 'opaque?'?)
I took a look at /usr/share/crystal/src/uri.cr, and it appears to be a very old version that predates the addition of the opaque attribute.
I saw in the announcement for 0.28.0 that there were packaging problem for the 32-bit Linux version. I suspect there is some packaging problem for the 64-bit version as well.
Is there some way I can downgrade temporarily to 0.27.2 by modifying /etc/apt/sources.list.d/crystal.list?