Installing mysql-2.9.0 gem on Windows fails due to lack of libmysql

前端 未结 2 1696
独厮守ぢ
独厮守ぢ 2021-01-14 12:03

I\'m trying to install Redmine 2.1.4 on Windows Server 2003. For it to work, I need to install activerecord-mysql-adapter gem, which in turn seems to rely on

2条回答
  •  爱一瞬间的悲伤
    2021-01-14 12:20

    Try with no installer version of connector from http://dev.mysql.com/downloads/connector/c/ and extract the content in root folder or a folder path which does not have any space for and then try to install mysql gem

    example

    gem install mysql --platform=ruby -- --with-mysql-dir=C:/mysql-connector-c-noinstall-6.0.2-win32
    

提交回复
热议问题