New-Village

月間ブログ。だいたい1カ月に1回は更新しているようです。

Cloud9 + Ruby on Rails

hirokimuraに教わった、ブラウザだけで学ぶWebアプリ開発【開発編】をCloud9でやっていたが、ターミナルでRailsのバージョンが表示されないことに気付いた。

$ ruby -v
ruby 1.9.3p448 (2013-06-27) [x86_64-linux]
$ rails -v
Could not find rake-0.9.2.2 in any of the sources
Run `bundle install` to install missing gems.

ということで、インストールしておきました。意味があるのかどうかは分からないですが…

$ bundle install
Fetching gem metadata from http://rubygems.org/.........
Fetching additional metadata from http://rubygems.org/..
(以下略)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.

$ rails -v
Rails 3.1.2