Actions
Bug #11800
closedMakeMakefile breaks with frozen strings
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0dev (2015-12-10 trunk 53017) [x86_64-darwin15]
Description
It seems MkConfig(RbConfig) breaks frozen strings mode
/Users/deepj/.rubies/ruby-2.3.0-dev/lib/ruby/2.3.0/mkmf.rb:1292:in `<module:MakeMakefile>': can't modify frozen object (RuntimeError)
from /Users/deepj/.rubies/ruby-2.3.0-dev/lib/ruby/2.3.0/mkmf.rb:47:in `<top (required)>'
from /Users/deepj/.rubies/ruby-2.3.0-dev/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/deepj/.rubies/ruby-2.3.0-dev/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from extconf.rb:1:in `<main>'
The problem lies at https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L1292
Updated by nobu (Nobuyoshi Nakada) about 9 years ago
- Status changed from Open to Closed
Applied in changeset r53020.
disable frozen-string-literal
- lib/mkmf.rb, lib/shellwords.rb: disable frozen-string-literal.
[ruby-core:72011] [Bug #11800]
Actions
Like0
Like0