<zenspider>
I don't know how best to show the changes in the way the tests run
<zenspider>
UML seems poorly suited for this, but dumping out a bunch of code is worse
Nisstyre has quit [Ping timeout: 276 seconds]
patrickod has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
<fowl>
zenspider: are you on this level now where you feel you can use #ruby-lang for your idle thoughts, as if you are so important that everyone else in the channel clings to the edge of their seat waiting for your next quip
<patrickod>
when using ruby-prof and passing it a block to profile is it not possible to access variables created inside the block after it has finished executing?
<patrickod>
scrap that. Just being an idiot and not taking variable scope into account.
<headius>
drbrain: wtf is up with rbinstall.rb man
<drbrain>
what is that?
<drbrain>
oh, in tools?
<headius>
I couldn't figure out how it was getting installed gemspecs with non-empty files, and located the logic in there
<drbrain>
yeah
<headius>
e.g. for default gems
<drbrain>
that's nobu
<headius>
I'm going to pull that stuff out into a lib or something
<headius>
it's a mess
anjen has quit [Quit: anjen]
<headius>
default gems don't work without files = non-nil in the specifications/default gemspec
<headius>
alternatively, maybe we could make RG include files in the installed gemspecs
parndt is now known as parndt`away
<headius>
rbinstall.rb modifies gemspecs for defaults, sticking everything in there via a glob
<headius>
took me forever to find that code
jxie has quit [Quit: leaving]
<drbrain>
yeah
<drbrain>
I'm about out of power, so I'm going to ride the bus home
<drbrain>
if you need more questions answered I can phone IRC
<headius>
ok
totallymike has joined #ruby-lang
<drbrain>
… just let me know now, otherwise you have to wait :D
asunderland has quit [Ping timeout: 255 seconds]
ikrima has joined #ruby-lang
<zenspider>
fowl: are you always a dick? that can be fixed
<fowl>
yes
<fowl>
fix it for me
<fowl>
dear god fix me so hard
fowl was kicked from #ruby-lang by zenspider [Kicked]
<zenspider>
foul
crackit__ has joined #ruby-lang
<zenspider>
anyhow... if anyone has any idea how best to describe the run differences between minitest 4 and 5, I'm all ears
<erikh>
zenspider: maybe just a basic flow chart?
<erikh>
ooh! perftools.rb output :P
<erikh>
keep in mind I haven't looked at 5 yet, but it seems like dot would be great for this kind of thing.
ikrima has quit [Ping timeout: 252 seconds]
<rsync_>
Good Morning
<erikh>
it's evening. totally not living up to that name, buddy
<erikh>
:P
ikrima has joined #ruby-lang
<zenspider>
erikh: not sure how to do this in dot, honestly... here.. sec.
<erikh>
I mean, use omni or whatever, but do you get where I was aiming?
mineiro has quit [Read error: Connection reset by peer]
mineiro has joined #ruby-lang
GarethAdams has joined #ruby-lang
GarethAdams has quit [Changing host]
GarethAdams has joined #ruby-lang
<yorickpeterse>
morning
marr has joined #ruby-lang
<_KGBot_>
Morning all.. We're doing 10.30 CEST with Blue Skies.. :)
infecto has quit [Ping timeout: 264 seconds]
infecto has joined #ruby-lang
_KGBot_ has quit [Remote host closed the connection]
barttenbrinke has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
<yorickpeterse>
best way to start a friday: bike stolen
GarethAdams has quit [Ping timeout: 264 seconds]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
<ddfreyne>
yorickpeterse: :(
<yorickpeterse>
more annoying: it got stolen right in front of my door
<yorickpeterse>
and I'm most annoyed by losing my expensive tires (which were almost as expensive as the bike itself)
<dbussink>
judofyr: around?
<judofyr>
dbussink: yes
prognostikos has joined #ruby-lang
<dbussink>
judofyr: maybe better to take to #rubinius btw, want to ask about the issue you opened
vlad_starkov has joined #ruby-lang
swav has joined #ruby-lang
Squarepy has quit [Ping timeout: 256 seconds]
Domon has quit [*.net *.split]
levifig has quit [*.net *.split]
GeissT has quit [*.net *.split]
bzalasky has quit [*.net *.split]
ericwood has quit [*.net *.split]
bentis has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
norplr has quit [*.net *.split]
rhizome has quit [*.net *.split]
eban has quit [*.net *.split]
mbr has quit [*.net *.split]
Guest85414 has quit [*.net *.split]
eam has quit [*.net *.split]
jkyle has quit [*.net *.split]
ozzloy has quit [*.net *.split]
mbr has joined #ruby-lang
ozzloy has joined #ruby-lang
rhizome has joined #ruby-lang
jkyle has joined #ruby-lang
eban has joined #ruby-lang
GarethAdams has joined #ruby-lang
GarethAdams has quit [Changing host]
GarethAdams has joined #ruby-lang
norplr has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
Guest85414 has joined #ruby-lang
Domon has joined #ruby-lang
bzalasky has joined #ruby-lang
levifig has joined #ruby-lang
GeissT has joined #ruby-lang
<injekt>
moin
beawesomeinstead has joined #ruby-lang
Squarepy has joined #ruby-lang
Squarepy has quit [Max SendQ exceeded]
justinram has quit [Remote host closed the connection]
bentis has joined #ruby-lang
ericwood has joined #ruby-lang
Squarepy has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
brianpWins has quit [Quit: brianpWins]
justinram has joined #ruby-lang
eam has joined #ruby-lang
<erikh>
eam: ltns
<erikh>
injekt: hi
charliesome has joined #ruby-lang
tomzx_mac has joined #ruby-lang
Squarepy has quit [Ping timeout: 252 seconds]
Squarepy has joined #ruby-lang
mytrile has joined #ruby-lang
Squarepy has quit [Max SendQ exceeded]
Squarepy has joined #ruby-lang
Criztian has joined #ruby-lang
Squarepy has quit [Max SendQ exceeded]
Squarepy has joined #ruby-lang
barttenbrinke has joined #ruby-lang
<injekt>
erikh: howdy
tbuehlmann has quit [Remote host closed the connection]
Kuukunen has quit [Quit: leaving]
Squarepy has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 245 seconds]
rsync_ has quit [Quit: rsync_]
dhruvasagar has joined #ruby-lang
Kuukunen has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
patrickod has quit [Ping timeout: 264 seconds]
krz has quit [Quit: krz]
vlad_starkov has joined #ruby-lang
Domon has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby-lang
krohrbaugh has joined #ruby-lang
mikestok has joined #ruby-lang
patrickod has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
Domon has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
retro|cz has quit [Ping timeout: 276 seconds]
divout has quit [Quit: Leaving.]
xcombelle has joined #ruby-lang
marr has joined #ruby-lang
benlovell has quit [Read error: Operation timed out]
Domon has quit [Remote host closed the connection]
mbj has joined #ruby-lang
postmodern has quit [Quit: Leaving]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<wnd>
Obviously I don't understand standard streams well enough to really understand why this works the way it does: https://gist.github.com/wnd/79c9e8b4bb9d4d6482ff . Takes filename as argument, creates/overwrites it. Comment line 13 to see expected behaviour.
sailias has joined #ruby-lang
TvL2386 has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
<yorickpeterse>
haha, so somebody suggested some alternative syntax for block args on ruby-core
<yorickpeterse>
Matz replies, but probably due to him not fully understanding English made a fun reply:
<yorickpeterse>
"I don't think the syntax cannot be defined without conflict.Prove me I am wrong."
<yorickpeterse>
Probably meant to write "prove me if I'm wrong" but now it basically looks like he said "COME AT ME BRO"
<erikh>
"prove me wrong"
<erikh>
helps to, uh, know english
<erikh>
:P
vlad_starkov has quit [Remote host closed the connection]
ryez has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
<judofyr>
is there a better word for "unshift"?
<yorickpeterse>
prepend
nghialv2607 has quit [Remote host closed the connection]
<GarethAdams>
shunt
swav has quit [Ping timeout: 245 seconds]
<GarethAdams>
pop/push shift/shunt
<GarethAdams>
but yeah, prepend really
marr has joined #ruby-lang
<yorickpeterse>
put_at_the_front_of
<yorickpeterse>
because methods should be sentences
dr_bob has quit [Read error: Connection reset by peer]
* GarethAdams
yoinks that method
zommi has quit [Remote host closed the connection]
<GarethAdams>
GarethAdams.yoink(:that_method)
sailias has quit [Quit: Leaving.]
sailias has joined #ruby-lang
srbaker has joined #ruby-lang
krohrbaugh has joined #ruby-lang
mucker has joined #ruby-lang
yalue has joined #ruby-lang
marr has quit [Ping timeout: 256 seconds]
swav has joined #ruby-lang
marr has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
sailias has quit [Quit: Leaving.]
tbuehlmann has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 256 seconds]
barttenbrinke has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
<charliesome>
yorickpeterse: haha yeah i thought the same thing too (re: "prove me i am wrong")
mikestok has quit [Quit: Computer has gone to sleep.]
marr has quit [Ping timeout: 276 seconds]
barttenbrinke has joined #ruby-lang
nghialv2607 has joined #ruby-lang
leandrosnunes has joined #ruby-lang
ryez has joined #ruby-lang
jovy88 has quit [Ping timeout: 252 seconds]
kke has joined #ruby-lang
leandrosnunes has quit []
Kuukunen has quit [Quit: leaving]
Kuukunen has joined #ruby-lang
<kke>
class Zuper { def self.initialized(child) { xxx } }; Object.const_set(:FooFoo, Class.new(Zuper)) sooo, can i get the :FooFoo into zuper's self.inherited somehow? it works if i do class FooFoo < Zuper but not if i do it the funny way
<kke>
not initialized but self.inherited
jmeeuwen has quit [Ping timeout: 264 seconds]
mikestok has joined #ruby-lang
idkazuma has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
AndChat| has joined #ruby-lang
marr has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 252 seconds]
<judofyr>
kke: #inherited is called when Class.new(Zuper) is called, and the class isn't named at that point
infecto has quit [Read error: Operation timed out]
<kke>
judofyr: yes, i realize that :) trying to figure out a workaround
<judofyr>
kke: well, why do you care about the name?
leandrosnunes has joined #ruby-lang
infecto has joined #ruby-lang
<kke>
judofyr: because i do something like Object.const_defined?(child.to_s.concat('Alternate'))
<judofyr>
kke: why would you do that?
vlad_starkov has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
jmeeuwen has joined #ruby-lang
<kke>
hmm actually i'm not sure if i need to, now as i think about it further
tomzx_mac has quit [Ping timeout: 252 seconds]
<kke>
indeed i do not
<judofyr>
:)
vlad_starkov has joined #ruby-lang
marr has quit [Ping timeout: 264 seconds]
<kke>
i made a kind of light version of activerecord model that is basically just a hash and i stored the real heavy model name in @@model when self.inherited
marr has joined #ruby-lang
Austin__ has joined #ruby-lang
<kke>
actually it's kind of good, maybe it's been done before, but i got carried away
mistym has quit [Remote host closed the connection]
<kke>
whitequark: i can now do like class UserLight < LightModel and it has UserLight.find and other stuff that acts like AR, but instead of returning Users it returns hashes/arrays of hashes (and works with &block too instead of loading all to memory) with a couple of extra methods so that associations work also, they're read only, good for listings and stuff.
krohrbaugh has joined #ruby-lang
sush24 has joined #ruby-lang
dfdf has quit [Ping timeout: 245 seconds]
krohrbaugh has quit [Ping timeout: 248 seconds]
kgrz has joined #ruby-lang
<kke>
because some of our models are so shamefully bloated
dhruvasagar has quit [Ping timeout: 268 seconds]
dfdf has joined #ruby-lang
<whitequark>
kke: sounds like you're solving the wrong problem
toretore has joined #ruby-lang
jvrmaia has joined #ruby-lang
<yorickpeterse>
recursion is so much easier once you understand recursion
migz has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
malev has joined #ruby-lang
scottschecter has quit [Ping timeout: 264 seconds]
dfdf has quit [Read error: Operation timed out]
marr has quit [Ping timeout: 252 seconds]
<injekt>
wise words
wmoxam has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
dfdf has joined #ruby-lang
<whitequark>
why is recursion hard in the first place
<GarethAdams>
because recusion is hard in the first place
TvL2386 has quit [Quit: Ex-Chat]
breakingthings has joined #ruby-lang
Austin__ has quit [Quit: Leaving.]
dfdf has quit [Ping timeout: 252 seconds]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<andrewvos>
even spelling it is hard
marr has joined #ruby-lang
davejlong has joined #ruby-lang
io_syl has joined #ruby-lang
scottschecter has joined #ruby-lang
davejlong has left #ruby-lang [#ruby-lang]
joschi has quit [Ping timeout: 256 seconds]
joschi has joined #ruby-lang
davejlong has joined #ruby-lang
<davejlong>
Does anyone know an easy way to remove new line characters from a string in Ruby?
<davejlong>
I know I could use a regex to replace \n with ''
<davejlong>
but I wasn't sure if there was an easier way.
idkazuma has quit [Remote host closed the connection]
GarethAdams has quit [Read error: Connection reset by peer]
<injekt>
what's the best way to test the output of an executable?
<injekt>
output = catch_output('bin/foo') where bin/foo will be fed into system() and if it aborts with an error message, output would be filled with that
<injekt>
catching stderr/stdout into a stringio doesnt work
mineiro has quit [Read error: Connection reset by peer]
kgrz has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby-lang
mineiro has joined #ruby-lang
wesside has joined #ruby-lang
marr has joined #ruby-lang
<mistym>
injekt: What about using `` and $?
<injekt>
mistym: sure I can use that to check the exitstatus but I need to test against the error message
<mistym>
injekt: Oh, so you're looking for stderr, not stdout?
<injekt>
catching stderr wont help because it's being executed outside of the ruby process I guess?
tbuehlmann has quit [Remote host closed the connection]
MaddinXx_ has joined #ruby-lang
jvrmaia has joined #ruby-lang
Kuukunen has quit [Quit: leaving]
<mistym>
injekt: I guess you could `foo 2>&1 >/dev/null`, so you redirect stderr to stdout and the original stdout to /dev/null; that way `` will capture only stderr from your process
malev has quit [Remote host closed the connection]
pskosinski has joined #ruby-lang
<injekt>
mistym: hmm that doesn't work, at least redirecting stderr didn't work, it still displayed it
Kuukunen has joined #ruby-lang
<mistym>
injekt: Hm, strange. It worked for me.
<injekt>
mistym: does it still write to stderr though?
<injekt>
because nothing is written for me
nathanstitt has joined #ruby-lang
<injekt>
im looking for something along the lines of; $stderr = StringIO.new; `bin/foo ...`; $stderr.string == 'some error message'
<mistym>
injekt: It doesn't write to stderr, it's captured by ``.
<injekt>
oh duh
<injekt>
mistym: of course, thanks!
<mistym>
No problem!
<benlovell>
o_O
jvrmaia_ has joined #ruby-lang
<ericwood>
O_o
Nisstyre has joined #ruby-lang
jvrmaia has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 276 seconds]
gnufied1 has quit [Quit: Leaving.]
Mon_Ouie has joined #ruby-lang
Criztian has joined #ruby-lang
<mistym>
0_0
infecto has quit [Ping timeout: 245 seconds]
infecto has joined #ruby-lang
Nisstyre has quit [Ping timeout: 264 seconds]
bzalasky has quit [Remote host closed the connection]
fsvehla has joined #ruby-lang
marr has joined #ruby-lang
bzalasky has joined #ruby-lang
erpuds has joined #ruby-lang
<benlovell>
._. slow Friday, huh.
agile has joined #ruby-lang
mytrile has joined #ruby-lang
leandrosnunes has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
baba has joined #ruby-lang
megha has quit [Ping timeout: 252 seconds]
jvrmaia_ has quit [Ping timeout: 245 seconds]
bzalasky has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
bzalasky has joined #ruby-lang
solars has quit [Read error: Operation timed out]
manutter has left #ruby-lang [#ruby-lang]
bzalasky has quit [Remote host closed the connection]
jvrmaia_ has joined #ruby-lang
outoftime has joined #ruby-lang
jvrmaia has quit [Ping timeout: 260 seconds]
ndrst has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 264 seconds]
<zzak>
got my passport
<zzak>
this thing is a beautiful piece of documentation
GeissT has quit [Quit: MillBroChat AdIRC User]
<zzak>
makes me proud
ndrst has joined #ruby-lang
marr has joined #ruby-lang
dr_bob has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
asunderland has joined #ruby-lang
erpuds has quit [Quit: erpuds]
nXqd has quit [Ping timeout: 256 seconds]
erpuds has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
judofyr has joined #ruby-lang
sailias has quit [Ping timeout: 245 seconds]
manutter has joined #ruby-lang
znake has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 256 seconds]
gnufied has quit [Quit: Leaving.]
noop has quit [Remote host closed the connection]
sailias has joined #ruby-lang
marr has quit [Ping timeout: 248 seconds]
benlovell has quit [Ping timeout: 264 seconds]
marr has joined #ruby-lang
melter has quit [Quit: Client exiting]
tylersmith has joined #ruby-lang
nathanstitt has quit [Ping timeout: 252 seconds]
nathanstitt has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
TheNotary has joined #ruby-lang
melter has joined #ruby-lang
fsvehla has joined #ruby-lang
jvrmaia_ has quit [Remote host closed the connection]
jvrmaia has joined #ruby-lang
jvrmaia has quit [Ping timeout: 245 seconds]
judofyr has quit [Remote host closed the connection]
judofyr has joined #ruby-lang
nathanstitt has quit [Ping timeout: 246 seconds]
DEac- has quit [Read error: Connection reset by peer]
<eam>
erikh: ltns?
DEac- has joined #ruby-lang
swav has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
mineiro has quit [Read error: Connection reset by peer]
marr123 has joined #ruby-lang
marr has quit [Ping timeout: 268 seconds]
marr123 has quit [Remote host closed the connection]
mineiro has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
xcombelle has quit [Remote host closed the connection]
thisirs has joined #ruby-lang
jvrmaia_ has joined #ruby-lang
kirin` has quit [Ping timeout: 246 seconds]
pkrnj has joined #ruby-lang
jvrmaia has quit [Ping timeout: 256 seconds]
nixterrimus has joined #ruby-lang
kirin` has joined #ruby-lang
Luwe has quit [Ping timeout: 245 seconds]
kirin` has quit [Ping timeout: 245 seconds]
kirin` has joined #ruby-lang
erpuds has joined #ruby-lang
intellitech has quit [Ping timeout: 252 seconds]
jxie has joined #ruby-lang
heftig has quit [Quit: Quitting]
heftig has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
jvrmaia has joined #ruby-lang
dfdf has quit [Remote host closed the connection]
jvrmaia_ has quit [Ping timeout: 245 seconds]
oneirophren has quit [Ping timeout: 256 seconds]
dfdf has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Read error: Connection reset by peer]
krohrbaugh1 has joined #ruby-lang
krohrbaugh2 has joined #ruby-lang
krohrbaugh1 has quit [Read error: Connection reset by peer]
krohrbaugh has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jvrmaia has quit [Ping timeout: 245 seconds]
jvrmaia has joined #ruby-lang
jacktrick has quit [Quit: Leaving]
fsvehla has quit [Quit: fsvehla]
havenwood has joined #ruby-lang
slippyd has quit [Quit: slippyd]
Criztian has quit [Remote host closed the connection]
leandrosnunes has joined #ruby-lang
dhruvasagar has joined #ruby-lang
mbj has quit [Quit: leaving]
dfdf has quit [Remote host closed the connection]
kennyvb has quit [Ping timeout: 256 seconds]
kennyvb has joined #ruby-lang
dfdf has joined #ruby-lang
mineiro has quit [Read error: Connection reset by peer]
dfdf has quit [Remote host closed the connection]
mineiro has joined #ruby-lang
workmad3 has joined #ruby-lang
glebm has quit [Ping timeout: 245 seconds]
davejlong has joined #ruby-lang
<davejlong>
Does anyone know if it's possible to write a binary string to an Amazon S3 object using the aws-sdk?
glebm has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
wmoxam has quit [Quit: Lost terminal]
kennyvb has quit [Ping timeout: 252 seconds]
AndChat| has quit [Ping timeout: 246 seconds]
<duckinator>
kke: did you figure out the deal with the instance method stuff?
kennyvb has joined #ruby-lang
jvrmaia has quit [Ping timeout: 256 seconds]
pdswan_ has joined #ruby-lang
krohrbaugh2 has quit [Quit: Leaving.]
jvrmaia has joined #ruby-lang
<duckinator>
kke: i was curious and poked around, only way i can find has a risk of causing unintended side effects: X.new.method(:y).to_proc (the side effects being whatever is done in X.new)
pdswan has quit [Ping timeout: 264 seconds]
barttenbrinke has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 260 seconds]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
kennyvb has quit [Ping timeout: 248 seconds]
kennyvb has joined #ruby-lang
<kke>
duckinator: nope, gave up. usually it's not probably a good idea anyways, sometimes it might be.
dfdf has joined #ruby-lang
znake|away is now known as znake
dfdf is now known as _KGBot_
workmad3 has quit [Ping timeout: 256 seconds]
<kke>
actually in my case i already know the file where the original method is defined, so i could just search for the definition and eval that in the other context
<kke>
maybe i'll do just that
spike|spiegel has joined #ruby-lang
bradland has joined #ruby-lang
nixterrimus has quit [Ping timeout: 276 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
glebm has quit [Ping timeout: 245 seconds]
mrsolo has joined #ruby-lang
cmckni3 has joined #ruby-lang
davejlong has quit [Quit: Leaving.]
idkazuma has joined #ruby-lang
tbuehlmann has joined #ruby-lang
glebm has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-lang
erpuds has quit [Quit: erpuds]
nixterrimus has joined #ruby-lang
glebm_ has joined #ruby-lang
glebm has quit [Ping timeout: 276 seconds]
_KGBot_ has quit [Remote host closed the connection]
kogent has quit [Quit: kogent]
jvrmaia_ has joined #ruby-lang
saarinen has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
<enfieldBG>
not really a ruby question but does anyone know how to use rsync with the --files-from option AND the -e ssh option? I can get rsync to work over ssh fine by itself, and I can get rsync to work from a file but can't get the two to work together.
erpuds has joined #ruby-lang
Luwe has joined #ruby-lang
<enfieldBG>
anyone?
mbj_ has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
<drbrain>
enfieldBG: ssh -e says "Sets the escape character for sessions with a pty"
<drbrain>
I would think that rsync doesn't have a pty
tbuehlmann has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 256 seconds]
<enfieldBG>
drbrain not sure what pty means....anyway a command like "rsync -av -e ssh myusername@192.168.1.3:/my/source/folder /home/user/Desktop/myfolder" works just fine....likewise "rsync -av --files-from=/home/user/files_for_rsync.txt / /home/user/Desktop/myfolder" works fine....BUT this "rsync -av -e ssh myusername@192.168.1.3: --files-from=/home/user/files_for_rsync.txt / /home/user/Desktop/myfolder" doesn't work
<drbrain>
ah, rsync -e, not ssh -e
io_syl has joined #ruby-lang
nixterrimus has joined #ruby-lang
<drbrain>
enfieldBG: you probably need some quoting
<erikh>
and a path for the ssh host
jvrmaia has joined #ruby-lang
rsl has joined #ruby-lang
<erikh>
I don't think just a : is valid like that
<drbrain>
enfieldBG: my rsync man page has an example in the "USING RSYNC-DAEMON FEATURES VIA A REMOTE-SHELL CONNECTION" section
<erikh>
what error do you get?
<erikh>
oh, and try putting --files-from first
brianpWins has quit [Quit: brianpWins]
workmad3 has joined #ruby-lang
symm- has joined #ruby-lang
brianpWins has joined #ruby-lang
<enfieldBG>
erikh I get the error: Unexpected local arg: /
sailias has quit [Ping timeout: 245 seconds]
Luwe has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
nixterrimus has quit [Ping timeout: 255 seconds]
<enfieldBG>
got it
dustint has quit [Quit: Leaving]
<enfieldBG>
rsync -av -e ssh myusername@192.168.1.3: --files-from=/home/user/files_for_rsync.txt :/ /home/user/Desktop/myfolder (that worked...the files from txt file has to be on the remote computer, and I had to add a : in the slash between the source and the destination)
forrest has joined #ruby-lang
Luwe has joined #ruby-lang
<enfieldBG>
I think just typed an extra space should not be a space between : and -- ( ...192.168.1.3:--files-from....) incase anyone wants to use this
kstone has joined #ruby-lang
saarinen has left #ruby-lang [#ruby-lang]
yalue has quit [Read error: Connection reset by peer]
<eam>
enfieldBG: why do you have :/ at all?
<eam>
and why -essh? That's implied
krohrbaugh has joined #ruby-lang
glebm has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 245 seconds]
pygmael has quit [Excess Flood]
adambeynon has joined #ruby-lang
pygmael has joined #ruby-lang
Luwe has quit [Quit: leaving]
<zenspider>
that's one option I've still never used in rsync
_KGBot_ has joined #ruby-lang
<zenspider>
seems a bit odd that the file is on the remote side
kstone has quit [Quit: kstone]
<zenspider>
tho I guess in this case the remote side is the source side
vlad_starkov has joined #ruby-lang
tenderlove has joined #ruby-lang
<enfieldBG>
eam :/ is the relative path
<enfieldBG>
zenspider yes the remote is the soruce
glebm has joined #ruby-lang
enfieldBG has quit [Quit: enfieldBG]
<eam>
the relative path is myusername@192.168.1.3:
<eam>
that command has two source paths, one destination