New to This, having problems installing

Hi all,

I am having problems getting wxruby to work on my Ubuntu installation.
I used sudo ruby gem install wxruby to get it, but when I do:
require ‘rubygems’
gem ‘wxruby’
require “wxruby”
include Wx

It throws an error saying there is no such file to be found. Any
thoughts on what I’m doing wrong?

Thanks,

Ron

Hi

Steckly, Ron wrote:

I am having problems getting wxruby to work on my Ubuntu installation. I used sudo ruby gem install wxruby to get it, but when I do:
require ‘rubygems’
gem ‘wxruby’
require “wxruby”

This should be: require “wx”. Doing:

require “rubygems”
require “wx”

should be sufficient - I don’t think the “gem” call is needed

hth
alex

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs