```
irb> "4.0.10" < "4.0.4"
=> true
```

ruby isn't that smart.  Gem::Version is though

```
irb> Gem::Version.new("4.0.10") < Gem::Version.new("4.0.4")
=> false
```