1. load irb 2. execute the following: require 'rconfig' p Config::CONFIG["target_os"]
Thanks
If you're curious, I'm porting xrefresh-server to linux (it's on OSX right now) -- it is for a "windows-only" firefox plugin which will update a tab containing a website/url when a file which is a dependency for that url is changed/added/updated.
> 1. load irb > 2. execute the following: > require 'rconfig' > p Config::CONFIG["target_os"]
mdarby@macbook:~: irb > > require 'rconfig' LoadError: no such file to load -- rconfig from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require' from (irb):1 from :0 >> exit mdarby@macbook:~: ./script/console Loading development environment (Rails 2.1.0) >> require 'rconfig' MissingSourceFile: no such file to load -- rconfig from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require' from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/ active_support/dependencies.rb:509:in `require' from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/ active_support/dependencies.rb:354:in `new_constants_in' from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/ active_support/dependencies.rb:509:in `require' from (irb):1 >> exit mdarby@macbook:~: gem install rconfig ERROR: could not find gem rconfig locally or in a repository
> 1. load irb > 2. execute the following: > require 'rconfig' > p Config::CONFIG["target_os"]
> Thanks
> If you're curious, I'm porting xrefresh-server to linux (it's on OSX > right now) -- it is for a "windows-only" firefox plugin which will > update a tab containing a website/url when a file which is a > dependency > for that url is changed/added/updated.
On Thu, Jul 24, 2008 at 2:06 PM, Matt Williams <otter...@gmail.com> wrote:
> Could someone on OSX do the following for me?
> 1. load irb > 2. execute the following: > require 'rconfig' > p Config::CONFIG["target_os"]
> Thanks
> If you're curious, I'm porting xrefresh-server to linux (it's on OSX > right now) -- it is for a "windows-only" firefox plugin which will > update a tab containing a website/url when a file which is a dependency > for that url is changed/added/updated.
> I think you meant 'rbconfig' instead of 'rconfig': > /Users/ryanbriones ~ irb > >> require 'rbconfig' > => false > >> Config::CONFIG['target_os'] > => "darwin9.0"
> On Thu, Jul 24, 2008 at 2:06 PM, Matt Williams <otter...@gmail.com> wrote:
>> Could someone on OSX do the following for me?
>> 1. load irb >> 2. execute the following: >> require 'rconfig' >> p Config::CONFIG["target_os"]
>> Thanks
>> If you're curious, I'm porting xrefresh-server to linux (it's on OSX >> right now) -- it is for a "windows-only" firefox plugin which will >> update a tab containing a website/url when a file which is a dependency >> for that url is changed/added/updated.
> On Thu, Jul 24, 2008 at 2:06 PM, Matt Williams <otter...@gmail.com> > wrote:
> Could someone on OSX do the following for me?
> 1. load irb > 2. execute the following: > require 'rconfig' > p Config::CONFIG["target_os"]
> Thanks
> If you're curious, I'm porting xrefresh-server to linux (it's > on OSX > right now) -- it is for a "windows-only" firefox plugin which > will > update a tab containing a website/url when a file which is a > dependency > for that url is changed/added/updated.
On Thu, 2008-07-24 at 14:10 -0400, Matt Darby wrote: > On Jul 24, 2008, at 2:06 PM, Matt Williams wrote:
> > Could someone on OSX do the following for me?
> > 1. load irb > > 2. execute the following: > > require 'rconfig' > > p Config::CONFIG["target_os"]
> mdarby@macbook:~: > irb
> > require 'rconfig' > LoadError: no such file to load -- rconfig > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `require' > from (irb):1 > from :0 > >> exit > mdarby@macbook:~: ./script/console > Loading development environment (Rails 2.1.0) > >> require 'rconfig' > MissingSourceFile: no such file to load -- rconfig > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `require' > from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/ > active_support/dependencies.rb:509:in `require' > from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/ > active_support/dependencies.rb:354:in `new_constants_in' > from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/ > active_support/dependencies.rb:509:in `require' > from (irb):1 > >> exit > mdarby@macbook:~: gem install rconfig > ERROR: could not find gem rconfig locally or in a repository
On Thu, 2008-07-24 at 14:11 -0400, Joe OBrien wrote: > [objo-laptop | scripsafe ] $ irb > >> require 'rconfig' > LoadError: no such file to load -- rconfig
> On Jul 24, 2008, at 2:06 PM, Matt Williams wrote:
> > Could someone on OSX do the following for me?
> > 1. load irb > > 2. execute the following: > > require 'rconfig' > > p Config::CONFIG["target_os"]
> > Thanks
> > If you're curious, I'm porting xrefresh-server to linux (it's on OSX > > right now) -- it is for a "windows-only" firefox plugin which will > > update a tab containing a website/url when a file which is a > > dependency > > for that url is changed/added/updated.
> 1. load irb > 2. execute the following: > require 'rconfig' > p Config::CONFIG["target_os"]
> Thanks
> If you're curious, I'm porting xrefresh-server to linux (it's on OSX > right now) -- it is for a "windows-only" firefox plugin which will > update a tab containing a website/url when a file which is a > dependency > for that url is changed/added/updated.
> Thanks again, > Matt
That might not give you all the info you need. For example, the ruby on Leopard is a universal binary (compare CFLAGS, LDFLAGS, and target_cpu to the fact that my machine is an Intel Mac).
> On Jul 24, 2008, at 2:06 PM, Matt Williams wrote: > > Could someone on OSX do the following for me?
> > 1. load irb > > 2. execute the following: > > require 'rconfig' > > p Config::CONFIG["target_os"]
> > Thanks
> > If you're curious, I'm porting xrefresh-server to linux (it's on OSX > > right now) -- it is for a "windows-only" firefox plugin which will > > update a tab containing a website/url when a file which is a > > dependency > > for that url is changed/added/updated.
> > Thanks again, > > Matt
> That might not give you all the info you need. For example, the ruby > on Leopard is a universal binary (compare CFLAGS, LDFLAGS, and > target_cpu to the fact that my machine is an Intel Mac).