Remove pathname require from ruby_project.rb

Achieved by implement ascend simply ourselves.
Shouldn't this be `squeeze(File::SEPARATOR)` for Windows systems?