Meet our team Find out more about the people behind one of the largest social discovery platforms in the world. Read more Hack attack We regularly down tools to work together for a day on killer ideas and fun hacks with our data. Read more
Ruby 2.0 has a cool new feature that many people talk about: TracePoint. TracePoint essentially allows you to hook into Ruby’s events and listen for events. Being curious and since I just started a brand new Rails 4/Ruby 2 app, I decided to write a little middleware and see what Rails is up to when handling incoming requests. Here is my TracePoint Rack Middleware. class TracePoint class Middleware
Ruby 2.0.0-p0 is released Ruby2.0がリリースされました。Homebrewとrbenvによるインストール手順です。rbenv/OpenSSL/Readlineがインストール済みで最新にする場合は各ツールをbrew upgrade <formula> してください。 Environments Mac OS X 10.8.2 Mountain Lion Homebrew 0.9.4 Update Homebrew Formula brew update OpenSSL, Readline brew install openssl brew install readline ruby-build brew uninstall ruby-build brew install --HEAD ruby-build --HEADでインストール済みだと以下のエラーが出るので、
ruby-buildをアップデートしたら $ brew update $ brew upgrade ruby-build2.0.0-p0がきてたので $ rbenv install ... 2.0.0-p0 ...インストールしようとしたらエラった。 $ rbenv install 2.0.0-p0 Downloading openssl-1.0.1e.tar.gz... -> https://www.openssl.org/source/openssl-1.0.1e.tar.gz Installing openssl-1.0.1e... Installed openssl-1.0.1e to /Users/xxx/.rbenv/versions/2.0.0-p0 Downloading ruby-2.0.0-p0.tar.gz... -> http://ftp.ruby-lang.org
There’s a Portugese translation by Rodrigo Martins if you prefer. A quick summary of some of the new features of Ruby 2.0.0: Language Changes Keyword arguments 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 # Ruby 1.9: # (From action_view/helpers/text_helper.rb) def cycle(first_value, *values) options = values.extract_options! name = options.fetch(:name, 'default') # ... end # Ruby 2.0: def
Rubyアソシエーション理事長 2013年←1993/2(Ruby開発開始)概念を作ってだいたいこの流れで開発しよっか★ hello worldから出るまでに半年ェ… (文字列という概念を作って、IO概念など…) 1995/12 公開 19966/12 1.0 例によって奇数バージョンを開発版、偶数バージョンを安定版とする。 2003/8 1.8 2007/12 1.9.0 2011/10 1.9.3 (そろそろ2.0か…) rubyconf2001 ruby2に言及 新VM 新GC ネイティブスレッド 埋め込みAPI 心理的「壁」 コア実装の置き換え perl pythonの人から「遅くて使いモノにならない」というクレーム 新VM YARV (1.9から) 新GC 世代別GC(あたらしいアルゴリズムのGCを実装するようにする?) 2.0ではbitmap markingでアルゴリズムを改善
Matz is not a threading guy Published on November 08, 2012 by Jesse Storimer I attended my very first Rubyconf last week. There were certainly some common themes that I kept hearing over and over again throughout the course of the conference. Among other things, there was JRuby, threading, the GVL, and MRI 2.0. We got to see a few talks about the new features in MRI 2.0. One of the oft-discussed f
When Heroku first launched you could only use one version of Ruby: 1.8.6. As the Ruby implementation matured and improved, so did Heroku. We recently announced the ability to specify your ruby version on Heroku, and we are happy to announce the first preview-build of Ruby available: starting today you can use Ruby 2.0 preview1 on Heroku. Ruby 2.0 The Ruby core team has been hard at work on Ruby 2.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く