Everything works fine on my OS X development laptop.
Deploy the app to production and it runs and displays data as expected.
However, when I try to run the Rails
I solved with run:
RAILS_ENV=production bundle exec rails c
more details on link