-K flag should be dropped now

When I create an executable ruby script with -K option and run it, I get the following warning.

/usr/bin/ruby: warning: -K is specified; it is for 1.8 compatibility and may cause odd behavior

I am using ruby 2.1.2p95
This commit is contained in:
Amitav Mohanty 2014-07-16 01:18:32 +05:30
parent 5b2c4ff2b7
commit d439cde3b6
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#name : /usr/bin/ruby -wKU
#name : /usr/bin/ruby -wU
#group : general
# --
#!/usr/bin/ruby -wKU
#!/usr/bin/ruby -wU