2015-09-06から1日間の記事一覧

Getting Started with Ruby on Herokuをやったので概要だけまとめる。

Introduction ruby をインストールするだけ。 Set up heroku toolbeltをインストールするコマンドをコピペするだけ。 Prepare the app git cloneするだけ。 Deploy the app heroku上でgit cloneしたアプリを動かす。コマンドコピペ。 View logs heroku上での…

herokuのRun the app locallyでbundle exec rake db:create db:migrateできなくてはまった話

ここに至る手順 bundle exec rake db:create db:migrate を行う前にthese instructionsを踏んでpostgresqlのインストールを行わなければならない。 行わないと could not connect to server: No such file or directory Is the server running locally and a…

ubuntsu 15.04 でgem pg install に失敗する。

原因: libpq-fe.hが見つからないことでインストールに失敗する。 また、ubuntsu 15.04でlibpq-devをインストールしただけだとパスに乗っかってないから、やっぱりlibpq-fe.hが見つからない。 よって、gem install に使うconfigにパスを明示してやる必要性が…