[#64703] Add `Hash#fetch_at` (issue #10017) — Wojtek Mach <wojtek@...>
Hey guys
1 message
2014/09/01
[#64711] [ruby-trunk - Bug #10193] [Closed] TestIO#test_readpartial_locktmp fails randomly — nobu@...
Issue #10193 has been updated by Nobuyoshi Nakada.
3 messages
2014/09/02
[#64744] [ruby-trunk - Bug #10202] [Open] TestBenchmark#test_realtime_output breaks on ARM — v.ondruch@...
Issue #10202 has been reported by Vit Ondruch.
3 messages
2014/09/03
[#64823] documenting constants — Xavier Noria <fxn@...>
I am writing a Rails guide about constant autoloading in Ruby on
5 messages
2014/09/07
[#64838] [ruby-trunk - Bug #10212] [Open] MRI is not for lambda calculus — ko1@...
Issue #10212 has been reported by Koichi Sasada.
6 messages
2014/09/08
[#64858] Re: [ruby-trunk - Bug #10212] [Open] MRI is not for lambda calculus
— Eric Wong <normalperson@...>
2014/09/08
rb_env_t may use a flexible array, helps a little even on my busy system:
[#64871] Re: [ruby-trunk - Bug #10212] [Open] MRI is not for lambda calculus
— SASADA Koichi <ko1@...>
2014/09/08
(2014/09/08 19:48), Eric Wong wrote:
[#64972] [ruby-trunk - Bug #10231] [Open] Process.detach(pid) defines new singleton classes every call — headius@...
Issue #10231 has been reported by Charles Nutter.
3 messages
2014/09/11
[#64980] [ruby-trunk - Bug #10212] MRI is not for lambda calculus — ko1@...
Issue #10212 has been updated by Koichi Sasada.
4 messages
2014/09/12
[#65142] [ruby-trunk - Feature #10267] [Open] Number of processors — akr@...
Issue #10267 has been reported by Akira Tanaka.
4 messages
2014/09/20
[#65144] Re: [ruby-trunk - Feature #10267] [Open] Number of processors
— Eric Wong <normalperson@...>
2014/09/20
akr@fsij.org wrote:
[#65210] [ruby-trunk - misc #10278] [Assigned] [RFC] st.c: use ccan linked list — nobu@...
Issue #10278 has been updated by Nobuyoshi Nakada.
3 messages
2014/09/22
[ruby-core:65105] [ruby-trunk - Bug #10253] `rvm install 2.1.2` fails @ "integer 8070450537616637957 too big to convert to `int' " error?
From:
grantksupport@...
Date:
2014-09-18 14:54:50 UTC
List:
ruby-core #65105
Issue #10253 has been updated by Grant K.
`rvm install` of ruby ver <= 2.0.0 appears ok.
`rvm install` of ruby ver >= 2.1.1 FAILs as above
is the issue with rvm, or ruby?
~~~
\curl -sSL https://get.rvm.io | sudo bash -s stable --ignore-dotfiles --rails
rvm reload
rvm list known
1 # MRI Rubies
2 [ruby-]1.8.6[-p420]
3 [ruby-]1.8.7[-head] # security released on head
4 [ruby-]1.9.1[-p431]
5 [ruby-]1.9.2[-head] # security released on head
6 [ruby-]1.9.3[-p547]
7 [ruby-]2.0.0-p451
8 [ruby-]2.0.0[-p481]
9 [ruby-]2.1.1
10 [ruby-]2.1[.2]
11 [ruby-]2.1-head
...
rvm install 1.9.3
...
Install of ruby-1.9.3-p547 - #complete
...
WARNING: Please be aware that you just installed a ruby that is no longer maintained (2014-02-23),
...
Please consider upgrading to ruby-2.1.2 which will have all of the latest security patches.
rvm remove 1.9.3
rvm install 2.0.0
...
Install of ruby-2.0.0-p481 - #complete
...
rvm remove 2.0.0
rvm install 2.1.1
ruby-2.1.1 - #installing................................
Error running '__rvm_make install',
showing last 15 lines of /usr/local/rvm/log/1411045653_ruby-2.1.1/install.log
installing binary commands: /usr/local/rvm/rubies/ruby-2.1.1/bin
/usr/local/rvm/src/ruby-2.1.1/lib/fileutils.rb:247:in `mkdir': integer 8070450537616637957 too big to convert to `int' (RangeError)
from /usr/local/rvm/src/ruby-2.1.1/lib/fileutils.rb:247:in `fu_mkdir'
from /usr/local/rvm/src/ruby-2.1.1/lib/fileutils.rb:211:in `block in mkdir_p'
from /usr/local/rvm/src/ruby-2.1.1/lib/fileutils.rb:208:in `each'
from /usr/local/rvm/src/ruby-2.1.1/lib/fileutils.rb:208:in `mkdir_p'
from ./tool/rbinstall.rb:193:in `makedirs'
from ./tool/rbinstall.rb:300:in `prepare'
from ./tool/rbinstall.rb:339:in `block in <main>'
from ./tool/rbinstall.rb:789:in `call'
from ./tool/rbinstall.rb:789:in `block in <main>'
from ./tool/rbinstall.rb:786:in `each'
from ./tool/rbinstall.rb:786:in `<main>'
make: *** [do-install-nodoc] Error 1
++ return 2
There has been an error while running make install. Halting the installation.
~~~
----------------------------------------
Bug #10253: `rvm install 2.1.2` fails @ "integer 8070450537616637957 too big to convert to `int' " error?
https://bugs.ruby-lang.org/issues/10253#change-48962
* Author: Grant K
* Status: Open
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
referred from:
https://github.com/wayneeseguin/rvm/issues/3036#issuecomment-55945003
> "this might be an bug caused by --prog-mode=0755, but my limited testing did not show any problems, please run this:
>
> /usr/local/rvm/src/ruby-2.1.2/miniruby -e "hex = 'x[\da-f]+(?:_[\da-f]+)*' ; binary = 'b[01]+(?:_[01]+)*' ; puts (/\A[-+]?(?:[0-7]+(?:_[0-7]+)*|0(?:#{binary}|#{hex}))\z/io).match('0755')"
>
> it should return 0755 ... in any case this looks like a bug in ruby, please open a ticket here: https://bugs.ruby-lang.org/projects/ruby-trunk - let me know if you need help with it"
>
checking
~~~
/usr/local/rvm/src/ruby-2.1.2/miniruby -e "hex = 'x[\da-f]+(?:_[\da-f]+)*' ; binary = 'b[01]+(?:_[01]+)*' ; puts (/\A[-+]?(?:[0-7]+(?:_[0-7]+)*|0(?:#{binary}|#{hex}))\z/io).match('0755')"
0755
~~~
With
~~~
rvm --version
rvm 1.25.30 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
~~~
I'm trying to do a clean install of ruby 2.1.2
~~~
rvm install 2.1.2
...
make[2]: `ruby' is up to date.
make[2]: Leaving directory `/usr/local/rvm/src/ruby-2.1.2'
make[1]: Leaving directory `/usr/local/rvm/src/ruby-2.1.2'
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems -r./x86_64-linux-fake ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc"
installing binary commands: /usr/local/rvm/rubies/ruby-2.1.2/bin
/usr/local/rvm/src/ruby-2.1.2/lib/fileutils.rb:247:in `mkdir': integer 8070450537616637957 too big to convert to `int' (RangeError)
from /usr/local/rvm/src/ruby-2.1.2/lib/fileutils.rb:247:in `fu_mkdir'
from /usr/local/rvm/src/ruby-2.1.2/lib/fileutils.rb:211:in `block in mkdir_p'
from /usr/local/rvm/src/ruby-2.1.2/lib/fileutils.rb:208:in `each'
from /usr/local/rvm/src/ruby-2.1.2/lib/fileutils.rb:208:in `mkdir_p'
from ./tool/rbinstall.rb:193:in `makedirs'
from ./tool/rbinstall.rb:300:in `prepare'
from ./tool/rbinstall.rb:339:in `block in <main>'
from ./tool/rbinstall.rb:789:in `call'
from ./tool/rbinstall.rb:789:in `block in <main>'
from ./tool/rbinstall.rb:786:in `each'
from ./tool/rbinstall.rb:786:in `<main>'
make: *** [do-install-nodoc] Error 1
++ return 2
I've found mention of this "too big" error online, but none that reference a ruby/rvm fix.
~~~
No clue what's unique on this box, or why this occurs. Any hints on cause or fix?
--
https://bugs.ruby-lang.org/