D3 Chart Does not Render in Rails 5 App


I have a Rails 5 app that uses D3.js for graphing. The graph renders on my local computer (a Mac), but it does not render in my app on Cloud9 although the code is identical. I am using d3-rails 4.1.0 gem. Does anyone know why this may be happening?

Thanks in advance for any help or pointers to resources that may be helpful in fixing this problem.


Did you add //= require d3 to app/assets/javascripts/application.js ?


I did add that line. As I indicated in my earlier post, the app runs fine on my local computer.