RubyMine doesn’t see gems from bundle in Docker on Mac OS

I also struggled with the same problem. Managed to fix it by setting this parameters in ~/.zshc user profile. You might have different RUBY_PATH, feel free to change it. export RUBY_PATH=/usr/local/opt/ruby/bin export PATH=”$RUBY_PATH:$PATH” export RUBY_VERSION=$($RUBY_PATH/ruby -e “puts RUBY_VERSION”) export PATH=”/usr/local/lib/ruby/gems/$RUBY_VERSION/bin:$PATH” export GEM_HOME=”$HOME/.gem” export GEM_PATH=”$GEM_HOME/ruby/$RUBY_VERSION” You can also take it from this gist

Make bundler use different gems for different platforms

This is a known issue in Bundler. The workarounds are either: Generate a Gemfile.lock on a system similar enough to your production environment that you get results that match your production platform. Effectively, that means you can only generate the Gemfile.lock file on Windows if your production system is Windows. Don’t commit a Gemfile.lock file … Read more

How do I vendorize gems for Rails3/Bundler

Answering the second part of your question, developing a plugin/gem and shipping it with the rails app without making the gem publicly available, you may do this Gemfile gem ‘my_private_gem’, :path => “vendor/gems/my_private_gem-VERSION” assuming you performed a gem unpack my_private_gem –target vendor/gems note: bundle package unpacks all gems (as many as in Gemfile.lock). I wouldn’t … Read more

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