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.

Build flags (--) do not work

#8

Summary Admin Tracker Lists News SCM Files

Bugs: Browse | Submit New | Reporting | Admin

[#20056] build flags do not work

Monitor (?) Build Task Relation

Submitted By:

Chad Woolley (thewoolleyman) Date Submitted:

2008-05-09 16:05

Data Type: (?)

Category: (?)

(Admin) Group: (?)

(Admin)

Assigned To: (?)

(Admin) Priority: (?)

State: (?)

Resolution: (?)

Summary: (?)

Detailed description

This fails from geminstaller but works from command line, on leopard:

  • name: mysql

version: 2.7

<% if RUBY_PLATFORM =~ /darwin/ %>

install_options: -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

<% end %>

gem install mysql --version 2.7 -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

Reported by Chad Woolley · May 20th, 2008 @ 12:36 AM

State: hold
Milestone: 1.0 Release
Assigned to: Chad Woolley Chad Woolley

Activity

  1. Chad Woolley
    Chad Woolley

    This is probably due to the way rubygems parses compile flags.

    Haven't looked at the code yet, but I believe these are parsed

    and stored off in the command line interface, somewhere above

    the RubyGems public API level that GemInstaller is invoking.

    May 20th, 2008 @ 12:36 AM

  2. Chad Woolley
    Chad Woolley
    • Tag set to from_rubyforge, high_priority

    December 12th, 2008 @ 06:13 PM

  3. Chad Woolley
    Chad Woolley
    • State changed from new to hold

    This is fixed in RubyGems trunk, just waiting for release...

    January 25th, 2009 @ 03:45 PM

  4. nicholas a. evans
    nicholas a. evans

    Just a note for anyone who finds this page after googling for it: this was broken in rubygems 1.3.1 (which came installed with Mac OS X 10.6, IIRC) but fixed in rubygems 1.3.5 (sudo gem update --system).

    September 4th, 2009 @ 02:57 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.