Tag: wamp

如何在Windows 7上的Rails 3应用程序中使用“mysql2”gem?

我尝试在Windows 7 32位上安装mysql2 gem。 我跑: gem install mysql2 我收到以下错误: ERROR: Error installing mysql2: The ‘mysql2’ native gem requires installed build tools. Please update your PATH to include build tools or download the DevKit from ‘http://rubyinstaller.org/downloads’ and follow the instructions at ‘http://github.com/oneclick/rubyinstaller/wiki/Development-Kit’ 任何可能导致此错误的想法,以及如何解决这个问题? UPDATE 我做了这里描述的所有事情,但我无法弄清楚最后一步: gem install mysql2 — ‘–with-mysql-lib=”c:\Program Files\MySQL\MySQL Server 5.1\lib\opt” –with-mysql-include=”c:\Program Files\MySQL\MySQL Server […]

如何在WampServer旁边安装Ruby on Rails?

是否可以在WampServer上安装Ruby on Rails(并保留WampServer的Apache / MySQL安装)?