From: Eric Hodel Date: 2007-08-23T03:49:36+09:00 Subject: Re: wxruby and rubygems seems not to work? On Aug 22, 2007, at 09:20, kazaam wrote: > Like here: http://wxruby.rubyforge.org/wiki/wiki.pl?Installation > suggested I installed wxruby2 on my linux machine with: > sudo gem install wxruby2-preview > Then I tried this sample: http://wxruby.rubyforge.org/wiki/wiki.pl? > Getting_Started , I modified it to run for me: > > #!/usr/bin/env ruby > > $Verbose=true > > require 'rubygems' > gem 'wxruby2-preview' > > > class MinimalApp < App gem doesn't require any files, you need to call require for that. The only time you need to call gem is when you want a specific version of a gem. No matter what, you must call require. -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars