Remove pathname require from ruby_project.rb

Achieved by implement ascend simply ourselves.
It appears that JRuby calls expand_path as part of it's require mechanism, so this is required to allow JRuby to require files.