Shoes no such file to load -- rubygems

I have installed shoes to develop GUI applications but when I try and
run my file.rb I get this error:

no such file to load -- rubygems

the command I used was: shoes myfile.rb
I am using ruby 1.9.3.
and my os is ubuntu 11.10.
also I'm using rvm.

···

--
Posted via http://www.ruby-forum.com/.

How did you install shoes?

I installed cURL but i now get this error when I run rake

gcc -I. -c -o shoes/world.o -Wall -I/usr/include -pthread
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -pthread
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/i386-linux-gnu/glib-2.0/include
-I/home/user/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/i686-linux
-I/home/user/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1
-I/home/user/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux
-O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/gtk-2.0
-I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/world.c
shoes/world.c: In function ‘shoes_ruby_embed’:
shoes/world.c:92:11: warning: unused variable ‘sysinit_argv’
[-Wunused-variable]
gcc -I. -c -o shoes/image.o -Wall -I/usr/include -pthread
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -pthread
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/i386-linux-gnu/glib-2.0/include
-I/home/user/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/i686-linux
-I/home/user/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1
-I/home/user/.rvm/rubies/ruby-1.9.3-p125/include/ruby-1.9.1/i686-linux
-O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/gtk-2.0
-I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/
-I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/image.c
shoes/image.c:31:21: fatal error: gif_lib.h: No such file or directory
compilation terminated.
rake aborted!
Command failed with status (1): [gcc -I. -c -o shoes/image.o -Wall
-I/usr/i...]

Tasks: TOP => default => build => linux:build => old_build => build_os
=> dist/shoes => dist/libshoes.so => shoes/image.o
(See full trace by running task with --trace)

···

--
Posted via http://www.ruby-forum.com/.

Steve Klabnik wrote in post #1054001:

How did you install shoes?

I've tried lots of ways
downloaded the file from the website, rvmsudo apt-get install shoes and
from the Ubuntu software center.
I also tried using a different versions of ruby 1.9.2 and 1.8.7

the way it's installed at the moment is rvmsudo apt-get install shoes.

···

--
Posted via http://www.ruby-forum.com/\.

I reinstalled shoes again and rvm 1.9.3 it now works. Thanks for your
help
Steve Klabnik.

···

--
Posted via http://www.ruby-forum.com/.

This error happens when you apt-get install shoes; it has an
incredibly old version, and we can't upgrade it. :confused:

Please make sure to _uninstall_ the apt version, because it will NOT work.

The _best_ way is to install from source. The linux packages on the
site will work _most_ of the time, but we're still working out some
kinks. Building from source always works.

Woo! Great. Glad you've got it going. Those dependencies are hard.

Steve Klabnik wrote in post #1054006:

This error happens when you apt-get install shoes; it has an
incredibly old version, and we can't upgrade it. :confused:

Please make sure to _uninstall_ the apt version, because it will NOT
work.

The _best_ way is to install from source. The linux packages on the
site will work _most_ of the time, but we're still working out some
kinks. Building from source always works.
Building Shoes on Linux · shoes/shoes-deprecated Wiki · GitHub

I have installed shoes and i have a shoes folder in my documents but how
do I now run shoes I'm a bit confused.

···

--
Posted via http://www.ruby-forum.com/\.

If you've built it successfully, shoes will be in the dist directory.
cd into your shoes directory, then run ./dist/shoes to open Shoes.

Steve Klabnik wrote in post #1054026:

If you've built it successfully, shoes will be in the dist directory.
cd into your shoes directory, then run ./dist/shoes to open Shoes.

I ran the command in the terminal but I get this:
Command: "user@user:~/shoes$ ./dist/shoes"

Problem: bash: ./dist/shoes: No such file or directory

···

--
Posted via http://www.ruby-forum.com/\.

Did you compile Shoes with 'rake' first?

Steve Klabnik wrote in post #1054057:

Did you compile Shoes with 'rake' first?

I tried but I get this
No such file or directory - curl-config --cflags

···

--
Posted via http://www.ruby-forum.com/\.

Wow. I've never seen this error. Do you have cURL installed?

···

On Fri, Mar 30, 2012 at 10:57 AM, Mr theperson <lists@ruby-forum.com> wrote:

Steve Klabnik wrote in post #1054057:

Did you compile Shoes with 'rake' first?

I tried but I get this
No such file or directory - curl-config --cflags

--
Posted via http://www.ruby-forum.com/\.