Forum: Ruby-Gnome 2 vr run error

D49ad9468962864516893ef22421c19c?d=identicon&s=25 Scott H. (scott_h32)
on 2013-05-13 17:49
I am currently trying to get vr up and running on Ubuntu 12.04.2
Virtualbox
I am running ruby 2.0.0
I have re-installed 'builder' gem thinking that that may be the problem.

Successfully installed builder-3.2.0

but when i try to run vr I still get the same error. Im pretty lost at
this point any help would be appreciated!

(not sure if this matters but Im running Ubuntu on top of Virtualbox on
a 2011 mbp i5 2.3)

scott@sanjuro:~$ vr
/home/scott/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require': cannot load such file -- rubygems/builder (LoadError)
  from
/home/scott/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require'
  from
/home/scott/.rvm/gems/ruby-2.0.0-p0/gems/visualruby-0.1.2/vr:15:in `<top
(required)>'
  from /home/scott/.rvm/gems/ruby-2.0.0-p0/bin/vr:19:in `load'
  from /home/scott/.rvm/gems/ruby-2.0.0-p0/bin/vr:19:in `<main>'
  from /home/scott/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in
`eval'
  from /home/scott/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in
`<main>'
F169642fd0342775eabccc8bf4f9cdc4?d=identicon&s=25 hoang le (cloudsnsky)
on 2013-11-21 09:58
Scott H. wrote in post #1108807:
> I am currently trying to get vr up and running on Ubuntu 12.04.2
> Virtualbox
> I am running ruby 2.0.0
> I have re-installed 'builder' gem thinking that that may be the problem.
>
> Successfully installed builder-3.2.0
>
> but when i try to run vr I still get the same error. Im pretty lost at
> this point any help would be appreciated!
>
> (not sure if this matters but Im running Ubuntu on top of Virtualbox on
> a 2011 mbp i5 2.3)
>
> scott@sanjuro:~$ vr
>
/home/scott/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
> `require': cannot load such file -- rubygems/builder (LoadError)
>   from
>
/home/scott/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
> `require'
>   from
> /home/scott/.rvm/gems/ruby-2.0.0-p0/gems/visualruby-0.1.2/vr:15:in `<top
> (required)>'
>   from /home/scott/.rvm/gems/ruby-2.0.0-p0/bin/vr:19:in `load'
>   from /home/scott/.rvm/gems/ruby-2.0.0-p0/bin/vr:19:in `<main>'
>   from /home/scott/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in
> `eval'
>   from /home/scott/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in
> `<main>'

Hi Scott,

You can edit the "vr" file in
/home/scott/.rvm/gems/ruby-2.0.0-p0/gems/visualruby-0.1.2/vr to fix this
issue.
I edited the "vr" file to require "builder" instead of require
"rubygems/builder"
D9ba13de4e62fcabffa4403731434e42?d=identicon&s=25 Eric C. (eric_c65)
on 2013-12-07 00:31
Hi Clouds:

Should I make this change in all the versions of visualruby?

I don't understand the implications of your change.

I have these four lines in the vr file:

require "rubygems/installer"
require "rubygems/uninstaller"
require "rubygems/builder"
require "rubygems/specification"

Should I change them?

Thanks,
Eric
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.