redmineのインストールで、bundle installをする際に、以下のエラーに悩まされました。
結局、redmineインストールディレクトリにパーミッションがなかった、ということで、
chownをして回避しました。
どうも、redmineを引っ張ってきた時の所有者がrootになっていたようで。
無事解決。
bundle: command not foundに悩まされた。
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'http://stackoverflow.com/questions/11990708/error-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq
gmake: *** [git-credential-store] Error 1
gem source -a http://rubygems.org/として、httpsから回避すると、いけた。
NOKOGIRI_USE_SYSTEM_LIBRARIES=1 gem install nokogiri --no-rdoc --no-rinokogiriを導入してみたら、gem install railsでこけなくなった。
git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash参考は以下など。感謝。
sudo: gem: command not found