From: serialhex Date: 2011-08-22T21:49:29+09:00 Subject: mkmf & config question --000e0cd349bc64510004ab17826e Content-Type: text/plain; charset=ISO-8859-1 ok so check this out: pry(main)> require 'mkmf' => true pry(main)> CONFIG['sitedir'] => "$(libdir)/ruby/site_ruby" pry(main)> CONFIG['libdir'] => "$(exec_prefix)/lib" pry(main)> CONFIG['exec_prefix'] => "$(prefix)" pry(main)> CONFIG['prefix'] => "/home/serialhex/.rvm/rubies/ruby-1.8.7-p352" pry(main)> CONFIG['prefix'] = '/foo/bar' => "/foo/bar" pry(main)> Config::expand CONFIG['sitedir'] => "/home/serialhex/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby" pry(main)> CONFIG['prefix'] => "/foo/bar" why when i change CONFIG['prefix'] to '/foo/bar' does it not change Config::expand CONFIG['sitedir'] to "/foo/bar/lib/ruby/site_ruby"??? and how would i get it to do that? hex -- my blog is cooler than yours: serialhex.github.com The wise man said: "Never argue with an idiot. They bring you down to their level and beat you with experience." > > Other than the fact Linux has a cool name, could someone explain why I > > should use Linux over BSD? > > No. That's it. The cool name, that is. We worked very hard on > creating a name that would appeal to the majority of people, and it > certainly paid off: thousands of people are using linux just to be able > to say "OS/2? Hah. I've got Linux. What a cool name". 386BSD made the > mistake of putting a lot of numbers and weird abbreviations into the > name, and is scaring away a lot of people just because it sounds too > technical. -- Linus Torvalds' follow-up to a question about Linux --000e0cd349bc64510004ab17826e--