mistym has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
havenwood has quit [Remote host closed the connection]
jaimef has joined #ruby-lang
wmoxam has quit [Ping timeout: 276 seconds]
gregmoreno has quit [Remote host closed the connection]
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
hogeo has joined #ruby-lang
wmoxam has joined #ruby-lang
marr has quit [Ping timeout: 240 seconds]
goldfax has joined #ruby-lang
goldfax has left #ruby-lang [#ruby-lang]
tkuchiki has joined #ruby-lang
GeissT has joined #ruby-lang
mistym has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
zomgbie has joined #ruby-lang
zomgbie has quit [Ping timeout: 268 seconds]
thepumpkin has quit [Remote host closed the connection]
thepumpkin has joined #ruby-lang
mistym has quit [Ping timeout: 248 seconds]
saarinen has quit [Quit: saarinen]
pr0ton has quit [Ping timeout: 246 seconds]
jaimef has quit [Excess Flood]
bougyman has quit [Remote host closed the connection]
bougyman has joined #ruby-lang
bougyman has joined #ruby-lang
bougyman has quit [Changing host]
jaimef has joined #ruby-lang
peeyek has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
wallerdev has joined #ruby-lang
pipework has joined #ruby-lang
jaimef has quit [Quit: Emacs must have died]
jaimef has joined #ruby-lang
pr0ton has joined #ruby-lang
_jpb_ has quit [Ping timeout: 246 seconds]
nathanstitt has joined #ruby-lang
pr0ton has quit [Client Quit]
bougyman has quit [Remote host closed the connection]
bougyman has joined #ruby-lang
bougyman has quit [Changing host]
bougyman has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
hahuang65 has quit [Ping timeout: 268 seconds]
bzalasky has quit [Remote host closed the connection]
wimplash has joined #ruby-lang
vlad_starkov has joined #ruby-lang
pr0ton has joined #ruby-lang
mdedetrich has joined #ruby-lang
wimplash has quit [Client Quit]
wimplash has joined #ruby-lang
wimplash has quit [Client Quit]
pipework is now known as combatwombat
combatwombat is now known as Guest14949
Guest14949 is now known as pipework
vlad_starkov has quit [Ping timeout: 246 seconds]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
joshuawscott has joined #ruby-lang
iliketurtles has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
pr0ton has quit [Quit: pr0ton]
GaelanAintAround is now known as Gaelan
wmoxam has quit [Ping timeout: 246 seconds]
Gaelan is now known as GaelanAintAround
zomgbie has joined #ruby-lang
flip_digits has joined #ruby-lang
zomgbie has quit [Ping timeout: 260 seconds]
Domon has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
rsync has joined #ruby-lang
bzalasky has joined #ruby-lang
killtheliterate has joined #ruby-lang
<killtheliterate>
anyone used thoughtbot before? their learning tools? i'm interested in picking up ruby skills, and thought that might be a good choice.
tkuchiki has quit [Ping timeout: 268 seconds]
hogeo has quit [Ping timeout: 264 seconds]
retro|cz has joined #ruby-lang
xuser has joined #ruby-lang
hogeo has joined #ruby-lang
tkuchiki has joined #ruby-lang
GaelanAintAround is now known as Gaelan
hogeo has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Ping timeout: 260 seconds]
hogeo has joined #ruby-lang
tkuchiki has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
tkuchik__ has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
tkuchik__ has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
vikhyat has joined #ruby-lang
tkuchiki_ has quit [Ping timeout: 246 seconds]
tkuchiki_ has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
r0bby has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
Asher1 has quit [Quit: Leaving.]
agile has joined #ruby-lang
Asher has joined #ruby-lang
dhruvasagar has joined #ruby-lang
krz has joined #ruby-lang
zomgbie has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
GeissT has quit [Ping timeout: 276 seconds]
tkuchiki has joined #ruby-lang
zomgbie has quit [Ping timeout: 260 seconds]
ruby-lang328 has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
Gaelan is now known as GaelanAintAround
ruby-lang328 has quit [Ping timeout: 250 seconds]
GaelanAintAround is now known as Gaelan
toretore has quit [Quit: Leaving]
havenwood has joined #ruby-lang
henrikhodne has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
lsegal has joined #ruby-lang
spuk has quit [Ping timeout: 240 seconds]
vikhyat_ has joined #ruby-lang
spuk has joined #ruby-lang
vikhyat has quit [Ping timeout: 260 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
Gaelan is now known as GaelanAintAround
jonahR_ has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
gja has quit [Quit: This computer has gone to sleep]
jonahR_ is now known as jonahR
jonahR has quit [Ping timeout: 264 seconds]
spuk has quit [Ping timeout: 264 seconds]
nathanstitt has quit [Quit: I growing sleepy]
<gnufied>
where is everyone getting their research papers from these days?
<gnufied>
can't be bothered to buy IEEE subscription
rickruby has joined #ruby-lang
mistym has joined #ruby-lang
malev has quit [Quit: Leaving]
bzalasky has quit [Remote host closed the connection]
<gnufied>
all search points to that link more or less
zomgbie has joined #ruby-lang
jxie_ has joined #ruby-lang
<Nilium>
So in one of my gems, it's possible to allocate a block of memory and said block is returned to Ruby as a memory object so you can do whatever you want with it. By default, I taint every memory object allocated. Does that seem reasonable?
mdedetrich has quit [Quit: Computer has gone to sleep.]
<Nilium>
I figure any direct memory access should be considered unsafe, so it seemed reasonable to me at the time, but figured I'd ask.
<whitequark>
by the say SafeBuffer doesn't use tainting
<whitequark>
it checks for html_safe?
tomzx_mac has quit [Read error: Operation timed out]
GaelanAintAround is now known as Gaelan
<erikh>
fart
<gnufied>
I thought it would use taininting.
* whitequark
slaps erikh around a bit with a large trout
<erikh>
whitequark: hello
<whitequark>
erikh: hi
<whitequark>
gnufied: also sqlite3 adapter iirc doesn't mark data as tainted
<whitequark>
and there is 10000 other ways to get around that restriction, as well as bugs--grep CVEs by the words "ruby taint", there really is a lot of them
<whitequark>
various weird corner cases in the standard library when you do strange things with strings and regexes
<erikh>
taint checking is a good idea, but has a poor/impossible implementation
mistym has joined #ruby-lang
<erikh>
perl has similar problems, fwiw.
<whitequark>
well, you're fine if you do whitelisting
<erikh>
(which IIRC is where the feature comes from)
<whitequark>
AS::SafeBuffer avoids most or all of these problems
<erikh>
but then you have to use activesupport
<erikh>
and not all things taint are html-oriented
<whitequark>
there's a gem which does the same pattern for various contexts
xxaM has quit [Read error: Connection reset by peer]
<whitequark>
html, js, etc
<erikh>
yeah, er, yeah.
xxaM has joined #ruby-lang
<Nilium>
I'll probably just leave the tainted stuff in for now.
<erikh>
wow, got down to 5 tabs from about 30 today
firstdayonthejob has quit [Ping timeout: 264 seconds]
puma10 has quit [Ping timeout: 250 seconds]
robbyoconnor has quit [Ping timeout: 248 seconds]
iliketurtles has quit [Quit: zzzzz…..]
mbj has joined #ruby-lang
hhatch has quit [Ping timeout: 240 seconds]
stan has joined #ruby-lang
<judofyr>
whitequark: re: metaprogramming with macros: what do you prefer? #send and #define_method?
<whitequark>
judofyr: in a nutshell, yes
<whitequark>
you do need some interesting tricks to make that work in a statically typed language, though.
<judofyr>
whitequark: does a separate syntax for #send help, or is it mostly about statically detecting the method/function name that's tricky?
<whitequark>
uh, neither
<whitequark>
#send is just a very special case; the problem is far larger and more complex
<whitequark>
think for example that you have two APIs, A and B
<whitequark>
and you need to forward A#x(a, b) → B#do_x(b, a)
<whitequark>
so that would include rearranging of tuples and actually performing computations over method names
<whitequark>
what I came up with is twofold: first you have a metalanguage, which is essentially dynamically typed (but respects annotations)
<whitequark>
then you have an object language, which is the thing that's statically typed (in languages with type inference, type annotations never change semantics of the program: they merely make it compilable)
<whitequark>
there's a problem with this meta/object distinction, though. take the #send case
<whitequark>
you can freely #send any message to any object in the metalanguage, since it's dynamically typed
<whitequark>
but not in object language, since the compiler would need to know the selector in advance
<whitequark>
so what I do is essentially add a partial evaluation pass--similar to what's already present in optimizing compilers--which folds the computation until it uncovers enough detail to meaningfully type the program
ffio has quit [Ping timeout: 240 seconds]
ffio_ has joined #ruby-lang
<whitequark>
(or until there's nothing left and then it barfs)
<whitequark>
I have a half-baked article about this which I really need to publish
fosky has quit [Ping timeout: 248 seconds]
arooni-mobile has quit [Ping timeout: 246 seconds]
<yorickpeterse>
YAY TRAIN DELAYS
* yorickpeterse
is still in a train, after a 30 minute delay of which most was spent stuck behind an open bridge
<andrewvos>
Well some of us are working yorickpeterse
<yorickpeterse>
NOT IMPORTANT, HEAR MY RAGE
<yorickpeterse>
also station, brb
puma10_ has quit [Ping timeout: 250 seconds]
<Nilium>
You could rage against the things I do that offend people who use Ruby.
<judofyr>
Nilium: can I allocate objects on the stack with your magic?
<Nilium>
No, no. That's horrifying.
<judofyr>
I know
<judofyr>
bummer
<judofyr>
that would be some really black magic
<whitequark>
judofyr: would it?
<Nilium>
It's only there for C interop stuff.
<judofyr>
whitequark: well, an object has other pointers (ivar table) that are dynamically resized
<judofyr>
whitequark: I want the whole object to be on the stack
<Nilium>
You could probably pull it off if Ruby let you specify where to put an object, but I'm not aware of anything for that in the C API, nor am I sure if there's a way to call an object's finalizer, if it has one, arbitrarily
<whitequark>
judofyr: oh. well, there *is* such a system.
<Nilium>
Either way, I don't know enough about Ruby's guts to do anything about that. It's probably not worth doing, either.
<yorickpeterse>
The closest thing I wear to that is a Pry t-shirt on a Saturday every now and then
<judofyr>
whitequark: language idea: foo<bar> is a function call (like foo(bar)) which happens at compile-time. generics are just functions that return a new class/type.
retro|cz has quit [Ping timeout: 246 seconds]
apeiros_ has quit [Ping timeout: 256 seconds]
KillerFox has joined #ruby-lang
<yorickpeterse>
heh wtf, this PNG file contains XML
<whitequark>
judofyr: yes, that is how foundry works
<whitequark>
Hash(key: Integer, value: String)
<whitequark>
yorickpeterse: metadata
<whitequark>
photoshop does that I think
<gnufied>
photoshop or fireworks?
alex_io has left #ruby-lang [#ruby-lang]
<yorickpeterse>
heh, some friday afternoon project management aint that bad
<yorickpeterse>
where "project management" translates to "LINE WRAP ALL THE DOCUMENTS!"
<yorickpeterse>
or "FIX MARKDOWN SYNTAX PROBLEMS"
duphus has quit [Quit: Leaving.]
duphus has joined #ruby-lang
duphus has quit [Client Quit]
<yorickpeterse>
I was just handed a credit card
<yorickpeterse>
I HAVE THE POWEERRRRRR
* yorickpeterse
goes back to work
MaddinXx_ has joined #ruby-lang
ndrst has quit [Ping timeout: 276 seconds]
apeiros has joined #ruby-lang
Gues_____ has joined #ruby-lang
apeiros_ has joined #ruby-lang
apeiros has quit [Ping timeout: 241 seconds]
runeb has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
runeb has joined #ruby-lang
tbuehlmann has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
runeb has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
realDAB has joined #ruby-lang
melter has quit [Read error: Operation timed out]
Gues_____ has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Read error: Operation timed out]
postmodern has quit [Quit: Leaving]
melter has joined #ruby-lang
dhruvasagar has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
realDAB has quit [Quit: realDAB]
realDAB has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby-lang
Domon has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.1]
Guest____ has joined #ruby-lang
KillerFox has quit [Read error: Connection reset by peer]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 240 seconds]
Guest____ has quit [Ping timeout: 268 seconds]
zomgbie has quit [Read error: Connection reset by peer]
zomgbie has joined #ruby-lang
<yorickpeterse>
Does anybody know of a Gem similar to `distance_of_time_in_words` but without the ActiveCrap requirement?
minivan has joined #ruby-lang
<andrewvos>
yorickpeterse: Copy and paste that shit
<judofyr>
yorickpeterse: I couldn't find anything suitable
retro|cz has quit [Read error: Operation timed out]
vikhyat_ has quit [Ping timeout: 276 seconds]
realDAB has quit [Quit: realDAB]
realDAB has joined #ruby-lang
wmoxam has quit [Read error: Connection reset by peer]
enebo has joined #ruby-lang
tbuehlmann has joined #ruby-lang
wmoxam has joined #ruby-lang
runeb has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
nathanstitt has joined #ruby-lang
xxaM has quit [Quit: ZzZz]
eugenejen has joined #ruby-lang
tomzx_mac has quit [Read error: Operation timed out]
pothibo has joined #ruby-lang
glebm has joined #ruby-lang
workmad3 has quit [Ping timeout: 260 seconds]
malev has joined #ruby-lang
tkuchiki has joined #ruby-lang
pothibo has quit [Ping timeout: 268 seconds]
realDAB has quit [Quit: realDAB]
glebm has quit [Quit: Computer has gone to sleep.]
pothibo has joined #ruby-lang
realDAB has joined #ruby-lang
glebm has joined #ruby-lang
r0bby_ has joined #ruby-lang
mistym has joined #ruby-lang
r0bby has quit [Ping timeout: 240 seconds]
Squarepy has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
glebm has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
rikai_ has quit [Ping timeout: 248 seconds]
glebm has joined #ruby-lang
glebm has quit [Client Quit]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
jvrmaia has quit [Quit: Leaving]
carloslopes has quit [Remote host closed the connection]
digs has joined #ruby-lang
digs is now known as Guest40899
vikhyat_ has joined #ruby-lang
Guest40899 has quit [Remote host closed the connection]
Guest__ has joined #ruby-lang
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
vikhyat has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby-lang
vikhyat has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has quit [Changing host]
vikhyat_ has quit [Ping timeout: 264 seconds]
Guest__ has quit [Ping timeout: 246 seconds]
vikhyat has quit [Read error: Connection reset by peer]
carloslopes has joined #ruby-lang
benlovell has quit [Read error: Operation timed out]
thyagobr has quit [Ping timeout: 240 seconds]
vikhyat has joined #ruby-lang
kstuart has quit [Ping timeout: 240 seconds]
io_syl_ has joined #ruby-lang
mistym has joined #ruby-lang
ruby-lang405 has joined #ruby-lang
scmx has quit [Ping timeout: 260 seconds]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 246 seconds]
jsullivandigs has joined #ruby-lang
ledestin has quit [Quit: ledestin]
ruby-lang405 has quit [Ping timeout: 250 seconds]
glebm has joined #ruby-lang
io_syl_ has quit [Quit: Computer has gone to sleep.]
henrikhodne has joined #ruby-lang
mytrile has joined #ruby-lang
rshetty has joined #ruby-lang
Xzyx987X_ has joined #ruby-lang
havenwood has joined #ruby-lang
GaelanAintAround is now known as Gaelan
jxpx777 has joined #ruby-lang
bzalasky has joined #ruby-lang
skade has joined #ruby-lang
Xzyx987X has quit [Ping timeout: 264 seconds]
skade has quit [Client Quit]
_ffio_ has joined #ruby-lang
ffio_ has quit [Ping timeout: 268 seconds]
pellis has joined #ruby-lang
<pellis>
hello
<pellis>
i have some mind eating metaprogramming issue
<pellis>
trying to implement a concern on my own. a Logging concern, where the logger is set as class instance, and i want to allow an instance-level accessor for it. so i do a self.class.logger
<pellis>
problem is, i want everyone in the inheritance chain to see this instance method
<pellis>
and self.class won't work for that
<pellis>
any idea?
<tbuehlmann>
sounds like a use case for a class variable
yibe has quit [Read error: Operation timed out]
yibe has joined #ruby-lang
<pellis>
tbuehlmann, trouble is, the class variable which holds the logger is within an inner module, ClassMethods
<tbuehlmann>
would love to talk about that but I have to go :(
<pellis>
thanks
retro|cz has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
rshetty has quit [Ping timeout: 240 seconds]
thepumpkin has quit [Ping timeout: 248 seconds]
cored has quit [Ping timeout: 246 seconds]
dagobah has quit [Remote host closed the connection]
MrPoT4tO has joined #ruby-lang
realDAB has quit [Quit: realDAB]
thepumpkin has joined #ruby-lang
MrPoT4tO has quit [Client Quit]
vlad_starkov has quit [Ping timeout: 246 seconds]
melter has quit [Ping timeout: 240 seconds]
io_syl has quit [Quit: io_syl]
shireesh has quit [Quit: Leaving]
pothibo has quit [Quit: pothibo]
dRbiG has joined #ruby-lang
Guest__ has joined #ruby-lang
_ffio_ is now known as ffio
sstrickl has quit [Quit: sstrickl]
bzalasky has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
hinbody has joined #ruby-lang
zhul_mechanos has joined #ruby-lang
henrikhodne has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
realDAB has joined #ruby-lang
grosscoldesk has quit [Ping timeout: 256 seconds]
stan has quit [Ping timeout: 264 seconds]
dc5ala has quit [Quit: Ex-Chat]
Gaelan is now known as GaelanAintAround
bzalasky has joined #ruby-lang
arooni-mobile has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
GaelanAintAround is now known as Gaelan
wallerdev has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby-lang
dhruvasagar has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
iliketurtles has joined #ruby-lang
bgant has quit [Read error: Operation timed out]
grosscoldesk has joined #ruby-lang
thyagobr has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
saarinen has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
realDAB has quit [Quit: realDAB]
jxpx777 has quit [Quit: Leaving...]
dhruvasagar has quit [Read error: Connection reset by peer]
retro|cz has quit [Ping timeout: 248 seconds]
tylersmith has joined #ruby-lang
dhruvasagar has joined #ruby-lang
henrikhodne has joined #ruby-lang
saarinen has quit [Quit: saarinen]
robbyoconnor has joined #ruby-lang
mistym has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
r0bby_ has quit [Ping timeout: 276 seconds]
Cakey has quit [Ping timeout: 264 seconds]
io_syl has joined #ruby-lang
henrikhodne has quit [Ping timeout: 276 seconds]
jxie has joined #ruby-lang
pkrnj has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 246 seconds]
<yorickpeterse>
thread question: does calling Thread#join block any other threads or just the calling one?
symm- has joined #ruby-lang
<spike|spiegel>
in MRI?
<yorickpeterse>
Yes, but also in others. Note that in this case I'm talking about calling #join after creating the threads
<ryanf>
what other threads would it block?
<yorickpeterse>
so `threads = []; threads << Thread.new { ...}; threads.map(&:join)` vs `Thread.new { }.join`
dhruvasagar has joined #ruby-lang
<spike|spiegel>
join blocks only the thread that called join
<yorickpeterse>
Ah ok, thanks
iliketurtles has joined #ruby-lang
fsvehla has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
pellis has quit [Quit: This computer has gone to sleep]
Guest__ has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
hakunin has quit [Remote host closed the connection]
<erikh>
my_threads.each(&:join) and my_threads.map(&:value) are things you'll see a lot in half-decent mt code
robbyoconnor has quit [Ping timeout: 240 seconds]
solars has quit [Ping timeout: 246 seconds]
<yorickpeterse>
heh, interesting: the performance of threaded vs sequential on rbx is the direct opposite of MRI
<yorickpeterse>
(ratio wise)
<yorickpeterse>
e.g. MRI would take 10 seconds for threading vs, say, 8 for sequential
<yorickpeterse>
whereas Rbx would take around 6 seconds for threaded vs 11 sequential
<yorickpeterse>
~3-4 seconds difference for some pretty heavy duty stuff is not bad for code that is completely unoptimized
<yorickpeterse>
and this excludes the network IO it does (stubbed it out)
<eam>
does dl/import's struct() work with nested structs? (if so, how?)
rails_smith has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby-lang
hakunin has joined #ruby-lang
henrikhodne has joined #ruby-lang
rwilcox has joined #ruby-lang
rwilcox has quit [Client Quit]
<Nilium>
I think it should..? It seems too easy to not provide it.
realDAB has quit [Quit: realDAB]
henrikhodne has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
vikhyat has quit [Remote host closed the connection]
benanne has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
Xzyx987X has joined #ruby-lang
Xzyx987X_ has quit [Ping timeout: 240 seconds]
athaeryn has joined #ruby-lang
vikhyat has joined #ruby-lang
wmoxam has quit [Quit: Lost terminal]
<athaeryn>
Hey guys, I have a question about gem development with rbenv and bundler. I use to use RVM, but grew to be not terribly fond of it, so I switched to rbenv. Now I'm trying to create a gem, but I can't seem to be able to require the gems from my Gemfile.
<athaeryn>
I'm not really sure what the right way to go about this is...
<athaeryn>
s/use to/used to
wmoxam has joined #ruby-lang
<ericwood>
athaeryn: #rbenv
<athaeryn>
Gosh, I feel like half the questions I ask I get told to go to another channel. ;)
<athaeryn>
ericwood: thanks
<Nilium>
athaeryn: Are the gems installed and whatnot?
<athaeryn>
Nilium: yes, assuming that bundle install is all that I need to run to install them.
<Nilium>
Ok, now without the assumption?
<athaeryn>
Yes.
<Nilium>
Did you do rbenv rehash when switching ruby versions?
<Nilium>
Shouldn't be necessary but you never know.
<Nilium>
Aside from that, yeah, #rbenv.
<athaeryn>
Yeah.
<athaeryn>
Nilium: thanks though!
carloslopes has joined #ruby-lang
<athaeryn>
Doesn't look like there's anyone there...
<havenwood>
never is anyone in #rbenv, if you want live human beings #rvm or #chruby :P
dhruvasagar has joined #ruby-lang
<Nilium>
Well, rvm isn't really going to help with rbenv, probably
<athaeryn>
I don't know that I have an issue with rbenv as much as I just don't know how to develop a gem properly..
<athaeryn>
I managed under rvm, but that was using gemsets.
<Nilium>
I don't use bundler for gem dev, so it's hard for me to say what the issue there might be
<athaeryn>
What do you do?
<Nilium>
Create a gemspec and get to work.
<athaeryn>
But to manage gems? Do you have a Gemfile or anything?
<Nilium>
Nope.
<Nilium>
I just list any dependencies in my gemspec.
<athaeryn>
Ah... Then you just have to install the gem before running it?
glebm has quit [Ping timeout: 240 seconds]
<athaeryn>
With RVM I could just run the executable in bin/ without having to install the gem.
symm- has quit [Ping timeout: 240 seconds]
<Nilium>
Yeah, I just install gems.
<athaeryn>
So your workflow is like: make a change, install the gem, run it, repeat?
ecnalyr has quit [Ping timeout: 245 seconds]
rails_smith has joined #ruby-lang
<Nilium>
If it uses a C extension, yes, otherwise I just require it through ruby -Ilib -rname
bgant has joined #ruby-lang
jonahR has joined #ruby-lang
pellis has joined #ruby-lang
<Nilium>
Most of my gems use C extensions, though, so it's pretty much always build/install
<Nilium>
Especially since I have to make sure the install options work
thenj has joined #ruby-lang
<thenj>
what is a good way to loop through a list of ip addresses, ssh command, and evaluate the result of the command?
<thenj>
should i use something like Net::SSH ?
gja has quit [Quit: This computer has gone to sleep]
<athaeryn>
Nilium: Hmmm... I'll have to look into this.. maybe I'll just switch back to rvm and the way I was doing things before... though I've tried that twice already and gone back to rbenv for reasons I can't recall. :)
<Nilium>
If it works and rvm doesn't interfere with your shell in ways you care about, then eh
<athaeryn>
Yeah, I wish I could remember the reasons.... I guess I might find out.
<Nilium>
My main issue is that it hijacks `cd`
<Nilium>
Which is sort of reprehensible
<athaeryn>
I heard something about that...
<athaeryn>
But that wasn't my issue with it.
<athaeryn>
Not that I really know what was.
<athaeryn>
I did notice though that after rvm implode things blew up when I tried to cd. :)
<Nilium>
That should be fixable by just killing the shell and starting a new one though
GaelanAintAround is now known as Gaelan
<thenj>
why are there 2 ruby channels? #ruby and #ruby-lang ?
KU0N has joined #ruby-lang
<Nilium>
Are there?
<Nilium>
I'm only aware of this one.
<athaeryn>
Right.
<thenj>
#ruby has more users in it
<Nilium>
To the best of my knowledge, this is the official one
<yorickpeterse>
thenj: #ruby-lang is for the cool kids
<athaeryn>
So this is the official one, but more underground.
<thenj>
word
dhruvasagar has quit [Ping timeout: 240 seconds]
pr0ton has quit [Ping timeout: 240 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
glebm has joined #ruby-lang
lnormous has joined #ruby-lang
<grandy>
quick minitest question, anybody know if I can include a namsespace so that my class names resolve without having to prefix all of them with the namespace
<grandy>
?
carloslopes has quit [Remote host closed the connection]
mytrile has quit [Remote host closed the connection]
Kelet has joined #ruby-lang
carloslopes has joined #ruby-lang
Kelet has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 240 seconds]
gja has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
zomgbie has quit [Read error: Connection reset by peer]
zomgbie has joined #ruby-lang
Squarepy has joined #ruby-lang
ahf has joined #ruby-lang
forrest has joined #ruby-lang
rails_smith has quit [Quit: Leaving.]
firstdayonthejob has joined #ruby-lang
maxmanders has joined #ruby-lang
saarinen has quit [Quit: saarinen]
arooni-mobile has joined #ruby-lang
pr0ton has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
TheNotary has joined #ruby-lang
vikhyat has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
glebm has quit [Ping timeout: 248 seconds]
glebm has joined #ruby-lang
pr0ton has quit [Ping timeout: 246 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
bondar has joined #ruby-lang
bondar has quit [Excess Flood]
bondar has joined #ruby-lang
bondar has quit [Excess Flood]
Guest62459 has quit [Read error: Connection reset by peer]
bondar has joined #ruby-lang
bondar has quit [Excess Flood]
Guest62459 has joined #ruby-lang
bondar has joined #ruby-lang
bondar has quit [Excess Flood]
bondar has joined #ruby-lang
jxweng has joined #ruby-lang
pellis has quit [Quit: This computer has gone to sleep]
jxweng has quit [Client Quit]
bondar has joined #ruby-lang
bondar has quit [Excess Flood]
henrikhodne has joined #ruby-lang
duphus has joined #ruby-lang
bondar has joined #ruby-lang
bondar has quit [Excess Flood]
bondar has joined #ruby-lang
bondar has quit [Excess Flood]
mikewintermute has joined #ruby-lang
braidn has quit [Ping timeout: 264 seconds]
braidn has joined #ruby-lang
rails_smith has joined #ruby-lang
bondar has joined #ruby-lang
bondar has quit [Excess Flood]
hhatch has quit [Ping timeout: 240 seconds]
Squarepy has quit [Quit: Leaving]
fsvehla has quit [Quit: fsvehla]
Cakey has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
Cakey has quit [Ping timeout: 240 seconds]
havenwood has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
<injekt>
grandy: what?
<grandy>
figured it out, i was doing something dumb :)
TheNotary has quit [Ping timeout: 246 seconds]
apeiros has quit [Remote host closed the connection]