Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

install_options not being passed

#26

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

Reported by Chris Williams · March 20th, 2009 @ 06:02 PM

State: invalid
Milestone: none
Assigned to: Chad Woolley Chad Woolley

Activity

  1. Chad Woolley
    Chad Woolley
    • 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.

    March 20th, 2009 @ 08:19 PM

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.