[#70977] [Ruby trunk - Feature #11473] Immutable String literal in Ruby 3 — arai@...
Issue #11473 has been updated by Shunichi Arai.
3 messages
2015/10/04
[#70982] limiting scope of magic comments like frozen_string_literal — Eric Wong <normalperson@...>
How about being able to limit the scope of magic comments like
4 messages
2015/10/05
[#71062] [Ruby trunk - Bug #10892] Deadlock in autoload — eregontp@...
Issue #10892 has been updated by Benoit Daloze.
4 messages
2015/10/12
[#71090] Re: [Ruby trunk - Bug #10892] Deadlock in autoload
— Eric Wong <normalperson@...>
2015/10/14
eregontp@gmail.com wrote:
[#71127] [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call — normalperson@...
Issue #11607 has been updated by Eric Wong.
3 messages
2015/10/20
[#71164] [Ruby trunk - Feature #11614] [Open] [RFC] use id_table for constant tables — normalperson@...
Issue #11614 has been reported by Eric Wong.
3 messages
2015/10/22
[#71211] [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call — naruse@...
Issue #11607 has been updated by Yui NARUSE.
6 messages
2015/10/27
[#71212] Re: [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call
— Eric Wong <normalperson@...>
2015/10/27
Yes, user must check if the function is MT-safe. Probably fine
[#71246] Re: [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call
— Aaron Patterson <tenderlove@...>
2015/10/28
On Tue, Oct 27, 2015 at 08:54:07AM +0000, Eric Wong wrote:
[#71254] Re: [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call
— Eric Wong <normalperson@...>
2015/10/28
Aaron Patterson <tenderlove@ruby-lang.org> wrote:
[#71230] [Ruby trunk - Feature #11625] Unlock GVL for SHA1 calculations — tenderlove@...
Issue #11625 has been updated by Aaron Patterson.
5 messages
2015/10/27
[#71236] Re: [Ruby trunk - Feature #11625] Unlock GVL for SHA1 calculations
— Юрий Соколов <funny.falcon@...>
2015/10/28
What's about other hashsum algos? MD5, SHA2, etc
[#71242] Re: [Ruby trunk - Feature #11625] Unlock GVL for SHA1 calculations
— Eric Wong <normalperson@...>
2015/10/28
Юрий Соколов <funny.falcon@gmail.com> wrote:
[#71239] [Ruby trunk - Bug #11384] multi-threaded autoload sometimes fails — shugo@...
Issue #11384 has been updated by Shugo Maeda.
4 messages
2015/10/28
[ruby-core:71084] [Ruby trunk - Bug #11592] [Third Party's Issue] Chef-client returned 'cannot load such file -- OpEN'
From:
nobu@...
Date:
2015-10-14 07:19:08 UTC
List:
ruby-core #71084
Issue #11592 has been updated by Nobuyoshi Nakada.
Description updated
Status changed from Open to Third Party's Issue
Use the ruby embedded in chef.
----------------------------------------
Bug #11592: Chef-client returned 'cannot load such file -- OpEN'
https://bugs.ruby-lang.org/issues/11592#change-54449
* Author: Ally Kuo
* Status: Third Party's Issue
* Priority: Normal
* Assignee:
* ruby -v: 1.8.7
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
i execute ruby(1.8.7) test.rb returned the correct value without error,
but once i execute it by chef-client it will return as below error:
can anyone help me for the issue?
-------sys info--------
~~~
root@localhost:/usr/bin# ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
root@localhost:/usr/bin# uname -a
Linux switch1 3.5.0-23-generic #35~precise1 SMP Thu Apr 23 19:34:58 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
root@localhost:/usr/bin# which ruby
/usr/bin/ruby
root@localhost:/usr/bin# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
root@localhost:/usr/bin# chef-client -v
Chef: 11.4.0
~~~
------------------------------------------------
------------error----------------------
~~~
root@localhost:/usr/bin# chef-client
Starting Chef Client, version 11.4.0
resolving cookbooks for run list: ["apt"]
Synchronizing Cookbooks:
- apt
Compiling Cookbooks...
================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/apt/recipes/default.rb
================================================================================
LoadError
---------
cannot load such file -- OpEN
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/apt/recipes/default.rb:11:in `from_file'
Relevant File Content:
----------------------
/var/chef/cache/cookbooks/apt/recipes/default.rb:
4: #
5: # Copyright 2015, YOUR_COMPANY_NAME
6: #
7: # All rights reserved - Do Not Redistribute
8: #
9:
10:
11>> require "OpEN"
12: require "OpENUtil"
13:
14: open = OpENUtil.new()
15: conn_ret = open.connect("boa-vlan")
16: exists = false
17: if conn_ret == OpEN::OPEN_E_NONE
18: client = open.client
19: ret = OpEN::openapiVlanCreatedCheck(client,1)
20: if ret == OpEN::OPEN_E_NONE
[2015-10-14T01:44:54+00:00] ERROR: Running exception handlers
[2015-10-14T01:44:55+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2015-10-14T01:44:55+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated
[2015-10-14T01:44:55+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2015-10-14T01:44:55+00:00] FATAL: LoadError: cannot load such file -- OpEN
~~~
--------------------------------------------
---Files--------------------------------
test.rb (494 Bytes)
OpENUtil.rb (2.78 KB)
OpEN.so (1.63 MB)
--
https://bugs.ruby-lang.org/