I have a rails app that need to be install on two computer (mac and linux)
somehow the mac can run the rails app with ruby-mysql gem and the linux can run with mysql gem
How do I set the bundle Gemfile?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You want to use the mysql2 gem in this case, otherwise there are tricks to install different gems based on the environment, however you will encounter annoyances when pulling from the repository since you will have to run bundle install (or update) everytime if Gemfile.lock is in your repo (it should)
Platform example: