Skip to content

Instantly share code, notes, and snippets.

@bluerabbit
Created October 8, 2015 13:57
Show Gist options
  • Save bluerabbit/c2d505c49fa1b5cc625c to your computer and use it in GitHub Desktop.
Save bluerabbit/c2d505c49fa1b5cc625c to your computer and use it in GitHub Desktop.
herokuでbrowserify-railsを使って動かす

React.jsを使いたいRailsおじさんがJavaScriptライブラリをそれっぽく管理しながら入門するを試したらエラーになったのでメモ

http://ppworks.hatenablog.jp/entry/2015/08/10/212937

herokuの設定

下記が必要でした。

%heroku buildpacks:set https://github.com/heroku/heroku-buildpack-ruby
%heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-nodejs
%heroku buildpacks
=== xxx Buildpack URLs
1. https://github.com/heroku/heroku-buildpack-nodejs
2. https://github.com/heroku/heroku-buildpack-ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment