{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-ruby/issues/885","labels_url":"https://api.github.com/repos/cucumber/cucumber-ruby/issues/885/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-ruby/issues/885/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-ruby/issues/885/events","html_url":"https://github.com/cucumber/cucumber-ruby/issues/885","id":93919319,"number":885,"title":"Cucumber 2.0.1 - Windows - Unable to run from anywhere but C drive","user":{"login":"janahanEDH","id":4371549,"avatar_url":"https://avatars.githubusercontent.com/u/4371549?v=3","gravatar_id":"","url":"https://api.github.com/users/janahanEDH","html_url":"https://github.com/janahanEDH","followers_url":"https://api.github.com/users/janahanEDH/followers","following_url":"https://api.github.com/users/janahanEDH/following{/other_user}","gists_url":"https://api.github.com/users/janahanEDH/gists{/gist_id}","starred_url":"https://api.github.com/users/janahanEDH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janahanEDH/subscriptions","organizations_url":"https://api.github.com/users/janahanEDH/orgs","repos_url":"https://api.github.com/users/janahanEDH/repos","events_url":"https://api.github.com/users/janahanEDH/events{/privacy}","received_events_url":"https://api.github.com/users/janahanEDH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-09T00:18:29Z","updated_at":"2015-07-09T06:48:33Z","closed_at":null,"body":"I'm using Cucumber 2.0.1, Ruby 2.1.5, Windows 7.\r\nThis used to work fine on Cucumber 2.0.0.\r\n\r\nIf you try to run tests from a drive other than the C drive (My workspace is on the D drive), you get this:\r\n```\r\ndifferent prefix: \"C:/\" and \"d:/cuke_test\" (ArgumentError)\r\nC:/Ruby21/lib/ruby/2.1.0/pathname.rb:503:in `relative_path_from'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/hooks.rb:32:in `location'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/filters/prepare_world.rb:28:in `test_case'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/filters/prepare_world.rb:11:in `test_case'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/case.rb:21:in `describe_to'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/filters/apply_around_hooks.rb:8:in `test_case'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/case.rb:21:in `describe_to'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/filters/apply_after_hooks.rb:5:in `test_case'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/case.rb:21:in `describe_to'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/filters/apply_before_hooks.rb:5:in `test_case'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/case.rb:21:in `describe_to'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/filters/apply_after_step_hooks.rb:8:in `test_case'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/case.rb:21:in `describe_to'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/filters/activate_steps.rb:8:in `test_case'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/case.rb:21:in `describe_to'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/filters/quit.rb:11:in `test_case'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/case.rb:21:in `describe_to'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/filters/locations_filter.rb:17:in `block in done'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/filters/locations_filter.rb:16:in `each'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/filters/locations_filter.rb:16:in `done'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/filter.rb:61:in `done'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/test/filters/tag_filter.rb:18:in `done'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/compiler.rb:23:in `done'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core/gherkin/parser.rb:31:in `done'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core.rb:29:in `parse'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-core-1.2.0/lib/cucumber/core.rb:18:in `compile'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/runtime.rb:70:in `run!'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/lib/cucumber/cli/main.rb:38:in `execute!'\r\nC:/Ruby21/lib/ruby/gems/2.1.0/gems/cucumber-2.0.1/bin/cucumber:9:in `<top (required)>'\r\nC:/Ruby21/bin/cucumber:23:in `load'\r\nC:/Ruby21/bin/cucumber:23:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-ruby/issues/comments/119842717","html_url":"https://github.com/cucumber/cucumber-ruby/issues/885#issuecomment-119842717","issue_url":"https://api.github.com/repos/cucumber/cucumber-ruby/issues/885","id":119842717,"user":{"login":"brasmusson","id":2105308,"avatar_url":"https://avatars.githubusercontent.com/u/2105308?v=3","gravatar_id":"","url":"https://api.github.com/users/brasmusson","html_url":"https://github.com/brasmusson","followers_url":"https://api.github.com/users/brasmusson/followers","following_url":"https://api.github.com/users/brasmusson/following{/other_user}","gists_url":"https://api.github.com/users/brasmusson/gists{/gist_id}","starred_url":"https://api.github.com/users/brasmusson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brasmusson/subscriptions","organizations_url":"https://api.github.com/users/brasmusson/orgs","repos_url":"https://api.github.com/users/brasmusson/repos","events_url":"https://api.github.com/users/brasmusson/events{/privacy}","received_events_url":"https://api.github.com/users/brasmusson/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T06:48:33Z","updated_at":"2015-07-09T06:48:33Z","body":"Oops! Actually it is not \"drive other than the C drive\", but \"drive other then where the Cucumber-Ruby gem is installed\", as far as I can tell. Most likely the same error would occur (and also in Cucumber v2.0.0), when trying to require step definitions from another drive then the workspace (current directory)."}}