{"action":"closed","issue":{"url":"https://api.github.com/repos/rails/rails/issues/20345","labels_url":"https://api.github.com/repos/rails/rails/issues/20345/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/20345/comments","events_url":"https://api.github.com/repos/rails/rails/issues/20345/events","html_url":"https://github.com/rails/rails/issues/20345","id":82142289,"number":20345,"title":"Remove of File.expand_path in Rails::Server","user":{"login":"radar","id":2687,"avatar_url":"https://avatars.githubusercontent.com/u/2687?v=3","gravatar_id":"","url":"https://api.github.com/users/radar","html_url":"https://github.com/radar","followers_url":"https://api.github.com/users/radar/followers","following_url":"https://api.github.com/users/radar/following{/other_user}","gists_url":"https://api.github.com/users/radar/gists{/gist_id}","starred_url":"https://api.github.com/users/radar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radar/subscriptions","organizations_url":"https://api.github.com/users/radar/orgs","repos_url":"https://api.github.com/users/radar/repos","events_url":"https://api.github.com/users/radar/events{/privacy}","received_events_url":"https://api.github.com/users/radar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/railties","name":"railties","color":"8BE06E"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-28T21:58:57Z","updated_at":"2015-06-27T16:39:07Z","closed_at":"2015-06-27T16:39:07Z","body":"Currently, Rails has [this code in `Rails::Server`](https://github.com/rails/rails/blob/73aab036eeeb297dc85dc812f54e26aa943f48f7/railties/lib/rails/commands/server.rb#L101):\r\n\r\n```ruby\r\nconfig:             File.expand_path(\"config.ru\")\r\n```\r\n\r\nI am not sure that this is `File.expand_path` is necessary any longer, as Rack [has this code](https://github.com/rack/rack/blob/99293fa13d86cd48021630fcc4bd5acc9de5bdc3/lib/rack/server.rb#L333):\r\n\r\n```ruby\r\n@options[:config] = ::File.expand_path(options[:config])\r\n```\r\n\r\nIt looks like `File.expand_path` is being called twice on `options[:config]` in two different contexts. I think it would be OK to remove the one from `Rails::Server`, but I'm opening this issue just so I can get a second opinion on that before I submit the patch.\r\n"}}