Ruby Ruby 1.9.3-p125 is released

huacnlee · 2012年02月17日 · 最后由 hooopo 回复于 2012年02月19日 · 4971 次阅读

貌似只有几个 bugfix 果断rvm install ruby-1.9.3-p125

rvm reinstall 1.9.3-head

将 rvm 更新了一下,list known 还是没找到这个版本。 rvm upgrade 1.9.3-p0 1.9.3-p125 不成功。

ruby -v ruby 1.9.3p129 (2012-02-17 revision 34654) [i686-linux]

#3 楼 @hhuai

rvm get stable
rvm install 1.9.3

#5 楼 @zhangyuan 我想直接 p0 升级到 p125,不想又多装一个,再迁移 gemset 之类。

这个版本有没有加那个 falcon 的 patch?加速的那个

看 change log 加了 llvm 的 support 是不是在 lion 下安装的时候会方便些

#6 楼 @hhuai 哈哈,我以前都是重新创建 gemset 再安装 gems。刚才看了一下,还有 rvm gemset copy ruby-1.9.3-p0@rails3 1.9.3-p125@rails3 这个命令。

唉。。。。。以后研究 ruby 代码还要 tm 学日语。。。唉

#11 楼 @hooopo 不是扯淡,我看完 lua 代码,下一步就打算研究 ruby 源代码了。。。

鸡血补丁什么时候被 merge 啊

#4 楼 @hooopo 用你的方法,发现又到 133 了。。。

ruby -v
ruby 1.9.3p133 (2012-02-17 revision 34660) [i686-linux]

#14 楼 @bindiry 是哇 还是我的方法好:-) 这东西是从 master 分支 check 出来的 修复一个 bug 就会 +1

遇到问题了:


Removing old Rubygems files...
-e:1: Use RbConfig instead of obsolete and deprecated Config.
Installing rubygems dedicated to ruby-1.9.3-head...
Installing rubygems for /home/jinleileiking/.rvm/rubies/ruby-1.9.3-head/bin/ruby
ERROR: Error running 'GEM_PATH="/home/jinleileiking/.rvm/gems/ruby-1.9.3-head:/home/jinleileiking/.rvm/gems/ruby-1.9.3-head@global:/home/jinleileiking/.rvm/gems/ruby-1.9.3-head:/home/jinleileiking/.rvm/gems/ruby-1.9.3-head@global" GEM_HOME="/home/jinleileiking/.rvm/gems/ruby-1.9.3-head" "/home/jinleileiking/.rvm/rubies/ruby-1.9.3-head/bin/ruby" "/home/jinleileiking/.rvm/src/rubygems-1.6.2/setup.rb"', please read /home/jinleileiking/.rvm/log/ruby-1.9.3-head/rubygems.install.log
WARN: Installation of rubygems did not complete successfully.
ruby-1.9.3-head - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-head - #importing default gemsets (/home/jinleileiking/.rvm/gemsets/)
Install of ruby-1.9.3-head - #complete 
➜  src  cat ~/.rvm/log/ruby-1.9.3-head/rubygems.install.log 
[2012-02-19 07:31:01] GEM_PATH="/home/jinleileiking/.rvm/gems/ruby-1.9.3-head:/home/jinleileiking/.rvm/gems/ruby-1.9.3-head@global:/home/jinleileiking/.rvm/gems/ruby-1.9.3-head:/home/jinleileiking/.rvm/gems/ruby-1.9.3-head@global" GEM_HOME="/home/jinleileiking/.rvm/gems/ruby-1.9.3-head" "/home/jinleileiking/.rvm/rubies/ruby-1.9.3-head/bin/ruby" "/home/jinleileiking/.rvm/src/rubygems-1.6.2/setup.rb"
/home/jinleileiking/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/rubygems.rb:480:in `find_files': undefined method `map' for Gem::Specification:Class (NoMethodError)
    from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/rubygems.rb:1087:in `load_plugins'
    from /home/jinleileiking/.rvm/src/rubygems-1.6.2/lib/rubygems/gem_runner.rb:84:in `<top (required)>'
    from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-head/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/jinleileiking/.rvm/src/rubygems-1.6.2/setup.rb:25:in `<main>'

#3 楼 @hhuai

#15 楼 @hooopo

#14 楼 @bindiry

正解: rvm get latest # rvm 更新至最新版本,才能看见 1.9.3 的树 rvm list known 才有 1.9.3 .... rvm install 1.9.3

另外发现了加入 md 的 bug。。。。

#4 楼 @hooopo 你这个到不 stable 的版本,万一有 bug,不傻了,还是别 head 了。。

rvm get head
rvm install 1.9.3-falcon

#18 楼 @jinleileiking 开发环境你怕什么

需要 登录 后方可回复, 如果你还没有账号请 注册新账号