検証環境作成
とりあえずうぶんつな ruby1.8 が入っていたので除去。
$ sudo apt-get remove ruby1.8 libruby1.8
で、rbenv を云々。
$ rbenv rehash $ rvenv global 1.9.3-p448
あとは postgresql なサーバが動いてりゃ良いのかどうか。
とりあえず
git clone して bundle install してみることに。って bundler を gem i しなきゃ、だったんスね。気をとりなおしてリトライ。
$ bundle install Sorry, command-not-found has crashed! Please file a bug report at: https://bugs.launchpad.net/command-not-found/+filebug Please include the following information with the report: command-not-found version: 0.2.44
あら、何これ。bundle ってのも gem i するのか (ぇ
つーか入れても挙動変わらず。どうも rbenv rehash 必要だった模様orz
production だった
ええと以下からリトライなのか。
$ RAILS_ENV=production bundle install
でも pg 入れようとしとるな。あと DB あたりって production なら postgresql とかって記述はしてない気がするのでアレ。
データベース
ちょっと色々割込み入ってタイムアップらしい。続きはまた別途ってことで。