bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Remote host closed the connection]
__Yiota has joined #ruby
code_zombie has quit [Ping timeout: 246 seconds]
__Yiota has quit [Max SendQ exceeded]
Cohedrin_ has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
Cohedrin_ has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
kapil___ has joined #ruby
Cohedrin_ has joined #ruby
astrobunny has joined #ruby
alnewkirk has joined #ruby
cdg has joined #ruby
alnewkirk has quit [Ping timeout: 260 seconds]
__Yiota has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 255 seconds]
__Yiota has joined #ruby
kculpis has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pilne has quit [Quit: Quitting!]
alnewkirk has joined #ruby
kies has quit [Ping timeout: 240 seconds]
chihhsin has quit [Ping timeout: 252 seconds]
chihhsin has joined #ruby
gusrub has quit [Remote host closed the connection]
Zihan has joined #ruby
Zihan has quit [Client Quit]
alnewkirk has quit [Ping timeout: 255 seconds]
orbyt_ has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
imode has quit [Ping timeout: 255 seconds]
yeticry has quit [Ping timeout: 248 seconds]
mson has quit [Quit: Connection closed for inactivity]
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
yeticry has joined #ruby
enterprisey has quit [Quit: Leaving]
alnewkirk has joined #ruby
cadillac_ has joined #ruby
kent\n has quit [Ping timeout: 258 seconds]
alnewkirk has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kent\n has joined #ruby
ramfjord has joined #ruby
DarknessFalls has joined #ruby
<DarknessFalls>
Hello
ramfjord has quit [Ping timeout: 248 seconds]
mson has joined #ruby
gix has quit [Ping timeout: 248 seconds]
<DarknessFalls>
I am having a difficult time running sudo gem install rails on my mac. It is generating many errors in the build process.
<DarknessFalls>
for example, ‘ld: warning: ignoring file /usr/local/Cellar/xz/5.2.2/lib/liblzma.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/Cellar/xz/5.2.2/lib/liblzma.dylib’
gix has joined #ruby
chopin has joined #ruby
<DarknessFalls>
it crashed on:
<DarknessFalls>
Undefined symbols for architecture i386:
<acmeraptor>
I made it through the Ruby on Rails setup and down through most of the guide linked above, but at the command rails pwb:db:seed I am getting the following error: $ rails pwb:db:seed rails aborted! ActiveRecord::RecordInvalid: Validation failed: User must exist
cajone has left #ruby [#ruby]
<acmeraptor>
I have the config/database.yml updated with the user created for my postgresql db, but is there somewhere else to specify that information?
dviola has quit [Quit: WeeChat 1.9.1]
arquebus has joined #ruby
govg has quit [Ping timeout: 240 seconds]
<elomatreb>
The validation error tells you that there must be a user instance in the db. Did you forget some seeding step? (Also: #RubyOnRails might be better)
<acmeraptor>
I will make another attempt to get into that channel in a bit, it appears to be locked even though I went to their website.. meh.
ramfjord has joined #ruby
mim1k has joined #ruby
<acmeraptor>
I don't believe I missed any steps, the db creation and migration steps worked just fine.
<elomatreb>
You need to register with NickServ (/msg NickServ help)
<Ropeney>
acmeraptor, gist the whole stack trace
<acmeraptor>
Oh that's right. I did that before but it must have expired. Been a while since I used IRC
nekomune has quit [Ping timeout: 248 seconds]
<acmeraptor>
I have the trace, what do you mean by gist?
<ruby[bot]>
dminuoso_: # => /tmp/execpad-92752230e00d/source-92752230e00d:2: syntax error, unexpected ->, expecting ';' or '\n' ...check link for more (https://eval.in/879424)
VladGh has quit [Remote host closed the connection]
VladGh has joined #ruby
sepp2k has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
Tempesta has joined #ruby
rgr_ has quit [Remote host closed the connection]
guille-moe has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brendan- has joined #ruby
__Yiota has joined #ruby
marcux has joined #ruby
n35xdxb0 has joined #ruby
gloscombe has quit [Ping timeout: 260 seconds]
nicesignal has quit [Quit: WeeChat 1.4]
nicesignal has joined #ruby
jphase has joined #ruby
ShalokShalom_ has joined #ruby
ayonkhan has joined #ruby
ShalokShalom has quit [Ping timeout: 240 seconds]
rwb has quit [Ping timeout: 258 seconds]
tmm88 has joined #ruby
InfinityFye has joined #ruby
sniffer has quit [Quit: No Ping reply in 180 seconds.]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sniffer has joined #ruby
gloscombe has joined #ruby
paranoicsan has quit [Quit: paranoicsan]
FahmeF has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
ayonkhan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ayonkhan has joined #ruby
FahmeF has joined #ruby
n35xdxb0 has quit [Quit: WeeChat 1.4]
apparition has joined #ruby
milardovich has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Ping timeout: 240 seconds]
tlaxkit has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mostlybadfly has joined #ruby
erlend has quit [Ping timeout: 248 seconds]
erlend has joined #ruby
rfoust has joined #ruby
FahmeF has quit [Remote host closed the connection]
truenito has joined #ruby
rwb has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
megamos has joined #ruby
gloscombe has quit [Quit: WeeChat 1.9]
mson has joined #ruby
ShalokShalom_ is now known as ShalokShalom
alnewkirk has joined #ruby
adlerdias has joined #ruby
fmcgeough has joined #ruby
tmm88 has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
chouhoulis has joined #ruby
snickers has quit [Ping timeout: 255 seconds]
zautomata has joined #ruby
claudiuinberlin has joined #ruby
ramfjord has joined #ruby
cdg_ has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
<claudiuinberlin>
Hello. I'm using Rails, Rspec, FactoryGirls and Sequel. In our test we create objects using FactoryGirl.create and then in our code we are searching using Sequel. But FG and sequel are running in different transactions and we cannot use it. Does anyone ever use this combination, and how he fix it. I'm starting to remove hair from my head :|
vondruch has joined #ruby
nhhc has quit [Quit: Leaving]
John__ has joined #ruby
tmm88 has joined #ruby
DLSteve has joined #ruby
milardovich has joined #ruby
jordanm has joined #ruby
ayonkhan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Remote host closed the connection]
John__ has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
consti has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chopin has joined #ruby
ramfjord has joined #ruby
eliteqyuko has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
jrafanie has joined #ruby
bronson has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
eliteqyuko has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 246 seconds]
rgr has joined #ruby
milardovich has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
nowhere_man has joined #ruby
__Yiota has joined #ruby
milardovich has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
simmaniac has joined #ruby
<guardian>
hello, is there an itiomatic oneliner way to match a string against a regex with 1 capture group, the result would be the captured group on match otherwise nil
ShalokShalom_ has joined #ruby
sysvalve has quit [Ping timeout: 255 seconds]
ShalokShalom has quit [Ping timeout: 260 seconds]
conta has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Ping timeout: 255 seconds]
<elomatreb>
guardian: string[/regex/, 1] - 1 is the index of the first capture group
Rapture has joined #ruby
uZiel has joined #ruby
tmm88 has quit [Ping timeout: 255 seconds]
alex`` has quit [Quit: WeeChat 1.9.1]
Psybur has joined #ruby
marr has quit [Ping timeout: 246 seconds]
megamos has quit [Ping timeout: 240 seconds]
ayonkhan has joined #ruby
guille-moe has quit [Quit: guille-moe]
guille-moe has joined #ruby
qqmash has joined #ruby
tax has joined #ruby
ur5us has joined #ruby
guille-moe has quit [Remote host closed the connection]
<havenwood>
claudiuinberlin: You might want to try the #RubyOnRails channel as well.
chouhoul_ has joined #ruby
<havenwood>
dminuoso: nice, and handy!
ur5us has quit [Ping timeout: 240 seconds]
<havenwood>
>> class Integer def to_proc() -> (e) { e[self] }; end; end; [[1,2],[3,4],->(n) { n * 42 }].map(&1)
<MrBismuth>
How does Ruby handle Unicode strings? Are they encoded in a particular UTF variety, or does one have to use a library or arcane syntax to achieve Unicode?
govg has quit [Ping timeout: 240 seconds]
TomyWork has quit [Remote host closed the connection]
jinie has joined #ruby
Valkyrie_ has joined #ruby
Tempesta has quit [Ping timeout: 246 seconds]
guille-moe has joined #ruby
qqmash has quit [Quit: Leaving.]
<Burgestrand>
MrBismuth all strings in ruby have an encoding (Encoding::BINARY is a valid encoding that is "no encoding")
<Burgestrand>
MrBismuth just because a string has an encoding does not necessarily mean the contents of the string is valid within that encoding
<Burgestrand>
MrBismuth setting encoding without conversion is done through `force_encoding`, and converting string in encoding A to encoding B is done through `encoding(encoding)` and in doing that you specify a behavior on how to deal with incompatible characters
<Burgestrand>
I had a vague memory of seeing mention of a recent article bringing up string encodings, but I can't remember where I saw it, or if it was necessarily ruby…
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Valkyrie_ has left #ruby ["Closing Channel, bye."]
Tempesta has joined #ruby
Asher has quit [Ping timeout: 260 seconds]
ayonkhan has joined #ruby
ayonkhan has quit [Client Quit]
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
harfangk has quit [Ping timeout: 264 seconds]
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
yeticry has joined #ruby
jphase has quit [Remote host closed the connection]
cadillac_ has quit [Read error: Connection reset by peer]
anisha has quit [Quit: This computer has gone to sleep]
orbyt_ has joined #ruby
nogic has joined #ruby
cadillac_ has joined #ruby
chopin has quit [Remote host closed the connection]
bkxd has joined #ruby
cagomez has joined #ruby
alnewkirk has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 255 seconds]
jphase has joined #ruby
slothbear has joined #ruby
bronson has joined #ruby
chopin has joined #ruby
pecan has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 240 seconds]
yeticry has quit [Read error: Connection reset by peer]
imode has joined #ruby
govg has joined #ruby
yeticry has joined #ruby
Serpent7776 has quit [Quit: Leaving]
bkxd has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
marr has joined #ruby
milardovich has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
Beams has quit [Quit: .]
orbyt_ has joined #ruby
r3kz has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
mjolnird has quit [Ping timeout: 255 seconds]
elitekkmjz has joined #ruby
ShalokShalom_ has quit [Ping timeout: 248 seconds]
lxsameer has quit [Quit: WeeChat 1.7]
elitekkmjz has quit [Read error: Connection reset by peer]
mjolnird has joined #ruby
apparition has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
alnewkirk has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shinnya has joined #ruby
lagweezle_away is now known as lagweezle
<cschneid_>
Is there an up to date doc on all the c api and definitions in ruby? Reading https://github.com/tmm1/rblineprof/blob/master/ext/rblineprof.c - and wondering where to get details on some of the built in types, and functions and what some of the defines are
simmaniac has quit [Quit: Leaving]
ShalokShalom has joined #ruby
rgr has quit [Ping timeout: 258 seconds]
quobo has quit [Quit: Connection closed for inactivity]
tmm88 has joined #ruby
alfiemax has joined #ruby
rgr has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
Asher has joined #ruby
nowhere_man has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
Asher has quit [Client Quit]
Asher has joined #ruby
SeepingN has joined #ruby
Asher is now known as Guest77551
bigkevmcd has quit [Quit: Outta here...]
Guest77551 has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 248 seconds]
rgr has quit [Remote host closed the connection]
rgr has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moei has joined #ruby
FahmeF has joined #ruby
fizzycola has joined #ruby
FahmeF has quit [Ping timeout: 248 seconds]
uZiel has joined #ruby
gusrub has joined #ruby
slothbear has quit [Ping timeout: 260 seconds]
Cohedrin_ has joined #ruby
rgr has quit [Ping timeout: 255 seconds]
zautomata has quit [Read error: No route to host]
hahuang65 has quit [Quit: WeeChat 1.9.1]
milardovich has quit [Ping timeout: 246 seconds]
guille-moe has quit [Ping timeout: 248 seconds]
orbyt_ has joined #ruby
InfinityFye has quit [Quit: Leaving]
chouhoulis has joined #ruby
TheDracle has quit [Ping timeout: 255 seconds]
TheDracle has joined #ruby
zautomata has joined #ruby
eckhardt has joined #ruby
hahuang65 has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
selim has quit [Ping timeout: 258 seconds]
selim has joined #ruby
lacour has joined #ruby
consti has quit [Quit: consti]
jrafanie has joined #ruby
raynold has joined #ruby
claudiuinberlin has joined #ruby
imode has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has quit [Read error: Connection reset by peer]
troys is now known as troys_
quobo has joined #ruby
John__ has joined #ruby
cdg has joined #ruby
ldnunes has quit [Read error: Connection reset by peer]
cdg has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
chouhoul_ has joined #ruby
cdg_ has quit [Ping timeout: 248 seconds]
chouhou__ has joined #ruby
Bock has quit [Read error: Connection reset by peer]
belmoussaoui has joined #ruby
chouhoulis has quit [Ping timeout: 258 seconds]
belmoussaoui has quit [Read error: Connection reset by peer]
belmoussaoui has joined #ruby
chouhoul_ has quit [Ping timeout: 240 seconds]
tax has quit [Quit: Leaving]
belmoussaoui has quit [Read error: Connection reset by peer]
<_ppp>
hi guys, so how can i monitor a gpio port (a button press) which stores value 1 in a file when pressed and 0 when not pressed, continuously and fire some script if the button is pressed for more than5 sec say
workmad3 has quit [Ping timeout: 240 seconds]
<_ppp>
i have a file that stores a value : 0 or 1 , i want to continuosuly monitor it and take some action if it is 1
cdg has joined #ruby
naprimer has joined #ruby
vee__ has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 248 seconds]
nowhere_man has joined #ruby
pilne has joined #ruby
SuperTaz has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
vee__ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nahra has joined #ruby
bkxd has joined #ruby
orbyt_ has joined #ruby
cagomez has quit []
jenrzzz has quit [Ping timeout: 248 seconds]
bkxd has quit [Ping timeout: 255 seconds]
mjolnird has quit [Ping timeout: 255 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kristofferR has joined #ruby
chouhou__ has quit [Remote host closed the connection]
<RickHull>
I've confirmed the output is not being sent to STDOUT either. out and err are both empty
chopin_ has joined #ruby
orbyt_ has joined #ruby
Psybur has quit [Ping timeout: 248 seconds]
jenrzzz_ has quit [Ping timeout: 248 seconds]
chopin has quit [Ping timeout: 240 seconds]
edward_ has joined #ruby
yorickpeterse has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<RickHull>
looks like capture_io doesn't play nicely with Logger, or the Lager wrapper
minimalism has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
rwb has quit [Ping timeout: 258 seconds]
<RickHull>
updated the gist with a minimal example
cdg has quit [Remote host closed the connection]
yorickpeterse has quit [Quit: WeeChat 1.9.1]
cdg has joined #ruby
ResidentBiscuit has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
<RickHull>
confirmed, does not play nice with Logger
yorickpeterse has joined #ruby
yorickpeterse has quit [Client Quit]
<RickHull>
updated gist with super minimal example
<RickHull>
zenspider: any idears?
yorickpeterse has joined #ruby
<RickHull>
one possibility is that Logger uses a subprocess?
<RickHull>
looks like capture_subprocess_io works, not sure why
hahuang65 has joined #ruby
biberu has quit []
<RickHull>
updated gist showing capture_io failure with capture_subprocess_io success
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest97372 has joined #ruby
<RickHull>
looks like Logger uses monitor internally, which uses thread, which I guess is a subprocess?
yorickpeterse has quit [Quit: WeeChat 1.9.1]
goyox86 has joined #ruby
bronson has joined #ruby
ur5us has joined #ruby
goyox86 has quit [Client Quit]
goyox86 has joined #ruby
<darix>
it is a thread. not a subprocess
mtkd has quit [Read error: Connection reset by peer]
^mtkd has joined #ruby
<RickHull>
close enough, I suppose, for minitest method naming conventions
<RickHull>
a thread is subordinate to a process, in some sense :)
bronson has quit [Ping timeout: 240 seconds]
jobewan has joined #ruby
goyox86 has quit [Read error: No route to host]
goyox86 has joined #ruby
FelixFox has joined #ruby
FelixFox is now known as FF
druonysus has quit [Quit: Konversation terminated!]
drew_adams has quit [Quit: drew_adams]
goyox86 has quit [Ping timeout: 255 seconds]
tmm88 has quit [Ping timeout: 264 seconds]
jphase has joined #ruby
goyox86 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
<FF>
Hello. I have an unusual question. Does anyone know where to find the ruby interpreter for old Symbian smartphones?
troys is now known as troys_
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
PaulCapestany has joined #ruby
alnewkirk has quit [Ping timeout: 248 seconds]
<RickHull>
do you know the ruby version?
ldnunes has quit [Quit: Leaving]
<RickHull>
I imagine it was built from source is a less-than-perfectly-open manner -- what is the platform? unixlike?
<FF>
I'm interested in any version
jenrzzz has quit [Ping timeout: 240 seconds]
<RickHull>
"Good grief! The Symbian build process fills me with horror, I'd never use it if I didn't have to." http://wiki.c2.com/?SymbianOs
<RickHull>
what do you mean by find the interpreter? like where it lives on the filesystem?
goyox86 has quit [Ping timeout: 258 seconds]
goyox86 has joined #ruby
jphase has quit [Remote host closed the connection]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FF>
I meant a website
jphase has joined #ruby
<RickHull>
well symbian.com is defunct
<FF>
Maybe someone have a copy of .sys file.
<RickHull>
not sure what the status is with rubyforge (very old community infrastructure) but this was a thing, once: http://ruby-symbian.rubyforge.org/
shinnya has joined #ruby
<RickHull>
you're probably best finding the most active symbian community rather than looking for symbian enthusiasts in the ruby community
milardovich has quit [Remote host closed the connection]
goyox86 has quit [Ping timeout: 255 seconds]
jphase has quit [Ping timeout: 255 seconds]
someuser_ has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
<FF>
In fact, there are no such active communities. I think that the chances of finding ruby for symbian are negligible.
gusrub has quit [Remote host closed the connection]
<RickHull>
what is your goal?
mson has quit [Quit: Connection closed for inactivity]