Again, usually better to use Pathname methods:

```ruby
share.mkpath
```