Actions
Feature #17328
closedExtend `un.rb` to be usable by everyone
Feature #17328:
Extend `un.rb` to be usable by everyone
Status:
Rejected
Assignee:
-
Target version:
-
Description
I've opened the PR here: https://github.com/ruby/ruby/pull/3771, although if you need me to submit a patch just let me know.
Basically I want to be able to use ruby -run for more than just running a http server, and thought it could require a local run.rb file with code that end users provide.
Not sure if this was proposed before but let me know what you think.
Updated by sdwolfz (Codruț Gușoi) almost 5 years ago
- Description updated (diff)
Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago
This has the potential to introduce security issues. Avoiding security issues by not automatically loading files in the current directory is the reason . was removed from the default $LOAD_PATH in Ruby 1.9.
Updated by nobu (Nobuyoshi Nakada) almost 5 years ago
- Status changed from Open to Rejected
You can run it as ruby run.rb.
Actions