rbconfig contains personalized config #251

Closed
reactormonk opened this Issue Apr 4, 2010 · 3 comments

Comments

Projects
None yet
3 participants
@reactormonk

This comment has been minimized.

Show comment Hide comment
@reactormonk

reactormonk Apr 4, 2010

Appeared when specifing a bindir (other than the default).

Appeared when specifing a bindir (other than the default).

@luislavena

This comment has been minimized.

Show comment Hide comment
@luislavena

luislavena Apr 5, 2010

Member

Ruby workaround this doing the following:


TOPDIR = File.dirname(__FILE__).chomp!("/lib/ruby/1.8/i386-mingw32")
  DESTDIR = '' unless defined? DESTDIR
  CONFIG = {}
  CONFIG["DESTDIR"] = DESTDIR
CONFIG["prefix"] = (TOPDIR || DESTDIR + "/Users/luis/.rake-compiler/ruby/ruby-1.8.6-p368")

It relativizes everything.

Member

luislavena commented Apr 5, 2010

Ruby workaround this doing the following:


TOPDIR = File.dirname(__FILE__).chomp!("/lib/ruby/1.8/i386-mingw32")
  DESTDIR = '' unless defined? DESTDIR
  CONFIG = {}
  CONFIG["DESTDIR"] = DESTDIR
CONFIG["prefix"] = (TOPDIR || DESTDIR + "/Users/luis/.rake-compiler/ruby/ruby-1.8.6-p368")

It relativizes everything.

@evanphx

This comment has been minimized.

Show comment Hide comment
@evanphx

evanphx Apr 5, 2010

Member

Use BUILD_CONFIG in Config. Closed by f2a97aa. Closed by f2a97aa.

Member

evanphx commented Apr 5, 2010

Use BUILD_CONFIG in Config. Closed by f2a97aa. Closed by f2a97aa.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment