In your rails project when you run
bundle command, if you getting below error,
on Ubuntu, you can fix with below command to this error.
Then you need to install
capybara-webkit gem to your project with,
You can search this bug on stackoverflow
I hope your bug is fixed.