Bundler::GemfileNotFound while trying to install cms

bundler, ruby, ruby-on-rails, rubygems

Solution

I think you're getting this error because you didn't go into the directory.

i.e., rails new project_example

then you do

cd project_example (cd stands for change directory)

this moves you inside the project ...

then you run that command

Problem

There is an error when I'm trying to install a CMS. It says `Bundler::GemfileNotFound` Besides, when I run `bundle` it also says `Bundler::GemfileNotFound` How do I fix this?

Original source