How do I specify local .gem files in my Gemfile?

This isn’t strictly an answer to your question about installing .gem packages, but you can specify all kinds of locations on a gem-by-gem basis by editing your Gemfile. Specifying a :path attribute will install the gem from that path on your local machine. gem “foreman”, path: “/Users/pje/my_foreman_fork” Alternately, specifying a :git attribute will install the … Read more

bundle install fails with SSL certificate verification error

Update Now that I’ve karma wh..err mined enough from this answer everyone should know that this should have been fixed. re: via Ownatik again bundle install fails with SSL certificate verification error gem update –system My answer is still correct and left below for reference if that ends up not working for you. Honestly the … Read more

Update just one gem with bundler

Here you can find a good explanation on the difference between Update both gem and dependencies: bundle update gem-name or Update exclusively the gem: bundle update –source gem-name along with some nice examples of possible side-effects. Update As @Tim’s answer says, as of Bundler 1.14 the officially-supported way to this is with bundle update –conservative … Read more

You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)

Update: I now have a paid script that will set up a proper Ruby environment for you with a single command! I also updated my guide that explains the various ways you can install Ruby gems on a Mac and why I only recommend using a version manager like chruby and ruby-install. You are correct … Read more

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