Open kurodakazumichi opened 6 years ago
rbenv install 2.4.1
rbenv local 2.4.1 新しいrubyのversionいれたらbundle installが動かなくなった。 gem install bundler
して
bundle install
bundleは動いたけど、gem pgのインストールでエラー どうやらpostgres関連のヘッダがないらしい
yum install postgresql-devel (for gem pg)
でソースコード入れる
bundle installすると今度はpostgresqlが古すぎるとエラー
Your PostgreSQL is too old. Either install an older version of this gem or upgrade your database to at least PostgreSQL-9.2.
ローカルのpostgresのバージョンは8.4.20
postgres9.2いれろってことかなってことで9.2のリポジトリを追加してみる yum install https://download.postgresql.org/pub/repos/yum/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-8.noarch.rpm
yum install postgresql92.x86_64
あああああうまくいかない! いったん断念
概要
Rubu on Railsのコードを解析するための動作環境構築手順についてまとめる。
ステップ
14 手順はこちらを見よ(rails installまででよい)
環境補足
ステップ1でVagrant + VirtualBoxを整えたら、以下のようなフォルダ構成を作っていく