Anyone Willing to install Visualruby on a MAC?


#1

Hi:

I’m looking for someone who owns a MAC and is willing to help me with
visualruby. I’d like to make sure that my install instructions are
correct.

If you own a MAC and install visualruby, please let me know if my
install instructions are still good. If not, please post a list of
correct install instructions. It should be these steps:

  1. install glade
  2. perhaps install gtksourceview3 ?
  3. gem install visualruby

I’d like to update my webpage so noobies can understand.

Just post here.

Also, I’d like to get a screenshot on the MAC. I’m sure there’s a
“print screen” button. Then post the image.

Thanks,
Eric


#2

Hi Eric

I did install it on MAC and it doesn’t seem to work.

I get the following error when I attempt to start the program with the
command ‘vr’:
Typelib file for namespace ‘GtkSource’ (any version) not found
(GLib::Error)

Any ideas?


#3

I had VR successfully running on my 10.11.6 Mac for the last two weeks
successfully, though with some occasional Glade crashes when clicking on
certain UI elements. I don’t have the exact method I used to get it
running, as I had to brew install just about everything i could think
of. Specifically, I know I installed gtk+, gtk+3, gtksourceview,
gtksourceview3

However, it stopped working at the end of last week. Now I get an
assertion failed crash every time Glade tries to load with the following
error:

Gtk:ERROR:gtkiconhelper.c:493:ensure_surface_for_gicon: assertion
failed: (destination)
Abort trap: 6

I’ve uninstalled every gem and package down to nothing and reinstalled
to no avail.

Any ideas?


#4

I got this running again today. Somehow. I can’t tell you the exact
process as i’ve uninstalled and reinstalled things so many times, but
below are what is installed (ruby. brew. and gem) that has it working:

OSX 10.11.6

rvm list

rvm rubies

ruby-2.3.0 [ missing bin/ruby ]
=* ruby-2.3.1 [ x86_64 ]
ruby-head [ x86_64 ]

=> - current

=* - current && default

* - default

brew list

atk gnome-icon-theme libepoxy pcre
autoconf gobject-introspection libffi pixman
automake gsettings-desktop-schemas libgpg-error pkg-config
cairo gtk+ libksba py2cairo
fontconfig gtk+3 libpng pygobject
freetype gtk-mac-integration libtiff pygtk
gdbm gtksourceview3 libtool python
gdk-pixbuf harfbuzz libxml2 readline
gettext hicolor-icon-theme libyaml shared-mime-info
glade icu4c openssl sqlite
glib jpeg pango

gem list

*** LOCAL GEMS ***

atk (3.0.9)
bigdecimal (1.2.8)
bundler-unload (1.0.2)
cairo (1.15.2)
cairo-gobject (3.0.9)
did_you_mean (1.0.0)
executable-hooks (1.3.2)
gdk3 (3.0.9)
gdk_pixbuf2 (3.0.9)
gdkpixbuf (0.20.1)
gem-wrappers (1.2.7)
gio2 (3.0.9)
glib2 (3.0.9)
gobject-introspection (3.0.9)
gtk3 (3.0.9)
gtksourceview3 (3.0.9)
io-console (0.4.5)
json (1.8.3)
minitest (5.8.3)
net-scp (1.2.1)
net-ssh (3.2.0)
net-telnet (0.1.1)
pango (3.0.9)
pkg-config (1.1.7)
power_assert (0.2.6)
psych (2.0.17)
rake (10.4.2)
rdoc (4.2.1)
require_all (1.3.3)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
test-unit (3.1.5)
visualruby (3.0.22)