Closed joeczucha closed 7 years ago
Hey @joeczucha, make sure your generated app uses the postgresql database adapter. PushType requires postgres because it uses the jsonb datatype.
Thanks @aaronrussell, it had been a long day.
That's got me past the first issue but now - once migrations are complete and a user has been generated - visiting the admin URL gives me:
couldn't find file './webpack/admin.bundle' under '/Users/joe/.rbenv/versions/2.3.2/lib/ruby/gems/2.3.0/bundler/gems/push_type-7d85d68e3016/admin/app/assets/javascripts' with type 'application/javascript'
I've followed the steps from here: http://www.pushtype.org/docs/installation/ is there another step for the rails-5 branch?
Thanks for your help.
Ah, looks like you're installing from git? That's not supported right now. The compiled javascript assets are not committed to git so you need to install from a version published on ruby gems (currently version 0.10.0).
In future I'll sort this out and commit the compiled assets because a few trip over on this.
No problem, I just wasn’t sure if the Rubygems version supported Rails 5 but I’ll give it a go.
Thanks!
I'm trying to install this on a cleanly generated Rails 5 project using the rails-5 branch.
Any suggestions appreciated :)