install_options not being passed
Reported by Chris Williams | March 20th, 2009 @ 06:02 PM
I'm probably doing something wrong, but I can't seem to pass the build options when installing the mysql gem.
Here's my geminstaller.yml: - name: mysql version: '= 2.7' install_options: '-- --with-mysql-config=/usr/local/mysql/bin/mysql_config'
Then: sudo geminstaller
Invoking gem install for mysql, version 2.7. [RubyGems:stderr] ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
Yet when I type: sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
It installs without any problems.
Thanks, Chris
Comments and changes to this ticket
-
Chad Woolley March 20th, 2009 @ 08:19 PM
- Tag set to duplicate
- State changed from new to invalid
Thanks for the report.
This is a duplicate of http://thewoolleyweb.lighthousea...
It was a bug in RubyGems where these options were not handled properly when invoked via the API. I've fixed the bug, and it should be working with the next release of RubyGems. If you want, you can download the trunk of rubygems and build it via 'ruby setup.rb', and it should work then.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
GemInstaller
http://geminstaller.rubyforge.org