Macで漫然とRubyをインストールすると、rails consoleやirbで日本語を使えないことがある。(どうなるかというと、日本語の変換を確定した途端に「\U+FFE3\U+FFAB」みたいにUnicodeのエスケープっぽいものが表示される。)そうなった時の直し方を説明する。 なぜ日本語を使えないのか 大雑把に言うと、Macに付属しているコマンドライン処理のライブラリ(libedit)が日本語に対応していないから。これを使わず、libreadlineを使うようにすれば直る。 誰がlibeditを使っているのか Rubyをインストールしたディレクトリのどこかにあるreadline.bundleが使っている。findコマンドを使えば見つけられる。例えば、rbenvを使ってRubyをインストールしたなら、下のコマンドで見つかるだろう。
A simpler daemon library for Ruby processes. Usage require "fallen" module Azazel extend Fallen def self.run while running? puts "Time is on my side... Yes it is..." sleep 666 end end end Azazel.start! This will print Time is on my side... Yes it is.. every 666 seconds on STDOUT. You can stop the daemon by pressing CTRL+c. Control your daemon Fallen accepts the following methods: daemonize!: detac
ProductIntroducing the Command BarAt GitHub, we use the command line every day. From git commands to script/server, we love the power it offers. This got us thinking, "why can't we do that with… At GitHub, we use the command line every day. From git commands to script/server, we love the power it offers. This got us thinking, “why can’t we do that with github.com?” The Command Bar Now you can. Our
Googleが、人気のiOS向け写真共有アプリケーションである「Snapseed」の開発企業を買収した。両社が米国時間9月17日に発表した。 Googleのエンジニアリング担当シニアバイスプレジデントVic Gundotra氏は、Snapseedの開発元であるNik Software買収を自身の「Google+」アカウントで報告している。同アプリケーションは、写真の編集やフィルタの適用、FacebookやFlickr、電子メールでの共有に使われ、Facebookが最近買収した「Instagram」に似た機能を提供している。 「ユーザーが心から満足する写真を作成できるように支援したいと思っている。われわれの経験では、Nikがどの企業よりも優れている」とGundotra氏は記し、1年前に開設したGoogle+のユーザー数が4億人になったことにも言及した。 Googleが今回の買収によって、ソー
Here at Heroku, we focus our energy on developer experience and productivity. Historically, this has revolved around command-line tools like the Heroku Toolbelt and the Heroku CLI. As a polyglot platform, we have developers that come from all backgrounds — some that prefer command-line workflows and others that prefer web interface. Most use a bit of both. Today, we're introducing a new first-clas
UPDATE: Good news! Actualy SimpleForm 2.0.3 was released with a bunch of bugfixes and small features that are described below. Full CHANGELOG is here. Hey, readers! Today I want to share with you some news about upcoming SimpleForm 2.1.0 release. A lot of bugs were fixed and some awesome features were added. So let’s take a look on these goodies: 1. :checked option Now you can pass an array to :ch
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く