I'd do something like

```ruby
arg_string = args.join(" ")
raise ArgumentError, "You must specify a path." if arg_string.empty?
path = File.expand_path(arg_string, Dir.pwd)
...
```