Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Investigate Rails and Ember connection #12

Closed
getaclue00 opened this issue Oct 17, 2016 · 1 comment
Closed

Investigate Rails and Ember connection #12

getaclue00 opened this issue Oct 17, 2016 · 1 comment

Comments

@getaclue00
Copy link
Owner

Locally everything works fine.
However, when you want to test it with other devices, rails is not having a good time on mac for some reason. I haven't tested *nix or windows... so...

This is the temporary solution for mac

mac

  • type ifconfig and find your ip address (on my machine that is the en0 adapter)
  • start your rails server binding to 0.0.0.0 as rails s -b 0.0.0.0
  • manually change all references in Ember that references to localhost to the ip you found above. Currently this involves adapters/application.js and authenticators/devise.js files.

There has to be a different way as your ip is most likely to change...

Need to investigate... it seems more of a Rails issue than an Ember issue.

@getaclue00 getaclue00 added the bug label Oct 17, 2016
@getaclue00 getaclue00 added this to the October's Milestone milestone Oct 17, 2016
@getaclue00
Copy link
Owner Author

Found this useful when debugging this - http://serverfault.com/a/229450

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant