Deleted public index and added gems to gemfile