In my app, i want my users to upload an avatar so after some
searching i ended up on Mike C.'s blog (http://clarkware.com/cgi/
blosxom/2007/02/24) I followed the instructions in his tutorial, using
ImageScience as the imageprocessor (sudo gem install image_sciecne),
created the modesl, migrations etc but get this error when i go to the
new-action in his controller:
CompilationError in MugshotController#new
error executing cc -shared -fPIC -fno-strict-aliasing -g -O2 -fPIC -
I /usr/lib/ruby/1.8/i486-linux -I /usr/include -o “/home/
peter/.ruby_inline/Inline_ImageScience_aa58.so” “/home/
peter/.ruby_inline/Inline_ImageScience_aa58.c” -lfreeimage -lstdc++:
256
Renamed /home/peter/.ruby_inline/Inline_ImageScience_aa58.c to /home/
peter/.ruby_inline/Inline_ImageScience_aa58.c.bad
I have no idea what it says or what i should do about it…