<detly>
I'm getting really confused by something I'm seeing in the debugger, but I'm somewhat new to ruby, so I'm hoping someone here can shed some light
detly has quit [Client Quit]
detly1 has joined #ruby-lang
<detly1>
um
<detly1>
sorry, my connection just dropped
_elia has quit [Quit: Computer has gone to sleep.]
kitak has quit [Remote host closed the connection]
mister_integer has joined #ruby-lang
kitak has joined #ruby-lang
rolfb has joined #ruby-lang
rolfb has quit [Client Quit]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
railzForDaiz has quit [Ping timeout: 240 seconds]
<Burgestrand>
detly: perhaps the string is not safe to represent using a regular yaml string, and so it encodes it as base64 just to make sure nothing is lost?
banister_ has joined #ruby-lang
banister has quit [Ping timeout: 265 seconds]
banister_ has quit [Max SendQ exceeded]
<Burgestrand>
unfortunately that'll miss out on the encoding though…
<Burgestrand>
perhaps the encoding of your post title is not known to ruby? what's the output of `p post[:title].encoding`?
banister has joined #ruby-lang
malditojavi has joined #ruby-lang
[spoiler] has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
railzForDaiz has joined #ruby-lang
mister_integer has quit [Ping timeout: 260 seconds]
<detly>
Burgestrand: #<Encoding:ASCII-8BIT>
<detly>
which is a little off
<detly>
*odd, I would expect UTF8
<detly>
oh, also, post[:title] is really just "Exam Stress"
<Burgestrand>
detly: it's probably because of the encoding then, where do you get post from?
<detly>
I did actually check that it wasn't literally "!binary etc"
<detly>
mysql
<detly>
so if you see line 39 of that first gist, that's where it comes from
<Burgestrand>
detly: from inside ruby I assume? it's probably that the encoding for your connection isn't set
<detly>
ahh
elia has joined #ruby-lang
<Burgestrand>
hmm
<detly>
no, wait, it looks like it is
<Burgestrand>
indeed
<Burgestrand>
detly: try utf-8 instead, just to be sure, perhaps it needs the dash?
<detly>
no, I get "Mysql::Error: Can't initialize character set utf-8"
<Burgestrand>
detly: after some googling: use Sequel.mysql2, not mysql
seanot has quit [Remote host closed the connection]
seanot has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
mistym has quit [Ping timeout: 276 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
fragamus has quit [Quit: Computer has gone to sleep.]
seanot has quit [Ping timeout: 240 seconds]
mistym_ has quit [Remote host closed the connection]
seanot has joined #ruby-lang
CodeBunny has quit [Ping timeout: 240 seconds]
RobertBirnie has joined #ruby-lang
mister_integer has joined #ruby-lang
wallerdev has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
mistym has joined #ruby-lang
mykoweb has quit [Ping timeout: 265 seconds]
mykoweb has joined #ruby-lang
railzFor_ has quit [Ping timeout: 252 seconds]
railzForDaiz has joined #ruby-lang
Gil_ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 260 seconds]
Gil_ has quit [Remote host closed the connection]
seanot has quit [Remote host closed the connection]
Asher has joined #ruby-lang
seanot has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
djbkd has joined #ruby-lang
mistym has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby-lang
seanot has quit [Ping timeout: 252 seconds]
AncientAmateur has quit [Remote host closed the connection]
banister has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
GBrawl has joined #ruby-lang
dwknoxy has joined #ruby-lang
mykoweb has quit [Ping timeout: 276 seconds]
barhum2013 has quit [Quit: barhum2013]
mikecmpbll has quit [Ping timeout: 240 seconds]
tomkadwill has quit []
root__ has joined #ruby-lang
Gil_ has joined #ruby-lang
elia has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
mistym has joined #ruby-lang
djbkd has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.3]
saarinen has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
barhum2013 has joined #ruby-lang
saarinen has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
<mistym>
Is it possible to customize the location that builtin gems get installed to in `make install`? (e.g. rake, rdoc, test-unit) Doesn't seem to respect GEM_HOME.
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has joined #ruby-lang
djbkd has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
amcoder has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
barhum2013 has quit [Quit: barhum2013]
iliketurtles has joined #ruby-lang
djbkd has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
chouhoul_ has quit [Remote host closed the connection]
dsaint-p_ has joined #ruby-lang
Fushi has quit [Quit: Connection closed for inactivity]
dsaint-pierre has quit [Ping timeout: 265 seconds]
kfpratt has quit [Remote host closed the connection]
goyox86 has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
pixelhandler has left #ruby-lang [#ruby-lang]
bin7me has joined #ruby-lang
sarkyniin has joined #ruby-lang
sarkyniin has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
Gil_ has quit [Remote host closed the connection]
sarkyniin has joined #ruby-lang
vpretzel has quit [Quit: Adios!]
matp has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
ta has quit [Ping timeout: 265 seconds]
chouhoulis has joined #ruby-lang
_ht has quit [Remote host closed the connection]
ta has joined #ruby-lang
<[spoiler]>
mistym, maybe those just get shoved into {ruby install dir}/gems dunno, never really needed to have my gems at an alternate location
yfeldblum has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<mistym>
[spoiler]: They do, yes - a subdirectory of rubylibdir. I want the core stuff to stay put and only redirect the gems in this case, so I can't just redefine rubylibdir
thrownaway has quit [Ping timeout: 240 seconds]
<[spoiler]>
mist, then I think you'll have to move them post-installation, unless someone chimes in with a better idea (someone usually does)
<mistym>
[spoiler]: Yep, that's what I was looking at. Was just hoping there was a better way!
lguardiola has quit [Ping timeout: 240 seconds]
barhum2013 has quit [Quit: barhum2013]
toastynerd has quit [Remote host closed the connection]
naterubin has joined #ruby-lang
gix has joined #ruby-lang
GBrawl has joined #ruby-lang
andrewhl has joined #ruby-lang
lguardiola has joined #ruby-lang
stamina has joined #ruby-lang
luiz_lha has quit [Remote host closed the connection]
shtirlic has quit [Ping timeout: 240 seconds]
luiz_lha has joined #ruby-lang
shtirlic has joined #ruby-lang
luiz_lha has quit [Max SendQ exceeded]
luiz_lha has joined #ruby-lang
sarkyniin has quit [Quit: Quitte]
kfpratt has joined #ruby-lang
Gil_ has joined #ruby-lang
<darix>
mistym: what you want do do seems wrong
<darix>
imho
jfarmer has joined #ruby-lang
<mistym>
darix: This is for Homebrew's ruby installation. It gets installed to a private directory that gets symlinked into the main prefix (e.g. /usr/local); gems typically get installed to the public directory so they survive ruby upgrades
<darix>
mistym: and why do you need to redirect the gem dir for that?
<mistym>
darix: Because the gem dir is the private, versioned one
<darix>
for the stdlib that is ok no?
<jhass>
but the builtin gems will be reinstalled on upgrade anyway
seanot has joined #ruby-lang
<mistym>
darix: For the stdlib, yes. But part of the stdlib is installed as gems, and those gems go into the location where Ruby expects to find all of its gems.
<darix>
so still no vendor_ruby like thing for gems
<darix>
this is sad
<darix>
mistym: this is 2.1.2?
<mistym>
darix: Yes
<darix>
i will have to tinker with that next week.
nofxx_ has joined #ruby-lang
Asher has quit [Quit: Leaving.]
mistym has quit [Remote host closed the connection]
mister_i_ has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
mister_integer has joined #ruby-lang
andrewhl has quit [Quit: andrewhl]
Bosox20051 has quit [Read error: Connection reset by peer]
syst3m-m3ltd0wn1 has quit [Quit: WeeChat 0.4.2]
sdouglas has quit [Remote host closed the connection]
relix has joined #ruby-lang
enkristoffer has quit [Quit: ❤]
dwknoxy is now known as dknox-lunch
Nilium has joined #ruby-lang
Nilium has left #ruby-lang ["<kristin> Cower is like... I dunno. sometimes he seems senile and other times he seems like a middle schooler."]
Burgestrand_ has joined #ruby-lang
djbkd has joined #ruby-lang
mistym has joined #ruby-lang
ascarter has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
djbkd has quit [Remote host closed the connection]
<postmodern>
where's that new pure-ruby xml repository?
<|jemc|>
he had a pure ruby prototype going but he wasn't getting the speeds he wanted
Miphix has quit [Ping timeout: 252 seconds]
<postmodern>
|jemc|, one does not simply re-invent libxml
<postmodern>
... into mordor
djbkd has quit [Remote host closed the connection]
* |jemc|
shrugs
djbkd has joined #ruby-lang
<|jemc|>
I suppose one reinvents whatever one wants if the existing inventions aren't serving one's needs
momomomomo has quit [Read error: Connection reset by peer]
<jhass>
or one does need the realization that the decisions they made had a reason
momomomomo has joined #ruby-lang
Coincidental has joined #ruby-lang
dsaint-pierre has joined #ruby-lang
<|jemc|>
I can't speak for yorickpeterse, but I do know that he found nokogiri to have some insidious problems with pointer management that made assumptions about implementation details of MRI - causing problems in rubinius
miqui has quit [Remote host closed the connection]
dsaint-p_ has quit [Ping timeout: 245 seconds]
_JokerDoom has joined #ruby-lang
seanot has quit [Remote host closed the connection]
seanot has joined #ruby-lang
Silex has joined #ruby-lang
ecnalyr has joined #ruby-lang
mistym has joined #ruby-lang
JokerDoom has quit [Ping timeout: 265 seconds]
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
seanot has quit [Ping timeout: 245 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdouglas has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
symm- has quit [Read error: Connection reset by peer]
AncientAmateur has quit [Remote host closed the connection]
AncientAmateur has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
bin7me has quit [Ping timeout: 260 seconds]
symm- has joined #ruby-lang
Atttwww has joined #ruby-lang
jaimef has quit [Excess Flood]
sdouglas has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jhass is now known as jhass|off
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
Johz has quit [Ping timeout: 240 seconds]
Burgestrand_ has quit [Quit: Burgestrand_]
Coincidental has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
Gil_ has joined #ruby-lang
sarkyniin has quit [Quit: Quitte]
jtiggo has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
jaimef has joined #ruby-lang
sdouglas has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seanot has joined #ruby-lang
Gil_ has quit [Ping timeout: 240 seconds]
seanot has quit [Read error: Connection reset by peer]
seanot has joined #ruby-lang
kitak has quit [Ping timeout: 264 seconds]
bin7me has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kitak has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
kfpratt has quit [Ping timeout: 260 seconds]
kfpratt has joined #ruby-lang
sdouglas has joined #ruby-lang
lewix has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby-lang
kyb3r_ has joined #ruby-lang
saarinen has quit [Quit: saarinen]
symm- has quit [Read error: Connection reset by peer]
nitr has joined #ruby-lang
dknox is now known as dknox_afk
symm- has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
__butch__ has quit [Quit: Leaving.]
root__ has quit [Quit: WeeChat 0.4.2]
charliesome has joined #ruby-lang
elia has joined #ruby-lang
symm- has joined #ruby-lang
alexju has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
nitr has quit []
arBmind has quit [Quit: Leaving.]
djbkd has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
jfarmer has quit [Ping timeout: 245 seconds]
nathanstitt has quit [Quit: I growing sleepy]
djbkd has joined #ruby-lang
Olipro has quit [*.net *.split]
ledestin has quit [Quit: ledestin]
arBmind has quit [Quit: Leaving.]
sdouglas has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 240 seconds]
miqui has joined #ruby-lang
Coincidental has joined #ruby-lang
chouhoulis has quit []
sdouglas_ has joined #ruby-lang
zenspider has joined #ruby-lang
<zenspider>
what'd I miss?
Olipro has joined #ruby-lang
havenwood has joined #ruby-lang
<xybre>
Matz announced no GIL in Ruby 3.0 and its coming out next week.
Gil_ has joined #ruby-lang
<ericwood>
!!!!!!
<xybre>
No, I'm joking, that was for zenspider.
<ericwood>
I know
<ericwood>
we will have the GIL forever
<ericwood>
FOREVER
<xybre>
Thats okay so will Python.
<ericwood>
there's always JRuby
<xybre>
Yeah, if you want to run Java.
<ericwood>
eh as long as I'm not coding in it I'm happy
<xybre>
I just get annoyed deploying and/or running java.
<ericwood>
you just need the JRE installed, jruby does the rest
* ericwood
shrugs
<ericwood>
I don't do dev ops though
Gil_ has quit [Ping timeout: 260 seconds]
<ericwood>
oh look the GIL is gone
<zenspider>
hah
<zenspider>
ruby2ruby version 2.1.1 has been released!
lele|w has quit [Ping timeout: 265 seconds]
saarinen has joined #ruby-lang
djbkd has joined #ruby-lang
_djbkd has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
lele|w has joined #ruby-lang
barhum2013 has quit [Quit: barhum2013]
kfpratt has quit [Remote host closed the connection]
centrx has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdouglas_ has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
hahuang65 has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby-lang
seanot has quit [Remote host closed the connection]
seanot has joined #ruby-lang
crudson has joined #ruby-lang
charliesome has joined #ruby-lang
saarinen has quit [Quit: saarinen]
seanot has quit [Ping timeout: 245 seconds]
nathanstitt has joined #ruby-lang
onewheelskyward has joined #ruby-lang
<hahuang65>
having trouble install 1.9.3-p448 with rbenv, gives me an error regarding enumerator.so
<hahuang65>
anyone else seen that?
barhum2013 has joined #ruby-lang
<lianj>
hahuang65: get a newer patchlevel at first
<hahuang65>
lianj: no choice. company project. reason I'm reinstalling is that I just switched from rvm to rbenv.
toastynerd has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: ciao.]
<lianj>
hahuang65: patchlevel, not version
<hahuang65>
lianj: i understand. Still doesn't help me now cuz I need to install it to do work. There's a whole process around changing Rubys for the product.
<hahuang65>
anyways, I'm trying to install a newer version of gcc from homebrew. We'll see what happens. I tried clang which seemed to work for others, but it didn't for me.
<havenwood>
1.9.3-p547 ftw
<hahuang65>
it did work for 2.1.2 though, clang I mean.
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
CodeBunny has joined #ruby-lang
Gil_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
nathanstitt has joined #ruby-lang
Cakey has joined #ruby-lang
|jemc| has quit [Ping timeout: 265 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Gil_ has quit [Ping timeout: 252 seconds]
nofxx_ has quit [Remote host closed the connection]
sdouglas_ has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
nisstyre has quit [Quit: WeeChat 0.4.3]
nisstyre has joined #ruby-lang
sdouglas_ has quit [Remote host closed the connection]
mykoweb has quit []
sdouglas has joined #ruby-lang
sdouglas has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby-lang
elia has joined #ruby-lang
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mykoweb has joined #ruby-lang
mykoweb has quit [Client Quit]
duderonomy has joined #ruby-lang
|jemc| has joined #ruby-lang
dsaint-pierre has quit [Remote host closed the connection]