InstantRails and new gems

Folks,

I’m not sure this is the best place to ask the following question, but
someone might still know the answer.

I currently can’t install anything on this computer (hence no ruby
interpreter), I thought about getting InstantRails with which you can
open a console with ruby running.
I also wanted to add a new gem (wxruby2), I could install the gem
correctly but when I run my code, it’ll tell me: no such file to load –
wxruby2 (LoadError)

Anyone has an idea how I can install (and use) new gems with
InstantRails?

Cheers

perhaps you need

require ‘wxruby2’

in your code? or maybe

require ‘rubygems’
require ‘wxruby2’

On Mar 23, 1:08 am, Pierre P. [email protected]

Jeff Emminger wrote:

perhaps you need

require ‘wxruby2’

in your code? or maybe

require ‘rubygems’
require ‘wxruby2’

On Mar 23, 1:08?am, Pierre P. [email protected]

I have the “require” in my code.
I somehow imagine that it’s the console which doesn’t look it the
correct path, but I don’t really know how to fix that one :s

[email protected] wrote:

Try gem install wxruby.


Best regards,
David K.
http://twitter.com/rubyguy

I reinstalled the gem, but it still can’t find it :s

On 24 Mar., 02:51, Pierre P. [email protected]
wrote:

On Mar 23, 1:08?am, Pierre P. [email protected]

I have the “require” in my code.
I somehow imagine that it’s the console which doesn’t look it the
correct path, but I don’t really know how to fix that one :s

Try gem install wxruby.


Best regards,
David K.
http://twitter.com/rubyguy

On 24 Mar., 08:08, Pierre P. [email protected]
wrote:

[email protected] wrote:

Try gem install wxruby.


Best regards,
David K.
http://twitter.com/rubyguy

I reinstalled the gem, but it still can’t find it :s

Are you having multiple versions of Rubygems installed, or something?


Best regards,
David K.
http://twitter.com/rubyguy

[email protected] wrote:

Are you having multiple versions of Rubygems installed, or something?


Best regards,
David K.
http://twitter.com/rubyguy

No, I’m running everything within the InstantRails’s ruby console…
Though the gem is installed correctly, I can’t use it.
Maybe when its launching that ruby console it’s somehow not taking care
of the gems, but I wouldn’t see why…

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