<bnagy>
it is the least unix-like (cd hooks, script magic)
<bnagy>
those are indisputable
<bougyman>
I still don't consider it 'extremely bloated'
nando293921 has quit [Quit: Lost terminal]
<bougyman>
it does more than the others.
<bougyman>
(out of the box)
<bnagy>
the rest of what you said is personal experience. In mine, there are 4-5x as many people on here with hair pulling problems with RVM compared to the other two
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fedexo has joined #ruby
<bnagy>
and again IME usually those problems can't be fixed in here, we have to send people to the RVM channel
<bnagy>
because it requires specialist knowledge
nando293921 has joined #ruby
<bnagy>
so, in summary, I think everything you said there is either wrong or baseless
<bougyman>
I haven't seen a lot of rvm-related questions in here.
<bougyman>
I see them in #rvm
<hays>
how does one implement ruby in ruby, and then somehow it has performance improvements from the reference implementation?
<hays>
what does it run on?
<bnagy>
llvm
maletor has quit [Quit: Computer has gone to sleep.]
ohaibbq has quit [Read error: Connection reset by peer]
Jonah11_ has joined #ruby
ohaibbq has joined #ruby
<hays>
bnagy: how?
<bnagy>
so all rubies actually target a VM. The "standard" ruby targets a VM written in C called YARV
<manolo_>
use Docker and you never use a ruby version manager again
<bnagy>
so your ruby gets turned into VM code not raw machine code
<bnagy>
JVM is ruby targeting the Java VM
<bnagy>
rubinius targets a VM called LLVM which is used for a ton of projects these days, it's a very good VM
<bnagy>
which means they can implement a lot of stdlib in ruby because their VM translation yields good code
<bnagy>
although I am slightly mixing the 'in theory' with the 'IRL' here
<bnagy>
YARV translation is not very good, which is why most of core is actually written in C
kalopsian has joined #ruby
Trynemjoel has quit [Ping timeout: 244 seconds]
<hays>
bnagy: hmm.. so the part i don't get is why its considered to be written in ruby and not whatever language it is written for in llvm
<hays>
or did they bootstrap it somehow
<bnagy>
well the methods are written in ruby
<bnagy>
so they wrote the 'turn ruby in LLVM' part
<bnagy>
LLVM takes care of emitting code that the CPU can run
<bnagy>
so yeah, 'bootstrapping it' is an OK analogy
Dreamer3 has joined #ruby
<hays>
so the turn Ruby into LLVM part is written in what? C?
<bnagy>
presumably
maletor has joined #ruby
<chrisseaton>
C++
<bnagy>
shuttup chrisseaton what would you know
<bnagy>
:D
mattwildig has joined #ruby
rubynuby has joined #ruby
<chrisseaton>
Wtf?
Trynemjoel has joined #ruby
<rubynuby>
hey does anyone know how to grep odd integers in an array?
<bnagy>
is joke
<rubynuby>
for example: [1,2,3,4,5].grep(/[135]/) #=> []
<rubynuby>
i know it works for ['1','2','3','4','5']
<bnagy>
rubynuby: you probably want select
<bnagy>
numbers are not strings
<rubynuby>
well its for this ruby problem on a website
<rubynuby>
i have to figure out the code that fits in the blank
LoneHerm_ has quit [Read error: Connection reset by peer]
<rubynuby>
if you use grep(Integers.select {|i| i.odd? } )
<rubynuby>
something like that maybe?
<rubynuby>
i know in this case grep isn't the first choice for selecting odd integers, i just really want to figure out this problem for no reason
<rubynuby>
oh yeah, also the ruby version on rubeque is 1.9.3
rkazak has quit [Ping timeout: 250 seconds]
centrx has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
roccia has joined #ruby
<roccia>
hi anyone there?
<hays>
select must be like lisp filter
<postmodern>
rubynuby, check the documentation for Array#grep
albedoa has quit [Ping timeout: 244 seconds]
<roccia>
I have a question about how to read large files more faster, hope someone can help me to look through my code
<roccia>
I have a question about how to read large files more faster, hope someone can help me to look through my code
<bnagy>
?anyone roccia
<ruby[bot]>
roccia: Just ask your question, if anyone has or can, they will respond.
<roccia>
okok
<rubynuby>
ive seen it, and i don't fully understand it, but i think it uses a Regexp pattern, but i can't figure out how to make it work on that problem with integers
<rubynuby>
because Regexp only seems to work on strings
<postmodern>
rubynuby, apparently grep() can accept a lambda/proc instead of a regex
marr has quit [Ping timeout: 240 seconds]
scripore has quit [Quit: This computer has gone to sleep]
<rubynuby>
but i think the &:succ is the lambda/proc part
<hays>
ok here's a real question. how do I pass a function around in Ruby?
<postmodern>
rubynuby, try passing in a proc instead of /.../
<bnagy>
hays: you don't
<rubynuby>
ok
<rubynuby>
illl give it a shot
<bnagy>
hays: no first class functions, only procs blocks and lambdas
<postmodern>
rubynuby, also i don't think you need &:succ
scripore has joined #ruby
<hays>
bnagy: so passing in a label and using method() or something similar might be the best way?
<roccia>
I'm importing mongodb documents into elasticsearch using ruby, there are about 60000 documents, I used a each loop to insert the doc into ES one by one , it is really time consuming job, would like to know is there any way to do it faster
duckpupp1 has joined #ruby
rkazak has joined #ruby
<bnagy>
hays: uh I can't really answer that because I have no idea what you are doing or what you're using to assess best
<rubynuby>
it worked!
<rubynuby>
thanks postmodern!
<roccia>
I wrote my own connecter(connect mongo and elasticsearch) while not using other plugin for ES
<postmodern>
rubynuby, normally you'd use [...].select(&:odd?)
<roccia>
if anyone used ES or using ES would know what I'm saying ..
<rubynuby>
yep
Sucks has quit [Quit: No Ping reply in 180 seconds.]
<hays>
bnagy: something like this, where its ok if try_func and test_func are methods of the same class as try_n: try_func and test_func
c0ncealed has quit [Remote host closed the connection]
duderono_ has joined #ruby
<hays>
bnagy: what i've done to fix that code is pass in labels and then do method() to convert them to their respective methods
<roccia>
;(
duckpupp1 has quit [Ping timeout: 255 seconds]
<Ox0dea>
hays: You recognize Ruby's Lispy-ness and still use explicit `for` loops? :(
Sucks has joined #ruby
<hays>
seemed like a reasonably expressive choice
rubynuby has left #ruby [#ruby]
<bnagy>
it's a "not from here" shibboleth
maletor has quit [Quit: Computer has gone to sleep.]
<bnagy>
roccia: sry, that's just IRC. If someone knows they'll answer.
<bnagy>
be patient
<bnagy>
or don't, I'm not the cops
<roccia>
yep ..
c0ncealed has joined #ruby
<hays>
i guess no first-class functions is why we have future() in Celluloid, which I've been recently figuring out
<Ox0dea>
Procs are first-class functions.
<Ox0dea>
But you probably don't want to write your thing with just Procs.
<hays>
perhaps the way i've done it is the most reasonable way...
Trynemjoel has quit [Ping timeout: 244 seconds]
<Ox0dea>
Well, you've got #call on all sorts of things.
<bnagy>
looks pretty functional, which suggests not
<bnagy>
but I dunno, it's still pretty abstract
<hays>
i just found myself repeating that pattern of logic in my code a lot and figured it was best done with an abstraction
Trynemjoel has joined #ruby
bronson has joined #ruby
<hays>
the code is for an embedded system.. so test_func might be switch_closed? and try_function would be close_switch. the code would try 'n' times with a delay of d seconds.. if it succeeded it returns true, false if not
Brando753 has quit [Ping timeout: 240 seconds]
<hays>
noticed just now that what I pastebinned isn't quite correct (the code is not on this laptop)
<Ox0dea>
hays: It'd be better to make the interface expect Method instances, then.
<Ox0dea>
If you accept Symbols, you have to finagle with figuring out which object to send the message to.
Yzguy has joined #ruby
<hays>
meaning something that implements .call
LoneHerm_ has quit [Remote host closed the connection]
Ebok has quit [Quit: This computer has gone to sleep]
<hays>
i will look into that. i do think that seems better
akem has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
Brando753 has joined #ruby
<akem>
hello
allcentury has quit [Ping timeout: 252 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
albedoa has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
roccia has quit [Quit: Page closed]
_djbkd has joined #ruby
x77686d has quit [Quit: x77686d]
kalopsian has quit [Ping timeout: 248 seconds]
eregi has joined #ruby
akem has quit [Read error: Connection reset by peer]
Ebok has joined #ruby
akem has joined #ruby
chipotle has quit [Quit: cheerio]
ixti has joined #ruby
_djbkd has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
Bloomer has joined #ruby
eregi has quit [Ping timeout: 255 seconds]
LoneHerm_ has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
<hays>
I guess n.times { } could work pretty well
fullstack has quit [Changing host]
fullstack has joined #ruby
<hays>
i liked the for loop in case i wanted to return the number of tries instead
kalopsian has joined #ruby
<hays>
since numbers are truthy
Trynemjoel has quit [Ping timeout: 264 seconds]
mikeiniowa has quit [Remote host closed the connection]
Bloomer has quit [Remote host closed the connection]
chipotle has joined #ruby
mikeiniowa has joined #ruby
Trynemjoel has joined #ruby
Dreamer3 has quit [Ping timeout: 240 seconds]
monque_ has joined #ruby
darix has quit [Ping timeout: 248 seconds]
<lemur>
only nil and false are falsy in ruby
monque has quit [Ping timeout: 252 seconds]
lemur is now known as baweaver
<baweaver>
so that makes very little sense to justify a for loop
nfk|laptop has quit [Ping timeout: 244 seconds]
jeanlinux has quit [Remote host closed the connection]
dlitvak has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
jeanlinux has joined #ruby
<hays>
makes sense to me. i can return the number of tries to be sucessful, including zero, and it will still return truthy unless it actially fails after n times
eljimmy has joined #ruby
<hays>
at which point it returns false
akem has quit [Remote host closed the connection]
eljimmy has quit [Read error: Connection reset by peer]
yqt has quit [Ping timeout: 240 seconds]
<Ox0dea>
hays: Your #times block can have a parameter. :)
<baweaver>
it can be done without state, though that's being pedantic of me.
<Ox0dea>
It's sketchy, but I think that's a reasonable enough.
<Ox0dea>
+approach
shazaum has quit [Quit: This computer has gone to sleep]
darix has joined #ruby
<Ox0dea>
baweaver: How do you abstract away the statefulness of a switch being closed?
<baweaver>
return a new switch, though this is going to become an exercise of how far back you can push the state wagon
blackmesa has quit [Ping timeout: 244 seconds]
<Ox0dea>
Just so.
<hays>
Ox0dea: that gives me some things to chew on
<Ox0dea>
hays: Excellent. :)
ensyde_ has joined #ruby
Guest34101 has joined #ruby
<hays>
Ox0dea: the nil. why nil and not false?
<Ox0dea>
hays: Er, tradition, I guess.
<baweaver>
is it>
<Ox0dea>
No, it makes semantic sense too. :)
<baweaver>
I tend to avoid nil like the plague
<hays>
is there a difference between sleep and delay?
<baweaver>
sane defaults, whatnot
<baweaver>
false in this case, empty array on a find, stuff like that.
fedexo has quit [Remote host closed the connection]
<baweaver>
makes for less logic forks down the road to catch nils
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea>
baweaver: Why `false` in this case?
<baweaver>
in this case it's less important
<baweaver>
I just dislike nil
<Ox0dea>
It should almost always be "returns either `true` or `false`", by my lights. #try here is "returns `n` or `nil`".
<hays>
doh. there is no delay in ruby hah. too many languages sloshing around
akem has joined #ruby
darix has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
<hays>
the old if at the end of the statement thing... still not sure how I feel about that. my procedure writing instincts don't ilke the if after the action.. probably just preference
darix has joined #ruby
kam270 has joined #ruby
<hays>
i like having the try ouside any class--probably a better place for it.. in a namespace somewhere maybe
kam270 has quit [Max SendQ exceeded]
herminio_ has quit [Ping timeout: 250 seconds]
kam270 has joined #ruby
manolo_ has quit [Quit: Leaving]
kam270 has quit [Max SendQ exceeded]
<hays>
any thoughts on when to use inheritance vice just a mixin?
kam270 has joined #ruby
<hays>
seems like one could get away with just mixins
Dreamer3 has joined #ruby
<akem>
free popcorn for my own self.
Jonah11_ has quit [Remote host closed the connection]
<Ox0dea>
hays: Mixins are inheritance. :P
<hays>
yeah, just difference syntax it seems
<Ox0dea>
It's perfectly natural to say that some collection "behaves like an Enumerable", even though that's a mixed-in Module.
LoneHerm_ has quit [Read error: Connection reset by peer]
dome22xl has quit [Ping timeout: 255 seconds]
Yzguy has quit [Quit: Zzz...]
bronson has joined #ruby
Dreamer3 has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
Dreamer3 has joined #ruby
GriffinHeart has joined #ruby
LoneHermit has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 250 seconds]
InternetFriend has quit [Ping timeout: 244 seconds]
wambam has joined #ruby
vdamewood has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
swistak35 has quit [Ping timeout: 248 seconds]
sudoubuntu has joined #ruby
GriffinHeart has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
floatingpoint has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
sgambino has joined #ruby
A124 has quit [Read error: Connection reset by peer]
ihsw has joined #ruby
<ihsw>
hi i'm new to ruby, how do i debug my sinatra app? right now i have a test that results in a 500 error but how do i get the error message?
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<toretore>
look at the stdout or log file
Jonah11_ has joined #ruby
darkf has quit [Ping timeout: 250 seconds]
babblebre has joined #ruby
A124 has joined #ruby
<ihsw>
toretore: hmm, i have enable logging, dump_errors, and raise_errors but nothing is being dumped out to stdout
swistak35 has joined #ruby
<toretore>
ihsw: how are you seeing the 500?
darkf has joined #ruby
<ihsw>
toretore: assert last_response.ok?, "PUT #{url} was not 200: #{last_response.status}"
maletor has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<toretore>
ihsw: gist relevant files?
<toretore>
?gist
<ruby[bot]>
https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<toretore>
ihsw: i don't know how that works when getting run from a test env, it says it logs to stderr, but if you're not seeing anything it's obviously not
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TomyLobo has joined #ruby
Dreamer3 has quit [Client Quit]
vikaton has quit [Quit: Connection closed for inactivity]
dionysus69 has quit [Ping timeout: 240 seconds]
htmldrum has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
symm- has joined #ruby
eregi has quit [Ping timeout: 248 seconds]
Dreamer3 has joined #ruby
mhoungbo has joined #ruby
adgtl has quit [Remote host closed the connection]
Abrin has quit [Ping timeout: 250 seconds]
scepticulous has joined #ruby
chipotle has quit [Quit: cheerio]
bigkevmcd has joined #ruby
haxrbyte has joined #ruby
woo has joined #ruby
haxrbyte_ has joined #ruby
kies^ has quit [Ping timeout: 240 seconds]
safe has quit [Read error: Connection reset by peer]
eregi has joined #ruby
blackmesa has joined #ruby
haxrbyte has quit [Ping timeout: 248 seconds]
agit0 has joined #ruby
rohit_ has joined #ruby
Antiarc has quit [Ping timeout: 276 seconds]
kalopsian has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
aslpenguin has joined #ruby
<aslpenguin>
why is ruby declining in popularity?
baweaver has quit [Remote host closed the connection]
kalopsian has quit [Ping timeout: 252 seconds]
<apeiros>
is it?
<aslpenguin>
it is
<aslpenguin>
it's being replaced by node
<apeiros>
and you know that from? sticking your finger in the air?
<aslpenguin>
no by hr people telling me
<aslpenguin>
i know a lot of recruiters
<aslpenguin>
but i can't understand why
rkazak has joined #ruby
<aslpenguin>
i'm an aspiring recruiter
chouhoulis has joined #ruby
firstdayonthejob has joined #ruby
<apeiros>
*sob*, you know, when people mistake a framework (or in this case a runtime) for a programming language, I tend to question any points they make.
<aslpenguin>
node is a programming language made in javascritp
<aslpenguin>
right?
<apeiros>
wrong. node is javascript.
<aslpenguin>
that's what i said
<apeiros>
no. you said "made in". that's quite distinct.
eregi has quit [Ping timeout: 250 seconds]
lsmola has joined #ruby
<aslpenguin>
you can't make a programming language out of a programming language that's stupid
moeabdol1 has joined #ruby
<apeiros>
a) yes, of course you can and almost all programming languages have at one point been implemented using another
<apeiros>
and b) that's not what I said
Gnut has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
<apeiros>
you should probably read nodejs' WP or even their own website. maybe you'll learn what nodejs actually is. and no, it's not its own language.
Antiarc has joined #ruby
TomyLobo has quit [Ping timeout: 244 seconds]
moeabdol2 has joined #ruby
aganov has joined #ruby
pawnbox has quit [Remote host closed the connection]
moeabdol1 has quit [Ping timeout: 248 seconds]
quazimodo has quit [Ping timeout: 244 seconds]
Don_John has quit [Read error: Connection reset by peer]
graffix has quit [Ping timeout: 276 seconds]
nando293921 has quit [Ping timeout: 240 seconds]
graffix has joined #ruby
andikr has joined #ruby
rkazak has quit [Ping timeout: 244 seconds]
anisha has joined #ruby
haxrbyte_ has quit [Ping timeout: 276 seconds]
kentnl has joined #ruby
dlitvak has joined #ruby
kentnl has quit [Changing host]
kentnl has joined #ruby
coffeecupp has joined #ruby
kentnl is now known as kent\n
wldcordeiro has joined #ruby
thevaliantx has quit [Quit: Leaving]
scepticulous has quit [Ping timeout: 276 seconds]
dlitvak has quit [Ping timeout: 248 seconds]
janno_ has left #ruby [#ruby]
janno has joined #ruby
houhoulis has quit [Remote host closed the connection]
rohit_ has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
blackgoat has quit [Quit: WeeChat 1.3]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
blaxter has joined #ruby
scepticulous has joined #ruby
svoi has joined #ruby
scepticulous has quit [Client Quit]
FlyingChicken has quit [Ping timeout: 252 seconds]
scepticulous has joined #ruby
ta_ has joined #ruby
Antiarc has quit [Ping timeout: 248 seconds]
codecop has joined #ruby
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
Antiarc has joined #ruby
pawnbox has joined #ruby
LoneHermit has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
svoi has left #ruby ["#ruby*"]
blaxter has quit [Ping timeout: 248 seconds]
UtkarshRay has joined #ruby
rkazak has joined #ruby
ziyadb has joined #ruby
The_Phoenix1 has joined #ruby
SCHAAP137 has joined #ruby
atmosx has joined #ruby
symm- has quit [Ping timeout: 255 seconds]
Youngmathimus0 has left #ruby [#ruby]
chooky87 has joined #ruby
the_drow has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
BtcBen has joined #ruby
chooky87 has quit [Client Quit]
chooky has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
<adaedra>
o/
firstdayonthejob has quit [Ping timeout: 248 seconds]
tvw has joined #ruby
<flughafen>
hello everybody
FooMunki has joined #ruby
charlemagne has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
skade has joined #ruby
blaxter has joined #ruby
baweaver has joined #ruby
Xeago has joined #ruby
eregi has joined #ruby
chouhoulis has joined #ruby
Domaldel has joined #ruby
The_Phoenix1 has quit [Quit: Leaving.]
baweaver has quit [Ping timeout: 240 seconds]
The_Phoenix has joined #ruby
<apeiros>
moin
eregi has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
Snowy has joined #ruby
montyboy has quit [Ping timeout: 240 seconds]
rohit_ has joined #ruby
coffeecupp has quit [Quit: Leaving]
LoneHermit has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
agit0 has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
woo has joined #ruby
bronson has joined #ruby
azure32 has quit [Ping timeout: 240 seconds]
bronson has quit [Remote host closed the connection]
kmckelvin has joined #ruby
moeabdol2 has quit [Quit: WeeChat 1.4]
postmodern has quit [Quit: Leaving]
woo has quit [Ping timeout: 255 seconds]
dmolina has joined #ruby
moeabdol has joined #ruby
mattwildig has joined #ruby
<manveru>
moin
<atmosx>
aloha
tulak has joined #ruby
toretore has quit [Ping timeout: 248 seconds]
mattwildig has quit [Ping timeout: 255 seconds]
thevaliantx has joined #ruby
DmitryBochkarev has joined #ruby
zenlot1 is now known as zenlot
jeanlinux has quit [Ping timeout: 276 seconds]
jeanlinux has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tulak has quit [Remote host closed the connection]
huyderman has joined #ruby
duderonomy has joined #ruby
gregf_ has joined #ruby
elementz has joined #ruby
zz_denym_ is now known as denym_
pandaant has joined #ruby
renderful has quit [Ping timeout: 240 seconds]
Mon_Ouie has joined #ruby
rbennacer has joined #ruby
sarbs has quit [Ping timeout: 240 seconds]
charlemagne has quit [Remote host closed the connection]
kalopsian has joined #ruby
tvw has quit []
aslpenguin has quit [Ping timeout: 252 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
rohit_ has quit [Ping timeout: 255 seconds]
kalopsian has quit [Ping timeout: 244 seconds]
thevaliantx has left #ruby ["Leaving"]
william3 has joined #ruby
ocbtec has joined #ruby
tesuji has joined #ruby
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
astrobunny has quit [Remote host closed the connection]
blackmesa has joined #ruby
<BtcBen>
What's the safest way to let someone collaborate on a rails app
devbug_ has quit [Ping timeout: 240 seconds]
<BtcBen>
I guess safe isn't the best term
<BtcBen>
I'm concerned about mailer account passwords and such
devbug has joined #ruby
vondruch has joined #ruby
<ljarvis>
BtcBen: will this person be working for you?
jeanlinux has quit [Read error: Connection reset by peer]
<manveru>
anyway, never commit your credentials into git without protection
idefine has quit [Ping timeout: 276 seconds]
rohit_ has joined #ruby
astrobunny has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
f4cl3y has joined #ruby
william3 has quit [Remote host closed the connection]
eregi has joined #ruby
william3 has joined #ruby
lpvb has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<BtcBen>
Thanks for the tip manveru. I already have the credentials stored in env variables.
chouhoulis has joined #ruby
<BtcBen>
so those won't be pushed to git?
<BtcBen>
forgive the noobness
<manveru>
no, env variables are in your environment, not in your files
<BtcBen>
then how do the passwords work in production?
duncannz has quit [Remote host closed the connection]
nettoweb has joined #ruby
mark2000 has joined #ruby
eregi has quit [Ping timeout: 244 seconds]
marko_ has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
<ljarvis>
they're fetched from the environment
<ljarvis>
or written to files only on production
<ljarvis>
e.g. after you deploy, env variables get written to config/database.yml or some other config file. Ready to be read by something
<ljarvis>
if they're yaml files, you can just embed the env variables
djellemah_ has joined #ruby
bweston92 has joined #ruby
LoneHerm_ has joined #ruby
the_drow has joined #ruby
jimcroft has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
rohit_ has quit [Ping timeout: 240 seconds]
SenpaiSilver has joined #ruby
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
renderful has joined #ruby
bronson has joined #ruby
LoneHerm_ has quit [Ping timeout: 244 seconds]
joonty has joined #ruby
sepp2k has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
rdark has joined #ruby
Mon_Ouie has quit [Ping timeout: 250 seconds]
bruce_lee has quit [Ping timeout: 248 seconds]
marr has joined #ruby
jaiks has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
ferr has joined #ruby
minimalism has quit [Quit: minimalism]
laith has joined #ruby
<EdwardIII>
hey, how to ruby devs tend to inject test doubles? in python we'd probably use the @patch decorator
astrobunny has quit [Remote host closed the connection]
marko_ has quit [Ping timeout: 252 seconds]
<jhass>
they're usually just used as arguments to classes and methods
<hanmac>
hm what are "test doubles"? currently i cant image what this should be
<jhass>
sometimes a method on a class or object is monkey patched to return the double for the duration of the test
astrobunny has joined #ruby
mondok has quit [Ping timeout: 276 seconds]
<jhass>
hanmac: a fake object responding to the same methods as some external dependency
<hanmac>
ahh good to know
<jhass>
usually with precomputed responses
<canton7>
hanmac, usually a dependency of the UUT, but something you don't want to actually include in your unit tests. so you replace that dependency with a mock or stub
<EdwardIII>
yeah i'm writing a test for an application_controller concern
<hanmac>
so like a dummy object ?
<EdwardIII>
and it's using the url for some stuff
<EdwardIII>
jhass: i don't suppose there's an example somewhere?
moeabdol1 has joined #ruby
<EdwardIII>
hanmac: i'm guessing i can't just say MyModule.request.original_url = 'biscuits' ?
<EdwardIII>
i kind of assume the default stuff rails comes with is a sensible default, but then it sort of looks like everyone everwhere is using RSpec
laith has quit [Quit: Leaving.]
<EdwardIII>
RSpec > MiniTest?
moeabdol has quit [Ping timeout: 248 seconds]
<hanmac>
previous i used TestUnit for tests, but i am switched to RSpec because its more funky to do (like you have shared examples so you dont need to write the whole stuff again)
sarbs has joined #ruby
<EdwardIII>
heh
astrobunny has quit [Remote host closed the connection]
<EdwardIII>
so i'm just using the test "this does that" do... syntax at the moment, but it looks like MiniTest supports spec-like tests too
tesuji has quit [Read error: Connection reset by peer]
<EdwardIII>
i guess it's something to do with trying to translate :request into a model name, but i'm not trying to mock a model, just a plain old object
ziyadb has quit [Quit: Connection closed for inactivity]
kalopsian has joined #ruby
krzkrz has joined #ruby
MindfulMonk has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
kalopsian has quit [Ping timeout: 240 seconds]
sgambino has joined #ruby
BTRE has quit [Quit: Leaving]
ElFerna has joined #ruby
dcunit3d has joined #ruby
ElFerna has quit [Ping timeout: 255 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ldnunes has joined #ruby
dlitvak has joined #ruby
* ddv
*yawns*
Flakes has quit [Ping timeout: 244 seconds]
<ddv>
where are all the cool people
<adaedra>
At the pool
<ddv>
ohai adaedra
<adaedra>
hi ddv
recycle has quit [Ping timeout: 240 seconds]
quazimodo has joined #ruby
chipotle has joined #ruby
Mon_Ouie has joined #ruby
<flughafen>
ddv: over in #c++
Ebok has quit [Quit: Leaving]
<ddv>
I highly doubt that
LoneHermit has joined #ruby
sudoubuntu has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
_ht has quit [Ping timeout: 240 seconds]
AnoHito_ has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
th__ has quit [Read error: Connection reset by peer]
th_ has joined #ruby
th_ is now known as th__
chouhoulis has joined #ruby
eregi has joined #ruby
c355e3b has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 240 seconds]
djbender has quit [Ping timeout: 240 seconds]
bove has quit [Ping timeout: 240 seconds]
akahn has quit [Ping timeout: 240 seconds]
drbrain has quit [Ping timeout: 240 seconds]
sushii has quit [Ping timeout: 240 seconds]
ardian has quit [Ping timeout: 244 seconds]
WizJin has quit [Ping timeout: 240 seconds]
Miron has quit [Ping timeout: 240 seconds]
tylersmith has quit [Ping timeout: 240 seconds]
acerna has quit [Ping timeout: 240 seconds]
ujjain has quit [Max SendQ exceeded]
quazimodo has quit [Ping timeout: 276 seconds]
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
avdi has quit [Ping timeout: 240 seconds]
mrsolo has quit [Ping timeout: 240 seconds]
HashNuke has quit [Ping timeout: 240 seconds]
zzak__ has quit [Ping timeout: 240 seconds]
RealMarc has quit [Ping timeout: 240 seconds]
LBRapid has quit [Ping timeout: 240 seconds]
spk has quit [Ping timeout: 240 seconds]
halfdan has quit [Ping timeout: 240 seconds]
Scriptonaut has quit [Ping timeout: 240 seconds]
Eleeleth has quit [Ping timeout: 240 seconds]
djbender has joined #ruby
akahn has joined #ruby
zzak___ has joined #ruby
Y_Ichiro has joined #ruby
Y_Ichiro has joined #ruby
Liam` has quit [Ping timeout: 240 seconds]
akitada has quit [Ping timeout: 240 seconds]
skarn has quit [Ping timeout: 240 seconds]
benlakey has quit [Ping timeout: 240 seconds]
alxndr has quit [Ping timeout: 240 seconds]
twe4ked has quit [Ping timeout: 240 seconds]
Luna_Moonfang has quit [Ping timeout: 240 seconds]
sorah_ has quit [Ping timeout: 240 seconds]
duoi has quit [Ping timeout: 240 seconds]
braderhart has quit [Ping timeout: 240 seconds]
Seich has quit [Ping timeout: 240 seconds]
jokester has quit [Ping timeout: 240 seconds]
AnoHito has quit [Ping timeout: 240 seconds]
podman has quit [Ping timeout: 240 seconds]
jlyndon has quit [Ping timeout: 240 seconds]
Liam` has joined #ruby
phredus has quit [Ping timeout: 240 seconds]
GGMethos has quit [Ping timeout: 240 seconds]
saneax has quit [Ping timeout: 240 seconds]
chrisseaton has quit [Ping timeout: 240 seconds]
Meow-J has quit [Ping timeout: 240 seconds]
borkdude has quit [Ping timeout: 240 seconds]
JoL1hAHN has quit [Ping timeout: 240 seconds]
iooner has quit [Ping timeout: 240 seconds]
mahk has quit [Ping timeout: 240 seconds]
bauruine has quit [Ping timeout: 240 seconds]
bttf has quit [Ping timeout: 240 seconds]
ardian has joined #ruby
nemesit|znc has quit [Ping timeout: 240 seconds]
Y_Ichiro_ has quit [Ping timeout: 240 seconds]
sysanthrope has quit [Ping timeout: 240 seconds]
ElderFain has quit [Ping timeout: 240 seconds]
cbetta has quit [Ping timeout: 240 seconds]
boxrick1 has quit [Ping timeout: 240 seconds]
infernix has quit [Ping timeout: 240 seconds]
troter_______ has quit [Ping timeout: 240 seconds]
jpinnix_______ has quit [Ping timeout: 240 seconds]
borkdude has joined #ruby
phredus has joined #ruby
Eleeleth has joined #ruby
alxndr has joined #ruby
halfdan has joined #ruby
cbetta has joined #ruby
boxrick1 has joined #ruby
neanderslob has quit [Ping timeout: 240 seconds]
benlakey has joined #ruby
HashNuke has joined #ruby
podman has joined #ruby
jlyndon has joined #ruby
neanderslob has joined #ruby
avdi has joined #ruby
c355e3b has joined #ruby
acerna has joined #ruby
sysanthrope has joined #ruby
sushii has joined #ruby
bttf has joined #ruby
braderhart has joined #ruby
jpinnix_______ has joined #ruby
mrsolo has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
bove has joined #ruby
drbrain has joined #ruby
chrisseaton has joined #ruby
eregi has quit [Ping timeout: 255 seconds]
laith has joined #ruby
tubuliferous_ has quit [Ping timeout: 248 seconds]
wmdrossard has joined #ruby
akitada has joined #ruby
spk has joined #ruby
tylersmith has joined #ruby
tubuliferous has joined #ruby
mahk has joined #ruby
iooner has joined #ruby
cschneid has joined #ruby
darkf has quit [Quit: Leaving]
ElderFain has joined #ruby
Seich has joined #ruby
LBRapid has joined #ruby
Scriptonaut has joined #ruby
twe4ked has joined #ruby
nemesit|znc has joined #ruby
duoi has joined #ruby
saneax has joined #ruby
bauruine has joined #ruby
troter_______ has joined #ruby
shredding has joined #ruby
infernix has joined #ruby
Meow-J has joined #ruby
bronson has joined #ruby
norc has joined #ruby
norc has quit [Changing host]
norc has joined #ruby
norc has joined #ruby
<norc>
Good day, folks.
<manveru>
norc: salve
skarn has joined #ruby
dionysus69 has joined #ruby
Xeago has quit [Remote host closed the connection]
Luna_Moonfang has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 240 seconds]
JoL1hAHN has joined #ruby
jokester has joined #ruby
sorah_ has joined #ruby
Xeago has joined #ruby
GGMethos has joined #ruby
jds has joined #ruby
<EdwardIII>
hrm i'm using factory_girl with stub_request = create(:request), but it keeps saying ArgumentError: wrong number of arguments (given 0, expected 1)
<EdwardIII>
i'm doing stub_request = create(:request)... but that is 1 argument?
<EdwardIII>
and whenever i see examples people seem to be just using one argument too, e.g. deal = Factory.build(:deal)
BTRE has joined #ruby
The_Phoenix1 has joined #ruby
krzkrz has quit [Quit: WeeChat 1.2]
ElFerna has joined #ruby
tvw has joined #ruby
The_Phoenix has quit [Ping timeout: 240 seconds]
momo-reina has joined #ruby
Terens has joined #ruby
<Terens>
hello I am trying to install nokogiri
<Terens>
and i get error checking if the C compiler accepts ... *** extconf.rb failed ***
<Terens>
Could not create Makefile due to some reason, probably lack of necessary
tubuliferous has quit [Ping timeout: 252 seconds]
<EdwardIII>
Terens: can you gist your whole output?
<hanmac>
Terens: can you tell us more about your OS and if you installed the dev tools? (like the stuff needed to build the extension?)
<EdwardIII>
maybe the minitest machinery is somehow chewing up the stacktrace?
<EdwardIII>
hmm wait nope, it's deeper
chipotle has quit [Quit: cheerio]
mattwildig has joined #ruby
chipotle has joined #ruby
kalopsian has joined #ruby
lpvb has quit [Ping timeout: 240 seconds]
haxrbyte_ has joined #ruby
blackgoat has joined #ruby
FooMunki has quit [Quit: FooMunki]
<EdwardIII>
i think it's because it's trying to do some kind of ActiveSupport::notification, when it's not a model
FooMunki has joined #ruby
<EdwardIII>
increasingly i feel like factory_girl is a bad idea for this job
mattwildig has quit [Ping timeout: 240 seconds]
platzhirsch has quit [Quit: Leaving.]
kalopsian has quit [Ping timeout: 276 seconds]
haxrbyte has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
konsolebox has joined #ruby
kam270 has quit [Quit: Leaving]
tulak has joined #ruby
<EdwardIII>
ok so 'yield payload if block_given?' block_given? == true, and payload is {:name=>:request, :strategy=>:build_stubbed}. but if i manually run yield payload ruby says *** ArgumentError Exception: wrong number of arguments (given 0, expected 1)
chipotle has quit [Quit: cheerio]
atmosx has quit [Quit: This is aparting message!]
Xeago has quit [Remote host closed the connection]
konsolebox has quit [Max SendQ exceeded]
chipotle has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
f4cl3y has quit [Ping timeout: 248 seconds]
Xeago has joined #ruby
<norc>
EdwardIII: I do not think you are seeing the full stack trace there.
synthroid has joined #ruby
<norc>
Unless you managed to somehow hit a serious ruby bug.
<norc>
Which shows clearly that this is passing an argument.
<EdwardIII>
hrm i did upgrade ruby recently, maybe i'm using an old version of rails/factory_girl or something?
yfeldblum has quit [Ping timeout: 250 seconds]
FooMunki has quit [Quit: FooMunki]
<norc>
EdwardIII: I have not much experience with factory_girl. I can just tell you that you are not getting the full stack trace that you actually need.
<EdwardIII>
norc: i agree
FooMunki has joined #ruby
<EdwardIII>
norc: from putting the debugger on it i can see the exception happens at a different place in the stack
<norc>
EdwardIII: Are you running this from pry?
<EdwardIII>
byebug
<EdwardIII>
well the debugging is from byebug
<EdwardIII>
otherwise i'm running it from ruby -v -I'lib::test' test/controllers/concerns/extract_locale_test.rb
pawnbox has joined #ruby
<EdwardIII>
maybe minitest hides some of the stacktrace
haxrbyte has joined #ruby
<norc>
EdwardIII: It is quite likely.
haxrbyte has quit [Read error: Connection reset by peer]
<EdwardIII>
norc: that's what i predicted first off heh
* EdwardIII
pats himself on the back
pawnbox has quit [Ping timeout: 244 seconds]
aupadhye has quit [Quit: Leaving]
<EdwardIII>
ddv: 4.2.5 right?
<norc>
EdwardIII: The issue stems from factory_girl being designed to work with ActiveRecord basically. Using it for anything else usually requires skip_create and initialize_with - at which point its questionable why you want factory_girl in the first place
<EdwardIII>
norc: that's also what i said
<ddv>
EdwardIII 4.2.5.1
CloCkWeRX has quit [Ping timeout: 252 seconds]
Guest11 has joined #ruby
<EdwardIII>
in python i'd just use the mock lib and say "return this answer whenever .original_url is called" and i'd use factory_boy for model-only related stuff
chipotle has quit [Quit: cheerio]
Guest11 has quit [Max SendQ exceeded]
<norc>
EdwardIII: I just use VCR in rspec to achieve a similar effect.
<norc>
EdwardIII: You should look at it, apparently it integrates into MiniTest too :)
<norc>
Seems like this is exactly what you want.
<EdwardIII>
norc: well in this case i'm not sure it is
<EdwardIII>
this method gets called whenever you hit a rails page, i wouldn't need vcr if i was doing an integration tests because rails is always there and available for me to use and is fairly determisitic
<norc>
EdwardIII: I meant webmock
<EdwardIII>
i could just GET /en/something
ping-pong has quit [Ping timeout: 255 seconds]
<EdwardIII>
ah ok
<norc>
Which does that exactly.
william3 has joined #ruby
<EdwardIII>
cool i'll check it out
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<adaedra>
All of this sounds a bit railsy, no?
<norc>
webmock is not railsy
gagrio has joined #ruby
saneax is now known as saneax_AFK
Miron has joined #ruby
DmitryBochkarev has joined #ruby
rbennacer has joined #ruby
f4cl3y has joined #ruby
pawnbox has quit [Remote host closed the connection]
quazimodo has joined #ruby
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
polysics has quit []
rbennacer has quit [Ping timeout: 255 seconds]
haxrbyte has quit [Remote host closed the connection]
fourq|away is now known as fourq
pawnbox has quit [Ping timeout: 240 seconds]
haxrbyte has joined #ruby
mondok has joined #ruby
Yzguy has joined #ruby
kam270 has joined #ruby
kam270 has quit [Max SendQ exceeded]
kam270 has joined #ruby
pawnbox has joined #ruby
rohit has joined #ruby
solocshaw has joined #ruby
chipotle has quit [Quit: cheerio]
jimcroft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CloCkWeRX has joined #ruby
jimcroft has joined #ruby
xpt has quit [Ping timeout: 248 seconds]
trinaldi has quit [Quit: WeeChat 1.5-dev]
dlitvak has joined #ruby
Guest34101 has quit [Ping timeout: 276 seconds]
norc has quit [Quit: Page closed]
shazaum has joined #ruby
dlitvak_ has quit [Ping timeout: 248 seconds]
trinaldi has joined #ruby
chouhoulis has joined #ruby
eregi has joined #ruby
shevy has quit [Remote host closed the connection]
krz has joined #ruby
LoneHermit has joined #ruby
sgambino has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
shevy has joined #ruby
openstruct has joined #ruby
aryaching has joined #ruby
openstru_ has joined #ruby
eregi has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 276 seconds]
voobscout has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
tvw has joined #ruby
openstruct has quit [Read error: No route to host]
openstruct has joined #ruby
johnmilton has joined #ruby
mondok has quit [Ping timeout: 276 seconds]
aryaching has quit [Ping timeout: 255 seconds]
xpt has joined #ruby
hnagamin has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
openstru_ has quit [Ping timeout: 255 seconds]
stannard has joined #ruby
chipotle has joined #ruby
dlitvak_ has joined #ruby
blackgoat has quit [Quit: WeeChat 1.3]
aryaching has joined #ruby
f4cl3y has quit [Ping timeout: 240 seconds]
dlitvak has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
B1n4r10 has quit [Ping timeout: 244 seconds]
steffkes has joined #ruby
steffkes has quit [Changing host]
steffkes has joined #ruby
dmolina has quit [Quit: Leaving.]
WizJin has quit [Ping timeout: 240 seconds]
ESpiney has joined #ruby
<Terens>
Hello
<Terens>
On github the latest brach is trunk ?
shevy has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 244 seconds]
voobscout has quit [Quit: bye]
shevy has joined #ruby
idefine has quit [Remote host closed the connection]
shevy has quit [Remote host closed the connection]
voobscout has joined #ruby
shevy has joined #ruby
<ddv>
Terens: master
_djbkd has joined #ruby
idefine has joined #ruby
the_drow has joined #ruby
kam270 has quit [Quit: Leaving]
<havenwood>
Terens: But yeah in the case of the Ruby repo, trunk is master.
gagrio has quit [Ping timeout: 250 seconds]
<Terens>
So the next version will come from trunk ?
<Terens>
Because I see 2_3 branch latest
blackmesa has quit [Ping timeout: 240 seconds]
shazaum has quit [Read error: Connection reset by peer]
moos3 has joined #ruby
idefine has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
hayden_ has joined #ruby
_djbkd has quit [Ping timeout: 276 seconds]
chipotle has quit [Quit: cheerio]
kalopsian has joined #ruby
Snowy has quit [Remote host closed the connection]
chipotle has joined #ruby
haylon has joined #ruby
idefine has joined #ruby
gagrio has joined #ruby
juanpablo__ has joined #ruby
A124 has quit [Quit: '']
duckpupp1 has joined #ruby
charlemagne has quit [Remote host closed the connection]
<darix>
Terens: 2.4 will be trunk. 2.3.x from the 2.3 branch
charlemagne has joined #ruby
awe_ has quit [Ping timeout: 248 seconds]
haxrbyte has quit [Remote host closed the connection]
BtcBen has joined #ruby
haxrbyte has joined #ruby
shazaum has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
ramortegui has joined #ruby
daivyk has joined #ruby
sankaber has joined #ruby
charlemagne has quit [Ping timeout: 244 seconds]
dlitvak_ has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
A124 has joined #ruby
jas02 has joined #ruby
solars has joined #ruby
chipotle has joined #ruby
charlemagne has joined #ruby
Guest34101 has joined #ruby
rbennacer has joined #ruby
Jardayn has joined #ruby
godzillaenlacasa has joined #ruby
rbennacer has quit [Ping timeout: 252 seconds]
techietrash has quit [Max SendQ exceeded]
tulak has quit [Read error: Connection reset by peer]
techietrash has joined #ruby
techietrash has joined #ruby
techietrash has quit [Changing host]
tulak has joined #ruby
mikecmpbll has joined #ruby
adgtl has joined #ruby
charlemagne has quit [Remote host closed the connection]
blackmesa has joined #ruby
charlemagne has joined #ruby
Jonah11_ has joined #ruby
chipotle has quit [Quit: cheerio]
steffkes has quit [Ping timeout: 244 seconds]
kerunaru has joined #ruby
chipotle has joined #ruby
voobscout has quit [Ping timeout: 250 seconds]
f4cl3y has joined #ruby
chthon has joined #ruby
f4cl3y has quit [Max SendQ exceeded]
dlitvak has joined #ruby
gaxar77 has quit [Ping timeout: 252 seconds]
charlemagne has quit [Ping timeout: 276 seconds]
gaxar77 has joined #ruby
platzhirsch has joined #ruby
f4cl3y has joined #ruby
steffkes has joined #ruby
dlitvak has quit [Remote host closed the connection]
malconis has joined #ruby
dlitvak has joined #ruby
Mon_Ouie has joined #ruby
malconis has quit [Remote host closed the connection]
PedramT has joined #ruby
fmcgeough has joined #ruby
malconis has joined #ruby
cdg has joined #ruby
idefine has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
chouhoulis has joined #ruby
eregi has joined #ruby
PedramT has quit [Ping timeout: 248 seconds]
ItSANgo_ has quit [Quit: Leaving...]
chipotle has quit [Quit: cheerio]
<dn5>
Could someone give me a hint on this problem
<dn5>
adaedra: I know how to generate random number
<gregf_>
>> foo = %w{bar baz} p foo[rand foo.size]
<ruby[bot]>
gregf_: # => /tmp/execpad-64cd35bc2b9c/source-64cd35bc2b9c:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/523215)
ocbtec is now known as ocbtec_AFK
<dn5>
shevy: Whats that?
idefine has quit [Read error: Connection reset by peer]
hxegon has joined #ruby
godzillaenlacasa has quit [Quit: ZZZZZ....]
shredding has joined #ruby
idefine has joined #ruby
<shevy>
dn5 it'll output your data structure nicely which will make the code easier to see for you
<TheBrayn>
c[c.keys.sample]['place']
<shevy>
since I assume that you can already solve this if you don't use yaml :)
<TheBrayn>
dn5: ^
djcp has joined #ruby
bronson has joined #ruby
<dn5>
ah
<adaedra>
c.values.sample['place'] could also work.
<dn5>
let me check
mrknip has quit [Ping timeout: 240 seconds]
<dn5>
this will return number of places, right?
<TheBrayn>
adaedra: I like your solution better than mine
mattwildig has joined #ruby
<adaedra>
Well it's one call shorter :p
awe_ has joined #ruby
<TheBrayn>
and it's not nested
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
chipotle has quit [Quit: cheerio]
<dn5>
adaedra: Yes, that works. But, what If I have to gather another information from for e.g. place #1, lets say 1: => place: "Place 1" url: "example.com"
dfinninger has joined #ruby
<adaedra>
from your random place, right?
chipotle has joined #ruby
<adaedra>
just get c.values.sample and work on it.
<dn5>
I could do @c[x][place]; @c[x][url]
juanpablo___ has joined #ruby
SenpaiSilver has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Xeago has quit [Remote host closed the connection]
juanpablo___ has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
mattwildig has quit [Ping timeout: 252 seconds]
juanpablo___ has joined #ruby
juanpablo__ has quit [Read error: Connection reset by peer]
<dn5>
adaedra: right, but it would randomise place and url, and they wouldn't be at the same place for e.g. 1
<adaedra>
place = c.values.sample; place[place], place[url]
Xeago has joined #ruby
<adaedra>
I forgot the '' but you get the idea
william3 has quit [Remote host closed the connection]
<adaedra>
otherwise, if you're afraid, take TheBrayn's solution with x = c.keys.sample and roll your way, but you're doing unneeded accesses to your hash.
B1n4r10 has joined #ruby
stannard has joined #ruby
s00pcan has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
william3 has joined #ruby
<dn5>
adaedra: your method is fine, and it rocks
<dn5>
adaedra: who would say it's that easy
<dn5>
I always complicate things
<adaedra>
Ruby.
<adaedra>
weemsledeux has joined #ruby
Snowy has joined #ruby
<dn5>
Ah, riiight hehe
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
ItSANgo has joined #ruby
juanpablo____ has joined #ruby
PedramT has joined #ruby
juanpablo____ has quit [Read error: Connection reset by peer]
mattwildig has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
ocbtec_AFK is now known as ocbtec
juanpablo___ has quit [Read error: Connection reset by peer]
idefine has quit [Remote host closed the connection]
juanpablo____ has joined #ruby
CloCkWeRX has quit [Remote host closed the connection]
<shevy>
keep things simple
<shevy>
keep datastructures simple
idefine has joined #ruby
PedramT has quit [Remote host closed the connection]
<kaleido>
keep it simple stupid :D
HalcyonicStorm has joined #ruby
anisha has quit [Quit: Leaving]
phredus has quit [Ping timeout: 240 seconds]
phredus has joined #ruby
PedramT has joined #ruby
rohit has quit [Quit: Leaving]
nofacade has joined #ruby
<shevy>
no, stupid is not good, we already have php
Jonah11_ has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
victorzimmer has joined #ruby
x77686d has joined #ruby
iamvery has joined #ruby
floatingpoint has joined #ruby
Yzguy has quit [Quit: Zzz...]
sankaber has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 276 seconds]
sankaber has joined #ruby
<dn5>
shevy: can't agree more .. was php dev for years, now transition to rails
ta_ has quit [Remote host closed the connection]
Jonah11_ has joined #ruby
AlexRussia has quit [Ping timeout: 248 seconds]
<SebastianThorn>
when i need a break, i sometimes read php-code for the lulz
william3 has quit [Remote host closed the connection]
adgtl_ has joined #ruby
IrishGringo has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
rbennacer has joined #ruby
dhollinger has joined #ruby
adgtl_ has quit [Client Quit]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
idefine has quit [Read error: Connection reset by peer]
B3rg3lm1r has quit [Client Quit]
idefine has joined #ruby
KensoDev has joined #ruby
failshell has quit [Remote host closed the connection]
canton7 has quit [Client Quit]
polishdub has quit [Quit: Leaving]
canton7 has joined #ruby
B3rg3lm1r has joined #ruby
chipotle has quit [Quit: cheerio]
kalopsian has quit [Quit: leaving]
hayden_ has quit [Quit: Connection closed for inactivity]
podman has quit [Quit: Connection closed for inactivity]
chipotle has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
swills has joined #ruby
Sucks has quit [Quit: No Ping reply in 180 seconds.]
Gnut has joined #ruby
MindfulM_ has quit [Ping timeout: 255 seconds]
Gnut_ has quit [Read error: Connection reset by peer]
Sucks has joined #ruby
idefine has quit [Remote host closed the connection]
steffkes has quit [Ping timeout: 252 seconds]
B1n4r10 has joined #ruby
blackjid has quit [Max SendQ exceeded]
awe__ has joined #ruby
SCHAAP137 has joined #ruby
blackjid has joined #ruby
rakm has joined #ruby
Gnut has quit [Ping timeout: 255 seconds]
Gnut has joined #ruby
aadam21 has joined #ruby
steffkes has joined #ruby
B1n4r10 has quit [Ping timeout: 240 seconds]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
dlitvak has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
rakm has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
Gnut has quit [Ping timeout: 252 seconds]
sgambino has joined #ruby
celly has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
baweaver has joined #ruby
Gnut has joined #ruby
lurch_ has quit [Quit: lurch_]
aufi has quit [Ping timeout: 250 seconds]
rakm has joined #ruby
speakingcode has quit [Remote host closed the connection]
idefine has joined #ruby
evidex has quit [Ping timeout: 240 seconds]
idefine has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 250 seconds]
dlitvak has joined #ruby
saneax is now known as saneax_AFK
charlemagne has joined #ruby
mattwildig has quit [Remote host closed the connection]
devbug has joined #ruby
anisha has joined #ruby
lemur has joined #ruby
ElFerna has joined #ruby
idefine has joined #ruby
victorzimmer has joined #ruby
charlemagne has quit [Remote host closed the connection]
charlemagne has joined #ruby
replay has joined #ruby
charlemagne has quit [Read error: Connection reset by peer]
<[spoiler]>
Wisdom of the day "shevy: no, stupid is not good, we already have php"
<[spoiler]>
:D
chipotle has quit [Quit: cheerio]
<shevy>
:)
chipotle has joined #ruby
astrofog has quit [Quit: Quite]
lemur has quit [Ping timeout: 250 seconds]
<[spoiler]>
the fuck is tiobe even
beanHolez has joined #ruby
bronson has joined #ruby
bricker has joined #ruby
_djbkd has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
<[spoiler]>
I am not a huge fan of Rails. I feel like it's size is monstrous, and it does come with certain performance issues, sadly. However, I'd still use it over PHP-on-anything.
Guest34101 has joined #ruby
_djbkd has joined #ruby
Alayde has joined #ruby
dlitvak has quit [Remote host closed the connection]
brendan- has joined #ruby
<haylon>
why not use Lotus, or Sinatra?
TinkerTyper has joined #ruby
<shevy>
tiobe is really strange, but I think the latest increase in perl has to do with perl 6, and then probably more google-searches and other searches, which then somehow found its way onto tiobe (though of course it may well be just totally random too)
<[spoiler]>
I love sinatra, haylon!
elifoster has joined #ruby
DmitryBochkarev has quit [Quit: Leaving]
<haylon>
I love sinatra too for quick, lightweight stuff
podman has joined #ruby
<haylon>
I discovered Lotus not too long afterwards, which seems a moderate mix between Rails, and Sinatra
B1n4r10 has joined #ruby
<Papierkorb>
I think what rails really does well is quickly getting something up and running. And as long you painstakenly play by its rules, it works fine for the most part. If you need to deviate however things get funny
afaris has joined #ruby
afaris has quit [Changing host]
afaris has joined #ruby
Alayde has left #ruby [#ruby]
blackmesa has joined #ruby
<[spoiler]>
haylon: didn't lotus change name to hasuhime or something?
godzillaenlacasa has quit [Quit: ZZZZZ....]
<Papierkorb>
That, and I don't agree that everything that's not a View nor Controller is a Model :)
<haylon>
Papierkorb, yes, true, but as I'm learning, there's a lot more work than just using a DSL like Sinatra
<[spoiler]>
LOL hasuhime is my friend's twitter handle
<Papierkorb>
haylon: Absolutely. Rails is really good at what it does. It certainly goes by convention over configuration, which does limit flexibility. If you need that flexibility you'll either have to bend some things, or use something different. That's by design and not really rails fault IMO
denym_ is now known as zz_denym_
mrmargolis has joined #ruby
dfinninger has joined #ruby
tubulife- has joined #ruby
unl0ckd has joined #ruby
<[spoiler]>
If you learn its conventions it's pretty fast in terms of dev time, I agree. However, unless you carefully add caching mechanisms in the right places, it can be a strain on the resources
DmitryBochkarev has joined #ruby
william3 has quit [Remote host closed the connection]
DmitryBochkarev has quit [Max SendQ exceeded]
chipotle has quit [Quit: cheerio]
DmitryBochkarev has joined #ruby
<[spoiler]>
It's good that rails comes with its caching mechanism built in, though, but it's tricky to get right from my experience (I was a much shitteir programmer than, I'm a bit less shitty now so maybe it would be easier)
william3 has joined #ruby
chipotle has joined #ruby
al2o3-cr has joined #ruby
mikecmpbll has joined #ruby
Eiam has joined #ruby
spider-mario has joined #ruby
<shevy>
haylon how do they make the strange icon on the left side of "Full featured, but lightweight" on that page?
mattwildig has joined #ruby
awe__ has quit [Ping timeout: 250 seconds]
<haylon>
I'm not sure shevy
<[spoiler]>
shevy: it's supposed to be a feather
<haylon>
looks like its part of the background image rather than its own image
<[spoiler]>
it's a font
<[spoiler]>
a typeface, rather
elifoster has quit [Ping timeout: 244 seconds]
<haylon>
speaking a whole different language to me there
william3 has quit [Ping timeout: 250 seconds]
<[spoiler]>
`icon.icon-feather::before` is the selector for the feather
chouhoul_ has joined #ruby
steffkes has quit [Ping timeout: 255 seconds]
<[spoiler]>
and the typeface is called `toolkit-entypo`
<haylon>
Ahh, I'm not completely up on teh front end development stuff for CSS or anything like that.
<[spoiler]>
Ah, I'm (sadly) a "full-stack" developer
<mg^>
looks like an oak leaf more than a feather
<shevy>
hmm how strange
[Butch] has joined #ruby
<[spoiler]>
mg^: you're right!
chouhou__ has joined #ruby
<haylon>
[spoiler], aren't we all fancy? lol, front end stuff just baffles me.
cpup has quit [Ping timeout: 252 seconds]
<[spoiler]>
I associated it with a feather only because it said "lightweight" next to it
chouhoulis has quit [Ping timeout: 276 seconds]
despai has joined #ruby
jottr has joined #ruby
<mg^>
Thankfully I am in systems and not webby stuff. The closest to webby stuff I get to is using or occasionally implementing REST/SOAP/XMl-RPC APIs.
cpup has joined #ruby
voobscout has joined #ruby
<mg^>
I agree with you that a feather is probably what they were going for.
jottr has quit [Read error: Connection reset by peer]
jeanlinux has quit [Remote host closed the connection]
moos3 has joined #ruby
jeanlinux has joined #ruby
chouhoul_ has quit [Ping timeout: 276 seconds]
godzillaenlacasa has joined #ruby
chipotle has quit [Quit: cheerio]
shadoi has joined #ruby
<[spoiler]>
mg^: I am actually a system developer (mostly work with C), but I do enjoy web development a lot; it's kind of a hobby. I am more partial to backend, though
diego_ has joined #ruby
<diego_>
anyone can help me understand what pack does?
<[spoiler]>
diego_: it's esentially used to serialise data into a string
<mg^>
yeah I know, I just wanted to see a clean "AA" :)
<[spoiler]>
ah
<[spoiler]>
unpack de-seralises the data into an array
GriffinHeart has joined #ruby
<[spoiler]>
diego_: the point is that it will be an unsigned integer of that local machine, it won't be very portable though
nando293921 has quit [Ping timeout: 248 seconds]
sulky has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
GriffinHeart has quit [Remote host closed the connection]
<diego_>
ok ok, gonna test if see if works, need do a integration with adobe omniture, and there i need to send a nonce
<diego_>
thx guys
failshell has joined #ruby
voobscout has quit [Quit: bye]
krz has quit [Quit: WeeChat 1.2]
Yzguy has quit [Quit: Zzz...]
dlitvak has joined #ruby
johnnyt has joined #ruby
diego_ has quit [Quit: diego_]
momomomomo has joined #ruby
kirillzh has joined #ruby
celly has quit [Remote host closed the connection]
blackmesa has quit [Quit: WeeChat 1.4]
<[spoiler]>
We forgot to ?guys him
blackmesa has joined #ruby
failshell has quit [Client Quit]
<chris2>
obv you need an autoreply pool
<chris2>
s/pool/bot
gaxar77 has joined #ruby
diegoviola has joined #ruby
mattwildig has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 255 seconds]
kirillzh has quit [Ping timeout: 244 seconds]
pdoherty has joined #ruby
celly has joined #ruby
platzhirsch has left #ruby [#ruby]
chouhou__ has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
chouhoulis has joined #ruby
nettoweb has quit [Ping timeout: 240 seconds]
eregi_ has joined #ruby
voobscout has joined #ruby
acidrainfall has joined #ruby
eregi has quit [Ping timeout: 250 seconds]
<acidrainfall>
Hey guys. I have a question regarding hashes. Is there a `pop` function in ruby?
<acidrainfall>
I want to `pop` a key.
<chris2>
you can delete it
<chris2>
also ?guys
nettoweb has joined #ruby
<acidrainfall>
guys / everyone / you people
<chris2>
;)
<acidrainfall>
Pedant. :P
<chris2>
last time i checked there was no way to get a random key easily
<acidrainfall>
Well, maybe I'm not describing my issue well enough.
jottr_ has joined #ruby
<acidrainfall>
This is *stupid* and I hate that I have to do it.
<chris2>
then explain :)
<acidrainfall>
This originates as a puppet issue - but the "issue" is actually TOML and the TOML gem.
<kaleido>
what would a "pop" do?
<acidrainfall>
Remove an item from a hash/array
<shevy>
acidrainfall you could simulate via .reject!; or you can use .delete! which will return the value, and the key must be known to you since you have to pass an argument to .delete!()
jottr has quit [Ping timeout: 276 seconds]
<acidrainfall>
That's fine, I actually do know the key
beanHolez has quit [Remote host closed the connection]
<ProofTechnique>
Like the opposite of slice?
<chris2>
.delete removes an item...
<shevy>
ah yes
<acidrainfall>
So there's a config file being generated for Grafana, in TOML, and the TOML gem jumbles the file all to hell every time it runs because it doesn't sort or order the data before printing.
<shevy>
even better, you don't have to use a ! !!!
<ProofTechnique>
Or, I guess, closer to slice!
<shevy>
tim and tom
<shevy>
prooftechnique oh, the bang!
B3rg3lm1r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
<chris2>
>> h = {"foo" => 5, "bar" => 6}; h.delete("foo"); h
<acidrainfall>
There's one block that *has* to be first, [[servers]]. It all comes out of a hash called ldap_cfg. I need to basically get ldap_cfg.servers and print it, delete it, then for loop the rest of the hash.
cabargas has joined #ruby
<acidrainfall>
(it's really poor coding on Grafana's part, they chose an unordered semi-structured config file language but they treat it like it's an ordered set. YOU CAN'T HAVE BOTH.)
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
idefine has quit [Remote host closed the connection]
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
celly has quit [Remote host closed the connection]
<ruby-lang502>
Does anyone know the big difference between SimpleCov.start and SimpleCov.start 'rails' when called from spec_helper.rb in a rails app? I noticed the coverage is reduced significantly while the lines of code is also somehow reduced?
<athix>
I bet it's related to the air speed velocity of an unladen swallow.
kirillzh has joined #ruby
B3rg3lm1r has joined #ruby
blaxter has quit [Ping timeout: 248 seconds]
<mg^>
acidrainfall, there probably isn't a pretty way to get what you want
<acidrainfall>
I don't think there is.
B3rg3lm1r has quit [Max SendQ exceeded]
momomomomo has quit [Quit: momomomomo]
DmitryBochkarev has joined #ruby
dling has joined #ruby
xfbs has joined #ruby
baweaver has quit [Remote host closed the connection]
<kaleido>
athix: european or african?
xfbs has quit [Max SendQ exceeded]
<athix>
kaleido: ...I don't know that! *screams while being thrown into the abyss*
<mg^>
acidrainfall, ruby hashes *are* ordered. You could construct a new hash with your server data as the first key. Something like new_ldap_cfg = {}; new_ldap_cfg['servers'] = ldap_cfg.delete('servers'); new_ldap_cfg.merge!(ldap_cfg) It's also ugly.
<mg^>
ordered since 1.9 anyway
xfbs has joined #ruby
<acidrainfall>
mg^: I'm versionn locked on 1.8
<mg^>
oh, well, scratch that
<acidrainfall>
:/
<acidrainfall>
mg^: Granted, that's much less ugly than what I was thinking.
devbug has quit [Ping timeout: 240 seconds]
DarkMoonDancer has joined #ruby
<shevy>
wheeee
<shevy>
1.8.x!
<shevy>
a fossil :D
cdg has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
dfinninger has joined #ruby
azure32 has joined #ruby
tubulife- has quit [Ping timeout: 276 seconds]
<acidrainfall>
Yeah I know. :/
cabargas has joined #ruby
<acidrainfall>
It's what EL6 supports for base Ruby.
<acidrainfall>
I could use Ruby193 from SCL but automating that is a bitch and a half.
<acidrainfall>
We're a bit squeemish about huge infrastructure-wide changes like that because we're in perpetual UAT
<mg^>
yeah it can be, I've got ~100+ EL6 servers
<acidrainfall>
Do you use the 193 scl package?
<mg^>
in limited instances
peterhu has quit [Remote host closed the connection]
<acidrainfall>
Otherwise you stick to 1.8.4?
momomomomo has joined #ruby
<acidrainfall>
Or is it 1.8.6 now? I don't remember.
<shevy>
hehe
<mg^>
it's a great idea in theory, but a pain in practice
reaVer has quit [Ping timeout: 248 seconds]
<acidrainfall>
I agree.
_djbkd has quit [Remote host closed the connection]
<mg^>
I've tried to move to EL7 wherever possible.
openstru_ has joined #ruby
<mg^>
where I can't, I use wrapper scripts to make things behave
_djbkd has joined #ruby
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #ruby
pawnbox has quit [Remote host closed the connection]
graffix has quit [Ping timeout: 276 seconds]
_djbkd has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
<acidrainfall>
Yeah we'll have an easier time with EL7 once we've abandoned our old software platform.
blackmesa has quit [Ping timeout: 248 seconds]
<acidrainfall>
We've only been on 6 for a year, sadly
_djbkd has joined #ruby
DarkMoonDancer has quit [Quit: Leaving]
<mg^>
I was going to swear we worked for the same company until that last comment :)
92AAACQUZ has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<acidrainfall>
Hahaha
reaVer has joined #ruby
<shevy>
fossils sitting in a coffee shop, having a chat
<mg^>
We are in the process of abandoning our old platform, but there is customer resistance
openstruct has quit [Ping timeout: 248 seconds]
<acidrainfall>
We just don't have the replacement ready to go yet.
kcantwel has quit [Quit: Computer has gone to sleep.]
<acidrainfall>
It's spun up quick but it has some way to go too.
<mg^>
"ready to go" is a relative thing
<mg^>
When we launched our new platform I did not consider it "ready to go" but engineering and management disagreed :)
<acidrainfall>
Eh, good point.
<acidrainfall>
Hahaha
jobewan has joined #ruby
<mg^>
Hence the customer resistance to migrating
<mg^>
"It's got less features, but now it runs in your browser" is not compelling.
<acidrainfall>
Oh, you work for VMware?
<acidrainfall>
:P
<mg^>
lol
<mg^>
no, but that's the story with their latest stuff, too, isn't it?
<acidrainfall>
Eh, honestly this is annoying enough that I'm gonna give up on solving it.
<acidrainfall>
I'll just wait for the maintainer to deal with it.
<acidrainfall>
mg^: verbatim how their web vsphere client rollout went
<acidrainfall>
widespread and ubiquitous backlash
92AAACQUZ has quit [Read error: Connection reset by peer]
<acidrainfall>
Because it's the worst designed interface in the history of interfaces. It makes Microsoft Bob look efficient.
idefine has joined #ruby
celly has joined #ruby
B1n4r10 has quit [Ping timeout: 250 seconds]
<mg^>
well, I can offer one more possible solution... you could put the keys into an array, get servers as the first item. say like keys.unshift(keys.delete('servers')), and then iterate over it that way
<mg^>
Yeah I am not a fan of the way the vsphere web interface works, but you should try interacting with VMware's hypervisor at the API level
<mg^>
it's so SOAPy the whole world could bathe
hahuang65 has joined #ruby
celly has quit [Remote host closed the connection]
zast has quit [Remote host closed the connection]
<mg^>
In fact, every WSDL-based code generator I've tried against it barfs.
ruby-lang502 has quit [Ping timeout: 252 seconds]
celly has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
devbug has joined #ruby
graffix has joined #ruby
xfbs has quit [Ping timeout: 248 seconds]
baweaver has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
monque has joined #ruby
firstdayonthejob has joined #ruby
xfbs has joined #ruby
tvw has quit [Read error: Connection reset by peer]
ElFerna has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
ur5us has joined #ruby
idefine has joined #ruby
william3 has joined #ruby
speakingcode has joined #ruby
pandaant has quit [Remote host closed the connection]
B3rg3lm1r has joined #ruby
cpup has quit [Ping timeout: 252 seconds]
cpup has joined #ruby
sauvin has quit [Remote host closed the connection]
Gnut_ has joined #ruby
sepp2k has quit [Quit: Leaving.]
whippythellama has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
idefine has quit [Ping timeout: 255 seconds]
_djbkd has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
Gnut has quit [Ping timeout: 244 seconds]
_djbkd has joined #ruby
_djbkd has quit [Write error: Connection reset by peer]
_djbkd has joined #ruby
mattwildig has joined #ruby
dfinninger has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
MindfulM_ has joined #ruby
dfinninger has joined #ruby
cabargas has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
_djbkd has quit [Quit: My people need me...]
MindfulMonk has quit [Ping timeout: 255 seconds]
kinduff has joined #ruby
blackmesa has joined #ruby
Gnut has joined #ruby
failshell has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
<Garo_>
Hello. Could somebody point me to a good example on how to build a simple web server with Puma? puma.io doesn't really point to any good tutorial or examples.
whippythellama has joined #ruby
dlitvak has joined #ruby
MindfulM_ has quit [Ping timeout: 255 seconds]
victorzimmer has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
dopamean_ has quit [Ping timeout: 255 seconds]
peterhu has joined #ruby
<tubbo>
Garo_: that's kind-of like asking if someone can show you how to build a simple computer with a macbook pro
MindfulMonk has joined #ruby
<tubbo>
Garo_: are you looking for a nodejs-style http.createServer interface?
maikowblue has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
anisha has joined #ruby
GinoManWorks has quit [Read error: Connection reset by peer]
<Garo_>
tubbo: might be. I'm trying to figure out the best way to embedd a simple http server into my application. What I want is that I need to create my own DSL which creates routes for certain urls and then have those to handle their action inside threads. I'm not an experienced ruby developer, so I'm still just learning around Rackup, Sinatra, Puma and so on as I'm thinking what's the best way to lay the groundwork
ziyadb has joined #ruby
<tubbo>
Garo_: yeah i'd definitely start with sinatra. there's just no point in re-writing all the "wire up" code
mary5030 has quit [Remote host closed the connection]
<Garo_>
it seems that most ruby web servers start from the assumption that the web server is the framework, but I'm building my own framework and I want my web server to be a library which I use instead
<tubbo>
your other option is to implement Rack directly.
cabargas has joined #ruby
beanHolez has joined #ruby
<tubbo>
that is, if you want this to be rack compatible
<Garo_>
at first it looks that Sinatra uses EventMachine which is not what I want as I want to run my requests inside threads
<tubbo>
Garo_: that is not correct.
<Garo_>
tubbo: ok. I got some hins that I can use sinatra with Puma, so I guess that way it would use puma's way to use threads instead of the eventmachine
<Garo_>
but as said, I'm still learning =)
<tubbo>
Garo_: sinatra is just a web framework. it's really just a Ruby DSL for writing the following kind of statement and returning it in a rack app's call() method: [200, { 'Content-Type' => 'text/html' }, "yay!"]
<tubbo>
or whatever
MindfulMonk has quit [Ping timeout: 248 seconds]
whippythellama has quit [Ping timeout: 240 seconds]
<tubbo>
Garo_: so if you want to do fancy stuff and sinatra gets in your way, just implement rack directly
<tubbo>
the whole point of rack is so you don't have to think so low-level
<Garo_>
tubbo: thanks. it starts to make sense. so to continue this then Puma would be the one calling that call() method inside a thread after it comes to the puma's web server?
<cschneid_>
Is there a generative testing library that's any good?
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgs has joined #ruby
kenichi has joined #ruby
devyn has joined #ruby
async_prince has joined #ruby
alnewkirk has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
ryotarai has joined #ruby
jtperreault has joined #ruby
cabargas has quit [Write error: Broken pipe]
chrisarcand has joined #ruby
livcd has joined #ruby
M-Technic has joined #ruby
tommylommykins has joined #ruby
b3nt_pin has joined #ruby
samuelkadolph has joined #ruby
segy has joined #ruby
kenpoint has joined #ruby
Junaos has joined #ruby
low-profile has joined #ruby
mattpatt has joined #ruby
Veejay has joined #ruby
LiquidInsect has joined #ruby
cfloare has joined #ruby
jtdoncas has joined #ruby
imajes has joined #ruby
hfp_work has joined #ruby
kadoppe has joined #ruby
drale2k has joined #ruby
creat has joined #ruby
tvsutton has joined #ruby
slackR has joined #ruby
ndrst has joined #ruby
Papierkorb has joined #ruby
adaedra has joined #ruby
kaspergrubbe has joined #ruby
Lorn has joined #ruby
DarthGandalf has joined #ruby
patteh has joined #ruby
[spoiler] has joined #ruby
diegok has joined #ruby
unreal has joined #ruby
darix has joined #ruby
funnel has joined #ruby
kies has joined #ruby
roger_rabbit has joined #ruby
tabakhase has joined #ruby
inukshuk has joined #ruby
irick has joined #ruby
blackgoat has joined #ruby
hypnosb has joined #ruby
xfbs has joined #ruby
eregon has joined #ruby
ndrst is now known as Guest11198
KillerFox has joined #ruby
deavid has joined #ruby
TheBrayn has joined #ruby
havenwood has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
Gnubie_ has joined #ruby
m4rCsi has joined #ruby
DEac- has joined #ruby
ceej has joined #ruby
genpaku has joined #ruby
codecop has quit [Remote host closed the connection]
JoshL has joined #ruby
Tharbakim has joined #ruby
Eising has joined #ruby
Tharbakim has quit [Max SendQ exceeded]
knight_ has joined #ruby
chridal_ has joined #ruby
cyclonis has joined #ruby
bahar has quit [Ping timeout: 255 seconds]
joonty has joined #ruby
Shidash has joined #ruby
Sthebig has joined #ruby
Sthebig has quit [Changing host]
Sthebig has joined #ruby
vqrs has joined #ruby
jeanlinux has quit [Ping timeout: 252 seconds]
tvw has quit [Ping timeout: 244 seconds]
helpa has quit [Ping timeout: 255 seconds]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
sgambino has joined #ruby
skullcrasher has joined #ruby
vqrs has quit [Max SendQ exceeded]
gnarf has joined #ruby
microt has joined #ruby
sekrit has joined #ruby
vqrs has joined #ruby
sonOfRa has joined #ruby
brixen has joined #ruby
trinaldi has joined #ruby
nisstyre has quit [Changing host]
nisstyre has joined #ruby
Tharbakim has joined #ruby
momomomomo has quit [Quit: momomomomo]
ElFerna has quit [Ping timeout: 276 seconds]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
Don_John has joined #ruby
jawr has joined #ruby
idefine has quit [Ping timeout: 252 seconds]
nwhirschfeld has joined #ruby
dn5 has quit [Quit: leaving]
Cork has joined #ruby
mame3 has joined #ruby
<jawr>
hey, im havign an issue installing jazzy with gem, anyone familiar with `undefined method `size' for nil:NilClass`
_mak has quit [Ping timeout: 276 seconds]
forgot has joined #ruby
openstruct has quit [Remote host closed the connection]
<norc>
Oh that note, why the heck does this work and behave the way it does? https://eval.in/523330
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
<norc>
Or more generally:
cstrahan has joined #ruby
<shevy>
jawr that is close to useless. put the whole error on a pastie. the error in question happens when you have a nil object and invoke .size on it, which it does not
joonty has quit [Ping timeout: 240 seconds]
<shevy>
*have
<norc>
>> K=1; class C; end; puts C::K
momomomomo has joined #ruby
mrfooo has joined #ruby
<norc>
That resolution makes absolutely no sense if the constant is qualified with a module.
dojobo_ is now known as dojobo
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
bahar has joined #ruby
aryaching has quit []
<Mon_Ouie>
C is a subclass of Object, K = 1 at top level defines a constant inside the object class
pdoherty has joined #ruby
<Mon_Ouie>
Notice BasicObject::K will not work, for example
<jawr>
just cleared cache trying again shevy and will pastie the error if it occurs again
Domaldel has quit [Quit: Leaving]
darix has quit [Quit: Reconnecting]
<norc>
Mon_Ouie: Thanks for making sense out of this for me.
darix has joined #ruby
jolts has joined #ruby
rbennacer has quit [Remote host closed the connection]
jolts has quit [Max SendQ exceeded]
<norc>
That "toplevel namespace" is a real quirk that keeps haunting me week after week. :/
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
momomomomo has quit [Client Quit]
mrknip has joined #ruby
Xeago has joined #ruby
_djbkd has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
solars has joined #ruby
bkulbida has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
idefine has joined #ruby
baweaver has joined #ruby
sudoubuntu has joined #ruby
eladmeidar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 240 seconds]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
<shevy>
you are very persistent norc!
Sucks has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
cabargas has joined #ruby
dlitvak_ has quit [Read error: Connection reset by peer]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
n_blownapart has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
jobewan has quit [Ping timeout: 240 seconds]
michael_mbp has joined #ruby
dopamean_ has joined #ruby
jolts has joined #ruby
dlitvak has joined #ruby
jolts has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
bahar has quit [Changing host]
bahar has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
idefine has quit [Remote host closed the connection]
bkulbida_ has joined #ruby
Cohedrin has joined #ruby
kobain has quit [Read error: Connection reset by peer]
Musashi007 has quit [Read error: No route to host]
saneax_AFK has quit [Ping timeout: 250 seconds]
mistym has quit [Ping timeout: 250 seconds]
dfinninger has joined #ruby
mistym has joined #ruby
Musashi007 has joined #ruby
mistym has quit [Changing host]
mistym has joined #ruby
catbusters has quit [Ping timeout: 268 seconds]
UtkarshRay has quit [Ping timeout: 250 seconds]
_ht has quit [Quit: Konversation terminated!]
nettoweb has joined #ruby
azure32 has quit [Ping timeout: 248 seconds]
UtkarshRay has joined #ruby
goodcodeguy has joined #ruby
_djbkd has quit [Remote host closed the connection]
Lildirt has joined #ruby
dlitvak has quit [Remote host closed the connection]
auxbuss has joined #ruby
idefine has quit [Remote host closed the connection]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cajone has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
awe__ has joined #ruby
_djbkd has joined #ruby
Musashi007 has quit [Client Quit]
norc has quit [Quit: Page closed]
catbusters has joined #ruby
bronson has joined #ruby
auxbuss has quit [Client Quit]
mattwildig has quit [Remote host closed the connection]
joonty has joined #ruby
jtfutbol has joined #ruby
idefine has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
jtfutbol has quit [Client Quit]
saneax_AFK has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
saneax_AFK is now known as saneax
mg^ has joined #ruby
SenpaiSilver has joined #ruby
doublemalt__ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
learning has quit [Remote host closed the connection]
learning has joined #ruby
joonty has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
learning has quit [Remote host closed the connection]
learning has joined #ruby
kalopsia1 has quit [Ping timeout: 276 seconds]
captainphil has quit [Ping timeout: 252 seconds]
idefine has quit [Remote host closed the connection]
rizenine has quit [Remote host closed the connection]
rbennacer has joined #ruby
cdg has joined #ruby
doublemalt_ has quit [Ping timeout: 252 seconds]
lpvb has joined #ruby
diegoviola has quit [Ping timeout: 248 seconds]
Trynemjoel has joined #ruby
kalopsian has joined #ruby
ElFerna has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
nofacade has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rodfersou has quit [Quit: leaving]
rbennacer has quit [Ping timeout: 250 seconds]
kirillzh has joined #ruby
dlitvak has joined #ruby
mondok has quit [Remote host closed the connection]
B3rg3lm1r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mondok has joined #ruby
dfinninger has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
blackice_ has joined #ruby
snockerton has joined #ruby
nettoweb has joined #ruby
pdoherty has quit [Ping timeout: 240 seconds]
MindfulMonk has joined #ruby
MindfulMonk has quit [Client Quit]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aegis3121 has quit [Ping timeout: 250 seconds]
beanHolez has quit [Remote host closed the connection]
william3 has joined #ruby
goodcodeguy has joined #ruby
jeanlinux has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
__chris has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
<__chris>
Is there a shortcut to create an array of integers akin to %w{some strings} ?
sgambino has joined #ruby
dlitvak has quit [Ping timeout: 252 seconds]
mattwildig has joined #ruby
william3 has quit [Ping timeout: 248 seconds]
dlitvak has joined #ruby
doctorly has joined #ruby
[Butch]_ has joined #ruby
<apeiros>
__chris: no
<doctorly>
Hello, I have a quick question. What types of skills would a Junior Ruby developer be expected to know?
<__chris>
didn't find any. %w{1 5 7}.map(&:to_i) i guess
<apeiros>
doctorly: depends on the hiring company.
tvw has joined #ruby
jeanlinux has quit [Ping timeout: 248 seconds]
<doctorly>
apeiros: I believe the job will be scripting deployment commands and such.
<apeiros>
__chris: you didn't find any because there is none. map is only "shortcut" once you have >12 integers in the array
<doctorly>
apeiros: I think it is basically a dev ops position, using ruby
<__chris>
apeiros, what do you mean about > 12?
<apeiros>
doctorly: to us, a junior is a dev which is to be trained. that can even start at zero ruby knowledge.
william3 has joined #ruby
moos3 has quit [Quit: leaving]
<apeiros>
__chris: try without your shortcut and compare. see how many ints you need for yours to be shorter.
beanHolez has joined #ruby
<doctorly>
apeiros: so if a company wants to hire me at a junior level, as long as I have a strong background, I should be able to manage?
[Butch] has quit [Ping timeout: 248 seconds]
[Butch]_ is now known as [Butch]
<Canar>
doctorly: that's what i'd assume, yea
<apeiros>
doctorly: as said before: it depends on the hiring company.
<Canar>
i'm at 3.5yr of c# experience myself
<apeiros>
they should lay out what they expect from you.
<Canar>
sharepoint x.x
<__chris>
apeiros, i understand what you mean now. I have quite a few number thats why i was hoping for a shortcut with out having to resort to map
Trynemjoel has quit [Ping timeout: 244 seconds]
beanHolez has quit [Remote host closed the connection]
ElFerna has quit [Ping timeout: 244 seconds]
dfinninger has joined #ruby
<doctorly>
apeiros: The company is hiring senior, but some people managed to convince them to talk to me about a junior position. So I am really in a spot where I'm nervous about the questions they are going to ask me lmao. I don't want to get pushed out because I forgot how to explain something simple.
Cohedrin has joined #ruby
diegoviola has joined #ruby
<doctorly>
I will just continue to study and do my best I guess
synthroid has quit []
jeanlinux has joined #ruby
dlitvak has quit [Ping timeout: 255 seconds]
beanHolez has joined #ruby
<apeiros>
doctorly: that's not a bad idea.
awe__ has quit [Ping timeout: 244 seconds]
blackice_ is now known as gideon
unl0ckd has quit [Quit: Bye!]
diegoviola has quit [Ping timeout: 248 seconds]
stevemackinnon has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
joonty has joined #ruby
__chris has quit [Quit: Leaving]
wmdrossard has joined #ruby
william3 has quit [Remote host closed the connection]
stevemackinnon has quit [Remote host closed the connection]
lpvb has quit [Ping timeout: 276 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stevemackinnon has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
doctorly has quit [Remote host closed the connection]
victorzimmer has quit [Remote host closed the connection]
yfeldblum has joined #ruby
idefine has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
darkf has joined #ruby
ElFerna has joined #ruby
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
sudoubuntu has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
cyclonis has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
william3 has joined #ruby
idefine has joined #ruby
htmldrum has joined #ruby
ElFerna has quit [Ping timeout: 276 seconds]
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xfbs has quit []
idefine has quit [Remote host closed the connection]
zapata has joined #ruby
pontiki has joined #ruby
william3 has quit [Ping timeout: 252 seconds]
moeabdol3 has joined #ruby
s00pcan has joined #ruby
idefine has joined #ruby
intrigueD has joined #ruby
scripore has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
momomomomo has quit [Quit: momomomomo]
moeabdol2 has quit [Ping timeout: 276 seconds]
cyclonis has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
gizless has joined #ruby
celly has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
gaxar77 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
baweaver has joined #ruby
idefine has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
quazimodo has quit [Ping timeout: 276 seconds]
idefine has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 255 seconds]
Yzguy has quit [Quit: Zzz...]
stevemackinnon has quit [Remote host closed the connection]
bkulbida has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
_mak has joined #ruby
ocbtec has quit [Quit: leaving]
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sesquipedalian has joined #ruby
rbennacer has joined #ruby
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
beanHolez has quit [Remote host closed the connection]
sdothum has joined #ruby
beanHolez has joined #ruby
cyclonis has quit [Ping timeout: 250 seconds]
mostlybadfly has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xfbs has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
xfbs has quit [Max SendQ exceeded]
cyclonis has joined #ruby
swills has quit [Ping timeout: 276 seconds]
xfbs has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
tulak has joined #ruby
idefine has joined #ruby
jeanlinux has joined #ruby
SenpaiSilver has quit [Read error: Connection reset by peer]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
SenpaiSilver has joined #ruby
marxarelli is now known as marxarelli|afk
gideon is now known as blackice99
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 240 seconds]
gaxar77 has quit [Ping timeout: 255 seconds]
LoneHerm_ has joined #ruby
blackice99 has quit []
zenlot1 has joined #ruby
zenlot has quit [Ping timeout: 250 seconds]
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
allcentury has joined #ruby
x77686d has joined #ruby
beanHolez has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
bMalum has joined #ruby
ElFerna has joined #ruby
lemur has joined #ruby
scripore has joined #ruby
solars has quit [Ping timeout: 255 seconds]
scripore has quit [Client Quit]
scripore has joined #ruby
yfeldblum has joined #ruby
snockerton1 has joined #ruby
scripore has quit [Client Quit]
kmckelvin has quit [Ping timeout: 244 seconds]
scripore has joined #ruby
speaking1ode has joined #ruby
lemur has quit [Ping timeout: 250 seconds]
marxarelli|afk is now known as marxarelli
jottr_ has joined #ruby
marxarelli is now known as marxarelli|afk
ElFerna has quit [Ping timeout: 240 seconds]
despai has quit [Quit: This computer has gone to sleep]
jottr_ has quit [Client Quit]
idefine has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
snockerton1 has quit [Read error: Connection reset by peer]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
snockerton has quit [Ping timeout: 252 seconds]
firstdayonthejob has joined #ruby
aadam21 has quit [Ping timeout: 240 seconds]
DarkMoonDancer has joined #ruby
last_staff1 has joined #ruby
last_staff has quit [Ping timeout: 252 seconds]
last_staff1 is now known as last_staff
diegoviola has joined #ruby
cpruitt has quit [Quit: cpruitt]
CloCkWeRX has joined #ruby
idefine has joined #ruby
DarkMoonDancer has quit [Client Quit]
gaxar77 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
stevemackinnon has joined #ruby
SenpaiSilver has quit [Ping timeout: 240 seconds]
cpup has quit [Ping timeout: 240 seconds]
idefine has quit [Remote host closed the connection]
cpup has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
Mio-chan has joined #ruby
Musashi007 has quit [Quit: Musashi007]
thevaliantx has quit [Quit: Leaving]
YourKicks has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
decoponio has quit [Quit: Leaving...]
bollullera has joined #ruby
Channel6 has quit [Ping timeout: 250 seconds]
idefine has joined #ruby
lpvb has joined #ruby
benlieb has joined #ruby
marxarelli|afk is now known as marxarelli
idefine has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gnut has joined #ruby
jfutbol has quit [Remote host closed the connection]
eregi has quit [Read error: Connection reset by peer]
moeabdol3 has quit [Ping timeout: 255 seconds]
joonty has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
mrknip has quit []
dlitvak has joined #ruby
intrigueD has quit [Remote host closed the connection]
thevaliantx has joined #ruby
eregi has joined #ruby
devbug has quit [Ping timeout: 276 seconds]
Musashi007 has quit [Client Quit]
Xeago has quit [Remote host closed the connection]
crowell has quit [Ping timeout: 248 seconds]
tulak has quit []
jfutbol has joined #ruby
Xeago has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
chouhoul_ has joined #ruby
crowell has joined #ruby
azure32 has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
idefine has joined #ruby
workmad3 has joined #ruby
idefine has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 244 seconds]
minimalism has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
mdih has quit [Ping timeout: 276 seconds]
chouhoul_ has quit [Ping timeout: 250 seconds]
workmad3 has quit [Client Quit]
kies^ has quit [Ping timeout: 240 seconds]
stevemackinnon has quit [Remote host closed the connection]
stevemackinnon has joined #ruby
tubuliferous_ has quit [Ping timeout: 248 seconds]
alem0lars__ has joined #ruby
steffkes has quit [Ping timeout: 252 seconds]
TomyLobo has quit [Ping timeout: 248 seconds]
<alem0lars__>
I'm trying to install the gem json in Windows. The gem command gives me error (make: x86_64-w64-mingw32-gcc: Command not found). But I have installed (and it's in the $PATH) MinGW. How can I make Ruby use the standalone gcc.exe executable?
benlieb has quit [Quit: benlieb]
yfeldblum has joined #ruby
jfutbol has quit [Remote host closed the connection]
tulak has joined #ruby
<haylon>
are you using the DevKit, or vanilla MinGW?
devbug has joined #ruby
dling has quit [Remote host closed the connection]
FernandoBasso has quit [Quit: Leaving]
dling has joined #ruby
weemsledeux has joined #ruby
firstdayonthejob has quit [Ping timeout: 255 seconds]
Renich has joined #ruby
ropeney has joined #ruby
mrmargolis has quit [Remote host closed the connection]