Hi MK,
I got this back:
irb(main):003:0> CONFIG['bindir']
=> "/usr/local/bin"
irb(main):004:0> CONFIG['libdir']
=> "/usr/local/lib"
irb(main):005:0> CONFIG['sitedir']
=> "/usr/local/lib/ruby/site_ruby"
Does it look right?
gem env:
RubyGems Environment:
- RUBYGEMS VERSION: 1.2.0
- RUBY VERSION: 1.8.6 (2008-03-03 patchlevel 114) [i686-darwin8.11.1]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-8
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.8
Thanks,
Peter.
On Mon, Sep 22, 2008 at 12:43 AM, Michael Klishin <
[EMAIL PROTECTED]> wrote:
>
> 2008/9/22 Peter Dirickson <[EMAIL PROTECTED]>:
> > So where is this crazy wtf 1.8.2 ruby hidden?
>
> try the following:
>
> irb
> require 'rbconfig'
> include Config
> CONFIG["bindir"]
> CONFIG["libdir"]
> CONFIG["sitedir"]
>
> I may be wrong but I guess RubyGems use CONFIG to figure out binary
> and libraries path.
> --
> MK
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---