下記のexampleをHerokuにセットアップして動作させるまでのターミナルの出力結果だけとりあえずMEMOとして残しておきます。
Read a Microsoft Access .mdb file in a heroku rails app - jkotchoff/heroku_rails_microsoft_access_mdb_example
An overview of buildpacks, which are responsible for transforming deployed code into a slug, which can then be executed on a dyno
うまくいかないとこんなエラーが出ます。
Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.
If you are the application owner, check your logs for details.
ログを確認するには
heroku logs --tail
以下、MEMOです。
tshiraishi-MacBook:_Rails tshiraishi$ git clone https://github.com/jkotchoff/heroku_rails_microsoft_access_mdb_example.git Cloning into 'heroku_rails_microsoft_access_mdb_example'... remote: Counting objects: 118, done. remote: Total 118 (delta 0), reused 0 (delta 0), pack-reused 118 Receiving objects: 100% (118/118), 1.17 MiB | 629.00 KiB/s, done. Resolving deltas: 100% (34/34), done. tshiraishi-MacBook:_Rails tshiraishi$ cd hero* tshiraishi-MacBook:heroku_rails_microsoft_access_mdb_example tshiraishi$ ls Gemfile README.md Rakefile config db lib public test Gemfile.lock README.rdoc app config.ru doc log script vendor tshiraishi-MacBook:heroku_rails_microsoft_access_mdb_example tshiraishi$ heroku create noppo --buildpack https://github.com/Ignitewithus/heroku-buildpack-mdbtools.git Creating ⬢ noppo... done Setting buildpack to https://github.com/Ignitewithus/heroku-buildpack-mdbtools.git... done h ttps://noppo.herokuapp.com/ | https://git.heroku.com/noppo.git tshiraishi-MacBook:heroku_rails_microsoft_access_mdb_example tshiraishi$ heroku buildpacks:add heroku/ruby Buildpack added. Next release on noppo will use: 1. https://github.com/Ignitewithus/heroku-buildpack-mdbtools.git 2. heroku/ruby Run git push heroku master to create a new release using these buildpacks. tshiraishi-MacBook:heroku_rails_microsoft_access_mdb_example tshiraishi$ git push heroku master Counting objects: 118, done. Delta compression using up to 4 threads. Compressing objects: 100% (70/70), done. Writing objects: 100% (118/118), 1.17 MiB | 228.00 KiB/s, done. Total 118 (delta 34), reused 118 (delta 34) remote: Compressing source files... done. remote: Building source: remote: remote: -----> mdbtools v0.6 app detected remote: -----> Installing mdbtools 0.7.0 (中略) * [new branch] master -> master tshiraishi-MacBook:heroku_rails_microsoft_access_mdb_example tshiraishi$ heroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-ruby Setting BUILDPACK_URL and restarting ⬢ noppo... done, v5 BUILDPACK_URL: https://github.com/heroku/heroku-buildpack-ruby tshiraishi-MacBook:heroku_rails_microsoft_access_mdb_example tshiraishi$ heroku open tshiraishi-MacBook:heroku_rails_microsoft_access_mdb_example tshiraishi$
東京造形大学卒業後、マクロメディア(現アドビ)に入社。QAやテクニカルサポートマネージャーとしてFlash、DreamweaverなどのWeb製品を担当。独立後、2007年に虫カゴデザインスタジオ株式会社を設立。2021年東京三鷹を拠点に。最近は、CakePHP、Laravel、Unity、ZBrush、Modo、Adobe Substance 3D、Adobe Firefly、Xcode、Firebaseにフォーカスしています。モバイルアプリ開発情報を主としたブログ「MUSHIKAGO APPS MEMO」の中の人。