[#68137] improve semantics of manpages — "Anthony J. Bentley" <anthony@...>
Hi,
1 message
2015/02/17
[#68144] Re: Future of test suites for Ruby — Anthony Crumley <anthony.crumley@...>
FYI...
4 messages
2015/02/17
[#68343] [Ruby trunk - Bug #10916] [Open] What the Ruby? SegFault? — ruby@...
Issue #10916 has been reported by why do i need this acct just to create a bug report.
5 messages
2015/02/27
[#68373] Re: [Ruby trunk - Bug #10916] [Open] What the Ruby? SegFault?
— "Martin J. Dürst" <duerst@...>
2015/03/02
> * Author: why do i need this acct just to create a bug report
[#68358] [Ruby trunk - Bug #10902] require("enumerator") scans LOAD_PATH 2x on every invocation — ruby@...1.net
Issue #10902 has been updated by Aman Gupta.
3 messages
2015/02/28
[ruby-core:68146] [Ruby trunk - Bug #10859] [Open] Process.spawn raises TypeError when passing hash with symbols as env
From:
bubo47@...
Date:
2015-02-17 13:56:24 UTC
List:
ruby-core #68146
Issue #10859 has been reported by Jakub Jursa.
----------------------------------------
Bug #10859: Process.spawn raises TypeError when passing hash with symbols as env
https://bugs.ruby-lang.org/issues/10859
* Author: Jakub Jursa
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.3.0dev (2015-02-17 trunk 49623) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
### expected:
~~~
head :001 > Process.spawn({FOO: "bar"}, "bash")
=> 13479
~~~
### got in reality:
~~~
head :001 > Process.spawn({FOO: "bar"}, "bash")
TypeError: no implicit conversion of Symbol into String
...
~~~
when I pass {"FOO" => "bar"} as first parameter, everything works as expected. It would be nice though to have possibility to pass Hash with symbols as parameter (or, at least mention in documentation http://ruby-doc.org//core-2.2.0/Process.html#method-c-spawn that env hash cannot have symbols as keys)
--
https://bugs.ruby-lang.org/