Hi!
On 2021-6-17 1:04 pm, Cursedmanchild wrote:
> i litteraly cannot find a fix for this, ive done everything right and
> still it says Could not locate Gemfile. help --
Sorry for the trouble you are facing. Could you please share:
* Windows version and Ruby version
* When you do 'bundle update' do you see an error? Could you share that
here?
Based on this error 'Could not locate Gemfile', it seems that your Ruby
installation is fine.
The way Bundler works is:
1) You create a file called Gemfile in your project directory. You can
either create it yourself or you can do this in the project directory
d:\project\ruby_project> bundle init
(this will create a basic Gemfile for you)
2) Edit the Gemfile and to add the list of gems that you want to use in
your project
3) You do `bundle install` from the directory of your Gemfile so that
bundler can find the Gemfile and install the gems you need
Take a look here at Getting Started:
https://bundler.io/
Hope this helps! Welcome to the community.
Best Regards,
Mohit.