Category Archives: Ruby on Rails

Ruby on Rails

Erro ao utilizar o mysql no ruby: LIBMYSQL.dll is missing

Um erro muito comum que costuma acontecer no ruby/rails, em ambiente windows é: “LIBMYSQL.dll is missing from your computer”

LIMYSQL.dll is missing

E a mensagem também pode aparecer no console da seguinte forma:

ruby.exe - Unable to locate Component
This application has failed to start because LIBMYSQL.DLL was not
found. Re-installing the application might
fix this problem.

Esse erro ocorre porque a dll do mysql, LIBMYSQL.dll, não foi localizada. Para resolver esse problema, faça o seguinte:

1 – Instale a gem do mysql

gem install mysql

2 – Copie o arquivo LIBMYSQL.dll do diretório bin do mysql(ex.: c:\mysql\bin) para o diretório bin do ruby (ex.: c:\ruby\bin)

Batalha de RAP de geeks

Veja como os geeks fazem uma batalha de RAP:

djahandarie: we ain’t here to do e-c-e
djahandarie: we’re here to do c-s-e on the w-e-b
djahandarie: listen to me spit these rhymes
djahandarie: while i program lines
djahandarie: and commit web accessibility crimes
djahandarie: word, son
http402: You talk like your big on these I-Net kicks,
http402: But your shit flows slower than a two-eighty-six.
http402: I’m tracking down hosts and nmap scans,
http402: While Code Igniter’s got you wringing your hands.
http402: Cut the crap rap,
http402: Or I’ll run ettercap,
http402: Grab your AIM chat,
http402: N’ send a PC bitch-slap!
http402: peace
djahandarie: you’re talkin bout down hosts and nmap scans
djahandarie: while i got other plans
djahandarie: you’re at your new job, but you can’t even do it right
djahandarie: you just create a plight with your http rewrites
djahandarie: i’ve been on the web since the age of three
djahandarie: you just got on directly off the bus from mississippi
djahandarie: respect yo’ elders, bitch
http402: You’ve been webbin’ since three, but still ain’t grown up,
http402: Gotta update your config and send the brain a SIGHUP.
http402: You say you’re that old? No wonder you’re slow!
http402: You’re knocking at the door while I run this show!
http402: Elders my ass, you’re shit’s still in school,
http402: Hunt and pecking at the keyboard like a spaghetti-damned fool,
http402: Rim-riffing your hard drive like a tool,
http402: Face it. I rule.
djahandarie: i erase my harddrives with magnets (bitch)
djahandarie: all you can do is troll on the fagnets
djahandarie: and son, my brain’s wrapped in a nohup
djahandarie: it wont be hurt by the words you throwup
djahandarie: dont mind me while i emerge my ownage
djahandarie: while you’re still over there apt-getting your porridge
djahandarie: you say i’m still in school
djahandarie: but the fact is that i know the rule
djahandarie: cuz you need to go back to grade three
djahandarie: and you better plea, that they take sucky graduates from c-s-e
http402: Time to bend over and apply a patch,
http402: Your brain’s throwing static like a CD with a scratch.
http402: Your connection got nuked and you’ve met your match.
http402: You run a single process like a VAX with a batch.
http402: I’d pass the torch to a real winner
http402: But it’d just scorch a while-loop spinner
http402: Caught in a loop that you cant escape,
http402: I run clock cycles around your words and flows,
http402: Cuz your rhyme is like a PS fan: it’ blows,
http402: Your water-cooled lyrics leak and it shows,
http402: Take your ass back to alt.paid.for.windows.
djahandarie: Good god, I can’t even respond to that. :P
djahandarie: You win haha

Fonte: http://www.bash.org/?870063