This repository has been archived by the owner. It is now read-only.

You have to purge $SHOES/dist/* manually when trying a new build #152

jrgifford opened this Issue Oct 21, 2011 · 6 comments


None yet
4 participants

jrgifford commented Oct 21, 2011

When you try to build shoes on Ubuntu, you have to purge $SHOES/dist/*, otherwise it won't compile correctly.

Shouldn't this be part of the build script?


steveklabnik commented Oct 21, 2011

Hrm. rake clean should take care of this kind of thing.

What happens if you don't kill it?


wasnotrice commented Oct 22, 2011

I don't think rake clean is part of the build, though. It's for sure not on OS X, although that directory is purged in the OS X build. We should make task *:build => :clean where * is the OS namespace


steveklabnik commented Oct 22, 2011

Sure, it's not part of the build, but that's because it's not required.

If it really is, I'm not opposed to adding it.


jrgifford commented Oct 24, 2011

RE: what happens if it isn't purged on Ubuntu 11.04/11.10.

It generally exits with something like this:

checking for sqlite3_load_extension()... yes
creating Makefile
gcc -shared -o database.o sqlite3.o exception.o statement.o -L. -L/home/jrg/.rvm/rubies/ruby-1.9.2->p290/lib -Wl,-R/home/jrg/.rvm/rubies/ruby-1.9.2-p290/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/opt/local/lib -Wl,->R/opt/local/lib -L/usr/lib -Wl,-R/usr/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/jrg/.rvm/rubies/ruby-1.9.2->p290/lib -L/home/jrg/.rvm/rubies/ruby-1.9.2-p290/lib -lruby -lsqlite3 -lpthread -lrt -ldl -lcrypt -lm -lc
rake aborted!
File exists - (, dist/

Tasks: TOP => default => build => linux:build => old_build
(See full trace by running task with --trace)

The exact File exists error will change, if you purge the, dist/ files and run rake again, it'll do something else (normally File exists - (, dist/


ccoupe commented Oct 24, 2011

rake clean is an important task step for developers. Try compiling with 1.9.1. Now try compiling with 1.9.2 w/o the rake clean.


wasnotrice commented Mar 26, 2012

Closing this issue. Use rake clean when you want to delete dist. If you want to clean and build all at once, just do rake clean && rake

@wasnotrice wasnotrice closed this Mar 26, 2012

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.