I developed a web app with Ruby On Rails. In my local machine I used RVM to manage Ruby versions. I'm using ruby 2.7.1 and rails 6.
Now I'm trying to deploy this app to a Digital Ocean droplet using this guide: https://gorails.com/deploy/ubuntu/18.04. I'm using the same stack as the guide, so I'm using rbenv.
I finished all the settings and now I'm trying to run cap production deploy
. But I'm getting this error:
Bundler::GemNotFound: Could not find name_of_gem in any of the sources
This happens when capistrano is running rake db:migrate
.
I tried installing the gem manually but then it shows that same error for a different gem and this keeps happenning. It looks like capistrano is not executing bundle install
.
Can someone help me please?