Yes: !~ works just fine – you probably thought it wouldn’t because it’s missing from the documentation page of Regexpit’s missing from the documentation page of Regexp. Nevertheless, it works:
irb(main):001:0> 'x' !~ /x/
=> false
irb(main):002:0> 'x' !~ /y/
=> true