From owner-freebsd-ports-bugs@freebsd.org Tue Aug 6 18:41:43 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DC609C7C99 for ; Tue, 6 Aug 2019 18:41:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4633Pz5V8yz4L1H for ; Tue, 6 Aug 2019 18:41:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id BC6EDC7C98; Tue, 6 Aug 2019 18:41:43 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BC302C7C97 for ; Tue, 6 Aug 2019 18:41:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4633Pz4bnXz4L1F for ; Tue, 6 Aug 2019 18:41:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 81017341 for ; Tue, 6 Aug 2019 18:41:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x76IfhQU097862 for ; Tue, 6 Aug 2019 18:41:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x76Ifh45097861 for ports-bugs@FreeBSD.org; Tue, 6 Aug 2019 18:41:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239679] devel/rubygem-tzinfo missing method 'to_local' Date: Tue, 06 Aug 2019 18:41:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nmingotti@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Aug 2019 18:41:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239679 Bug ID: 239679 Summary: devel/rubygem-tzinfo missing method 'to_local' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: nmingotti@gmail.com Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Hi,=20 Im am runnning FreeBSD-12. A some time ago, installing a package I had to update the Ruby package.=20 ----- $> ruby --version ruby 2.5.5p157 (2019-03-15 revision 67260) [amd64-freebsd12] ----- Today one of my Ruby applications stopped working. The problem is related to date conversion. I installed the needed: $> sudo pkg install rubygem-tzinfo $> sudo pkg install rubygem-tzinfo-data But I see that method 'to_local' is missing. ------------------------------- pry> tz =3D TZInfo::Timezone.get("America/Los_Angeles") =3D> # [6] pry(main)> tz.to_local NoMethodError: undefined method `to_local' for # from (pry):6:in `__pry__' --------------------------------- So i removed the packages and installed from gems, the the methods 'to_loca= l' is now available. ------- $> sudo pkg remove rubygem-tzinfo $> sudo pkg remove rubygem-tzinfo-data $> sudo gem install tzinfo $> pry=20 pry(main)> tz.methods.select {|el| el.match /to_/ } =3D> [:to_local, :utc_to_local, :local_to_utc, :to_s, :to_json, :to_enum] ------- bye Nicola --=20 You are receiving this mail because: You are the assignee for the bug.=