Actions
Feature #17328
closedExtend `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 jeremyevans0 (Jeremy Evans) about 4 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) about 4 years ago
- Status changed from Open to Rejected
You can run it as ruby run.rb
.
Actions
Like0
Like0Like0Like0