bundle install problem: mysql.h is missing

I tried all the solutions posted here, but was not lucky. I reinstalled mysql with homebrew a couple of times and still no luck. Then I came across a blog post with a solution. I edited the mysql_config file in /usr/local/Cellar/mysql/5.6.12/bin and removed the W-compiler options -Wno-null-conversion and -Wno-unused-private-field for cflags and cxxflags. This solved … Read more

bundle install doesn’t work from capistrano

Just ran into the same issue. What worked for me was this: 1) Installing the capistrano-rvm gem and adding require ‘capistrano/rvm’ to the Capfile. 2) Adding my deployment user to the rvm group on the server: # usermod deploy -a -G rvm 3) Creating two directories in my deployment user’s home folder: .rvm and .rvm/bin … Read more

bundler: failed to load command: jekyll

I stumbled upon this question when I ran into the issue of trying to set up github pages. It seems that in the latest version of ruby that is installed with homebrew webrick is not included by default. Here is the github issue: https://github.com/github/pages-gem/issues/752. Recommendations are to either use ruby 2.7 or to manually add … Read more

How to customize Gemfile per developer?

I like to have this in my Gemfile: local_gemfile = File.dirname(__FILE__) + “/Gemfile.local” if File.file?(local_gemfile) require local_gemfile end I also have Gemfile.local and Gemfile.lock in gitignore. I know I’m not “supposed to”, but I don’t think the caveats (such as the ones you mention in your question) are worth it. UPDATE for Bundler 1.0.10 as … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)