Hi Hassan,

Thanks for the tips below, they helped.

Finally fixed it by instantiating the angular app in application.js rather 
than in it's own app.js.coffee file and letting sprockets handle it.

Thanks for your time.

Paul

On Friday, April 8, 2016 at 4:32:07 PM UTC+1, Hassan Schroeder wrote:
>
> On Fri, Apr 8, 2016 at 7:54 AM, paul h <pa...@hollyer.me.uk <javascript:>> 
> wrote: 
>
> > In Development on localhost (OSX) everything is fine and dandy. 
> > 
> > In Production, on a Centos Server, I get the following error from 
> Angular 
>
> No experience with Angular, but the first things I'd ask are: 
>
> 1) Is there anything unusual in the production logs at startup? 


> 2) Does it run on OSX in production mode?  


> 3) Does it run on CentOS in development mode? 
>
> If you don't want to disrupt your production server you can bring up 
> a CentOS VM on your Mac to simulate the prod. environment. 
>
> Good luck! 
> -- 
> Hassan Schroeder ------------------------ hassan.s...@gmail.com 
> <javascript:> 
> http://about.me/hassanschroeder 
> twitter: @hassan 
> Consulting Availability : Silicon Valley or remote 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/18cbed3a-af1c-48a8-924b-a06b96d86b25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to