I want rails to serve my ember front, and I'm using: ember-cli-rails
I set my config/initializers/ember.rb as:
EmberCli.configure do |c|
c.app :item_tracking
c.app :frontend, path: "~/myApp/client/dist"
end
and config/routes.rb as:
Rails.application.routes.draw do
mount_ember_app :frontend, to: "/"
end
When I run rake ember:install, I got:
Errno::ENOENT: No such file or directory - chdir
I'm sure I build the entire ember in ~/myApp/client/dist, and I guess the problem is caused by this path, can someone give me a suggestion?
Aucun commentaire:
Enregistrer un commentaire