By Ilya Grigorik on June 02, 2011 Earlier this week Heroku rolled out a major upgrade to their webstack. The HTTP/1.1 support and the billing upgrades are both great improvements, but the "process model" definitely takes the crown: all of the sudden Heroku is much more than a Ruby+Rack hosting platform. Prior to this release, Heroku hosted Ruby only apps on top of the Thin web-server. Each "dyno"
Recently, an upgrade to Rake (from version 0.8.7 to version 0.9.0) has re-raised the issue of dependencies and versioning in the Ruby community. I wanted to take the opportunity to reiterate some of the things I talked about back when working on Bundler 1.0. First, I'll lay out some basic rules for the road, and then go into some detail about the rationale. Basic Versioning Rules for Apps After bu
At this year’s Scottish Ruby Conference, I gave a talk about EventMachine, slides are available. Amidst the hype around Node.js it’s too easy to forget that Ruby has had evented I/O libraries for years. EventMachine, libebb, rev, cool.io, to name a few. As a general introduction I recommend reading Dan Kegel’s article on the C10K problem, the problem of handling 10000 server connections on a singl
In TDD we write tests to discover the interface of the object we’re testing. Mock objects extend TDD by discovering an object’s collaborators. [1] By mocking an object’s collaborators we can truly test an object in isolation. Changes in the implementation of its collaborators, but not their interface, will not cause a test in which those collaborators are mocked out to fail. This results in a more
gem 1.8のGem::Specification#default_executable= is deprecated with no replacement.という警告メッセージの出力を抑制する方法 gem 1.8がリリースされました。ただし24個もの機能がdeprecatedになっているため、gemを使って何かしようとすると数十、人によっては数百のdeprecation warningが出力されます。これらの警告の出力を抑制する方法をまとめます。 gem 1.8をインストールするにはシェルでgem update --systemと入力します。これでgemのアップデートが完了します。gemのバージョンが1.8にアップデートされたことを確認するために、gem -vと入力すると、NOTE: Gem::Specification#default_executable= is deprecat
Welcome to GemNotifier! Subscribe to receive email notifications when your favorite gems have new versions! Sign In With Github Latest Updated Gems datts_right (0.0.30) simple_table (0.0.17) epitools (0.4.28) compass-magick (0.1.3) rails_dictionary (0.0.9.4) ruby-debug-ide (0.4.17.beta4) rpcoder (0.0.3) refinerycms-multisite (0.0.2) couch_potato (0.5.3) qrscanner (0.3) Most Subscribed Gems rails (
Ruby のパッケージングマネージャの rubygems と Perl の CPAN と比較して、rubygems の残念なところの一つに『インストール時にテストを行わない』ことが挙げられます。rubygems は gem install package で一発で入れられる事は便利なんですが、インストール時にテストが行われないため、実際にその環境で正しい挙動をするとは限りません。また、rubygems で入れたパッケージのテスト方法もコマンド一発で簡単にできるわけではないのでめんどくさかったりします。なにより問題なのが、インストール時にテストが行われないため『開発者がテストをさぼりがち』になってしまいます*1。 最近 rubygems でも CPAN と同じように、インストール時にテスト可能なパッケージはテストを行い、失敗したら基本的にインストールできない(設定で変えられます)仕組みを持っ
日本Rubyの会とRubyコミュニティで作るオンラインのウェブ雑誌「Rubyist Magazine」(通称るびま)の最新号である第33号が4月5日火曜日に公開されました。技術解説やRuby関連イベントのレポートなど、非常に読み応えがあります。先日、晴れてRubyコミッタの仲間入りをした「リアル厨2」(4月に中学3年生に!)ことShota FukumoriさんによるCRubyのテスト並列化の記事も、タイムリーな感じです。 Rubyistはもちろん、それ以外のプログラマの方々にも一読をお勧めしたいと思ったのが、チャド・ファウラー氏のインタビュー記事です。チャドさんはRails登場以前にふとしたきっかけでRubyを発見して取り組み、以来、著者、コンサルタント、スピーカーという立場で啓蒙してきたパイオニア的存在です。 私が軽い衝撃を受けたのは、次のくだりです。 Rails以前を思い返してみると、
『るびま』は、Ruby に関する技術記事はもちろんのこと、Rubyist へのインタビューやエッセイ、その他をお届けするウェブ雑誌です。 Rubyist Magazine について 『Rubyist Magazine』、略して『るびま』は、日本 Ruby の会の有志による Rubyist の Rubyist による、Rubyist とそうでない人のためのウェブ雑誌です。 最新号 Rubyist Magazine 0058 号 バックナンバー Rubyist Magazine 0058 号 RubyKaigi 2018 直前特集号 Rubyist Magazine 0057 号 RubyKaigi 2017 直前特集号 Rubyist Magazine 0056 号 Rubyist Magazine 0055 号 Rubyist Magazine 0054 号 東京 Ruby 会議 11 直
By Ilya Grigorik on March 24, 2011 Detecting and dealing with duplicates is a common problem: sometimes we want to avoid performing an operation based on this knowledge, and at other times, like in a case of a database, we want may want to only permit an operation based on a hit in the filter (ex: skip disk access on a cache miss). How do we build a system to solve the problem? The solution will d
『るびま』は、Ruby に関する技術記事はもちろんのこと、Rubyist へのインタビューやエッセイ、その他をお届けするウェブ雑誌です。 Rubyist Magazine について 『Rubyist Magazine』、略して『るびま』は、日本 Ruby の会の有志による Rubyist の Rubyist による、Rubyist とそうでない人のためのウェブ雑誌です。 最新号 Rubyist Magazine 0058 号 バックナンバー Rubyist Magazine 0058 号 RubyKaigi 2018 直前特集号 Rubyist Magazine 0057 号 RubyKaigi 2017 直前特集号 Rubyist Magazine 0056 号 Rubyist Magazine 0055 号 Rubyist Magazine 0054 号 東京 Ruby 会議 11 直
ws-io¶ ↑ The bridge between WebSocket and IO Install¶ ↑ % gem install ws-io Example¶ ↑ require "ws-io" WsIo.start { system '/bin/sh' }.open.join ws-irb¶ ↑ Also the ‘ws-irb’ command will be installed. It provides irb on browser. % ws-irb Contributing to ws-io¶ ↑ Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet Check out the issue tracker
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く