apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
<zenspider>
havenwood: it is? nice
tylersmith has quit [Remote host closed the connection]
runeb has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
nazty has joined #ruby-lang
rheddry has quit [Excess Flood]
levifig has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
spuk has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
krohrbaugh has joined #ruby-lang
arubin has joined #ruby-lang
hogeo has joined #ruby-lang
deedoubleyou has quit [Remote host closed the connection]
LinkedoT has joined #ruby-lang
towski has joined #ruby-lang
Markvilla has quit [Quit: Computer has gone to sleep.]
Mawk has quit [Quit: Mawk]
droptone has joined #ruby-lang
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cofin has joined #ruby-lang
wnd^ has joined #ruby-lang
wnd has quit [Ping timeout: 246 seconds]
mdedetrich has joined #ruby-lang
marr has quit [Ping timeout: 256 seconds]
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
krombr has quit [Read error: Operation timed out]
dhruvasagar has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
Glass_saga has joined #ruby-lang
towski has quit [Remote host closed the connection]
pr0ton has quit [Quit: pr0ton]
justinmburrous has quit [Remote host closed the connection]
Rizzle has joined #ruby-lang
vlad_starkov has joined #ruby-lang
justinmburrous has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
jonahR has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
Glass_saga has joined #ruby-lang
krohrbaugh1 has quit [Client Quit]
krohrbaugh has quit [Read error: Operation timed out]
nathanstitt has quit [Quit: I growing sleepy]
nevill has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 246 seconds]
stardiviner has joined #ruby-lang
teleological has joined #ruby-lang
saarinen has quit [Quit: saarinen]
nathanstitt has joined #ruby-lang
krz has joined #ruby-lang
stardiviner_ has joined #ruby-lang
stardiviner has quit [Ping timeout: 255 seconds]
woollyams has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
runeb has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
bryanl_ has quit [Excess Flood]
bryanl has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
Domon has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 252 seconds]
woollyams has quit [Ping timeout: 252 seconds]
tomzx_mac has joined #ruby-lang
robbyoconnor has joined #ruby-lang
kith_ has quit [Ping timeout: 248 seconds]
kstuart has quit [Ping timeout: 276 seconds]
havenwood has joined #ruby-lang
krombr has joined #ruby-lang
r0bby has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
vlad_starkov has joined #ruby-lang
r0bby is now known as robbyoconnor
jsullivandigs has joined #ruby-lang
pskosinski has quit [Quit: pskosinski]
vlad_starkov has quit [Ping timeout: 252 seconds]
mrsolo has quit [Quit: Leaving]
jsullivandigs has quit [Ping timeout: 252 seconds]
arooni-mobile has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
guns has joined #ruby-lang
smook1 has quit [Ping timeout: 255 seconds]
cored_ has quit [Ping timeout: 240 seconds]
cored has quit [Ping timeout: 256 seconds]
GeissT has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
smook1 has joined #ruby-lang
brianpWins has joined #ruby-lang
shinnya has quit [Read error: Operation timed out]
runeb- has joined #ruby-lang
runeb- is now known as runeb
mdedetrich has quit [Read error: Connection reset by peer]
mdedetrich has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
runeb has quit [Ping timeout: 255 seconds]
jonahR has quit [Quit: jonahR]
hahuang65 has joined #ruby-lang
<hahuang65>
Does anyone know how object.respond_to?(:method) works? It looks like it's actually calling the method… Is there something else that doesn't call the method?
tylersmith has joined #ruby-lang
hogeo has joined #ruby-lang
guns has quit [Read error: Operation timed out]
tylersmith has quit [Ping timeout: 276 seconds]
alex____ has joined #ruby-lang
krombr has quit [Quit: krombr]
crackity_jones has joined #ruby-lang
vlad_starkov has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
jonahR has joined #ruby-lang
krz has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 246 seconds]
krz has joined #ruby-lang
guns has joined #ruby-lang
cofin has quit [Quit: cofin]
alex____ has quit [Remote host closed the connection]
hashkey has joined #ruby-lang
lsegal has joined #ruby-lang
smook1 has quit [Ping timeout: 255 seconds]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
swygue has joined #ruby-lang
hashkey has quit [Client Quit]
hashkey has joined #ruby-lang
sush24 has joined #ruby-lang
sush24 has quit [Ping timeout: 255 seconds]
sush24 has joined #ruby-lang
teleological has quit [Remote host closed the connection]
ehutzelman has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
teleological has joined #ruby-lang
wallerdev has joined #ruby-lang
sush24_ has joined #ruby-lang
sush24 has quit [Ping timeout: 252 seconds]
brianpWins has quit [Quit: brianpWins]
therod has joined #ruby-lang
rodrigo- has joined #ruby-lang
gja has quit [Quit: Leaving]
postmodern has quit [Ping timeout: 276 seconds]
guns has quit [Ping timeout: 256 seconds]
smook1 has joined #ruby-lang
runeb has joined #ruby-lang
therod has quit [Ping timeout: 276 seconds]
postmodern has joined #ruby-lang
runeb has quit [Ping timeout: 255 seconds]
chana has joined #ruby-lang
MartynKeigher has quit [Excess Flood]
MartynKeigher has joined #ruby-lang
ikrima has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
nertzy2 has joined #ruby-lang
nertzy has quit [Ping timeout: 255 seconds]
arooni-mobile has quit [Ping timeout: 255 seconds]
Nisstyre-laptop has joined #ruby-lang
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
<drbrain>
respond_to? doesn't call the method
alex____ has joined #ruby-lang
nevill has quit [Quit: nevill]
GarethAdams has quit [Read error: Connection reset by peer]
GarethAdams has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Rizzle has quit [Read error: Connection reset by peer]
crackity_jones has quit [Quit: Computer has gone to sleep.]
arooni-mobile has joined #ruby-lang
Domon has quit [Remote host closed the connection]
io_syl has quit [Quit: Computer has gone to sleep.]
ia___ has joined #ruby-lang
agile has quit [Read error: No route to host]
enaqxx has quit [Remote host closed the connection]
srji has joined #ruby-lang
ehutzelman has quit [Remote host closed the connection]
thebastl has quit [Remote host closed the connection]
runeb has joined #ruby-lang
smook1 has quit [Ping timeout: 255 seconds]
thebastl has joined #ruby-lang
solars has joined #ruby-lang
skade has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<yorickpeterse>
HAAAAII
srji has quit [Quit: leaving]
adambeynon has joined #ruby-lang
marr has joined #ruby-lang
barttenbrinke has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 255 seconds]
srji has joined #ruby-lang
dhruvasagar has joined #ruby-lang
srji has quit [Client Quit]
srji has joined #ruby-lang
Nisstyre has joined #ruby-lang
dwainfaithfull has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
zomgbie has quit [Ping timeout: 252 seconds]
roadkith has quit [Read error: Connection reset by peer]
kith has joined #ruby-lang
bzalasky has joined #ruby-lang
barttenbrinke has joined #ruby-lang
zomgbie has joined #ruby-lang
nevill has quit [Quit: nevill]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Markvilla has joined #ruby-lang
Markvilla has quit [Max SendQ exceeded]
Markvilla has joined #ruby-lang
elia has joined #ruby-lang
sush24_ has quit [Ping timeout: 256 seconds]
kith has quit [Quit: Leaving...]
kith has joined #ruby-lang
x0f has quit [Ping timeout: 276 seconds]
x0f has joined #ruby-lang
nevill has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
sush24_ has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
elia has quit [Ping timeout: 248 seconds]
<andrewvos>
hi
smook1 has joined #ruby-lang
Johz has joined #ruby-lang
vmoravec has quit [Remote host closed the connection]
elia has joined #ruby-lang
<yorickpeterse>
So mkmf provides some methods to check for existing executables and all that, but mkmf is pretty shit API wise (especially the internals). Does anybody know of any decent alternatives?
<yorickpeterse>
e.g. right now I'm rolling my own find_executable() method but meh, I don't want to re-invent this myself
smook1 has quit [Ping timeout: 255 seconds]
setmeaway2 has quit [Ping timeout: 252 seconds]
Chamila has quit [Ping timeout: 250 seconds]
Weems has quit [Ping timeout: 252 seconds]
thebastl has joined #ruby-lang
axsuul has quit [Ping timeout: 240 seconds]
Domon has quit [Remote host closed the connection]
<erikh>
heh
<erikh>
do you think if there were any real alternatives to it anyone would use mkmf?
<erikh>
I mean, the code is downright scary
<yorickpeterse>
oh boy, I've reached this point where I have to check for headers
<yorickpeterse>
great
roadkith has joined #ruby-lang
<yorickpeterse>
haha, mkmf also uses global variables all over the plcae
<yorickpeterse>
* place
<yorickpeterse>
Really should be called $mkmf instead
snarfmason has quit [Ping timeout: 264 seconds]
deedoubleyou has joined #ruby-lang
zomgbie has quit [Read error: Connection reset by peer]
stardiviner_ has quit [Remote host closed the connection]
mlangenberg has joined #ruby-lang
GreatSUN has joined #ruby-lang
<GreatSUN>
hi all
tbuehlmann has joined #ruby-lang
snarfmason has joined #ruby-lang
zomgbie has joined #ruby-lang
<GreatSUN>
I have a problem with IO streaming from popen...
<GreatSUN>
My Process requests input which I want to send automatically, but everytime the process requests the input and I am trying to work on the byte where it wants the input, ruby code is going to a waitstate and is no more working.
<GreatSUN>
For Linux all this is possible with PTY and expect or equal
<GreatSUN>
but I have to build some working solution for windows
<GreatSUN>
does someone of you have any idea?
bzalasky has quit [Remote host closed the connection]
snarfmason has quit [Read error: Connection reset by peer]
<yorickpeterse>
Checking for python >= 2.7.0... yes
<yorickpeterse>
This feels so weird to do this in Ruby
<yorickpeterse>
I should probably call this r4 or something
* yorickpeterse
ru ns
<yorickpeterse>
and I suck at typing today
<GreatSUN>
yorickpeterse: hm?
snarfmason has joined #ruby-lang
<darix>
GreatSUN: he is working on an extconf.rb thing that also builds a python extension
<darix>
if i recall correctly
<yorickpeterse>
GreatSUN: unrelated to your question
<xAd>
Hi there, I would like to know if someone knows an open-source project/tool which would allow me to parse Ruby, and more specifically, to obtain a tree-view of a given Ruby program. I tried myself, without success, Ruby is like impossible to parse to me, so if someone knows any courageous man who tried and succeed, please tell me :)
<xAd>
And sorry for my English, I know it's quite bad
<GreatSUN>
xAd: you mean some developer environment
<GreatSUN>
?
<GreatSUN>
with highlighting and such?
GarethAdams has joined #ruby-lang
<GreatSUN>
darix: I don't see how I can run normal process with 0mq
<xAd>
No, I mean a tool which would allow me to give a Ruby source-code as input, and which would give me a tree-representation of the program. Pure parsing here
<darix>
xAd: more than one
<darix>
xAd: ruby_parser, parser from whitequark
<darix>
just to name two
<darix>
yorickpeterse can probably make the list even longer
<yorickpeterse>
use "parser", nuff said
<darix>
isnt ripper also something for the list?
thebastl has quit [Remote host closed the connection]
<yorickpeterse>
Ripper is terrible
<yorickpeterse>
don't use it
roadkith has quit [Ping timeout: 246 seconds]
<xAd>
yorickpeterse: Any link to GitHub's parser repository ?
<xAd>
I mean, "parser"
runeb has quit [Remote host closed the connection]
<darix>
yeah typing github whitequark parser into google is hard at time
<xAd>
I didn't know about whitequark (thought darix meant "ruby_parser, a parser written by whitequark"
<xAd>
)
<darix>
then i wouldnt have used a comma
<darix>
as whitequark used some very generic naming ... you have to mention him too
<xAd>
I think the comma was misleading actually, "or" would have been better
<xAd>
but well, I'm not native English speaker, and my English sucks
thebastl has joined #ruby-lang
henrikhodne has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
ugh, why the fuck does Python have no such thing as RubyGem's --user-install
<yorickpeterse>
easy_install that is, not everybody has pip sadly
<yorickpeterse>
because this makes my life a metric shit ton more difficult up to the point where I'm pretty sure I'll have to fucking vendor libxml2 and lxml
<require>
Hi there, I'm looking for a gem which would allow me to do (a)symetric encryption (AES, RSA, SHA-256+, etc), cross platform, and if possible NOT BASED on OpenSSL
tdy has quit [Read error: Connection reset by peer]
<require>
If you guys have any ideas...
tdy has joined #ruby-lang
require has quit [Quit: Page closed]
<Olipro>
PaulePanter: RubyMine has excellent code completion
barttenbrinke has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<gnufied>
require, yes just require "rot13"
crackity_jones has joined #ruby-lang
<injekt>
wat
verto has quit [Ping timeout: 252 seconds]
<PaulePanter>
Olipro: Yes, that’s what I heard. I guess I have to use ctags/cscope then.
skade has quit [Ping timeout: 255 seconds]
<PaulePanter>
gnufied: require is already off.
<gnufied>
yes, I know sadly. But I tried.
<gnufied>
I don't know if there is anything that does all that and is not based on OpenSSL
dhruvasagar has quit [Read error: Connection reset by peer]
setmeaway2 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
mlangenberg has quit [Quit: mlangenberg]
Taranis has left #ruby-lang [#ruby-lang]
vlad_starkov has quit [Remote host closed the connection]
enebo has joined #ruby-lang
pskosinski has joined #ruby-lang
mlangenberg has joined #ruby-lang
davemaurakis has joined #ruby-lang
mnngfltg has quit [Quit: Ex-Chat]
mdedetrich has quit [Quit: Computer has gone to sleep.]
mucker has quit [Quit: leaving]
<yorickpeterse>
ERROR INSTALLING GEM DERP: ATTEMPT TO INSTALL FILE INTO some/weird/path/that/makes/no/sense
<yorickpeterse>
I don't like today
<yorickpeterse>
aha, there's a bloody directory in my gem.files
jxie has joined #ruby-lang
<yorickpeterse>
and that wasn't the issue, god damn it
nathanstitt has quit [Quit: I growing sleepy]
wesside_ has quit [Quit: Computer has gone to sleep.]
nathanstitt has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
intellitech has quit [Quit: SMOKE BOMB!]
intellitech has joined #ruby-lang
<yorickpeterse>
TIL Gem::Specification#files can only include relative file paths
<yorickpeterse>
because that makes total sense
gnufied has quit [Quit: Leaving.]
Kimme`UP{afk} has quit [Read error: Connection reset by peer]
srji has quit [Quit: leaving]
thiagoborges has quit [Remote host closed the connection]
sirfilip has quit [Remote host closed the connection]
henrikhodne has quit [Quit: Computer has gone to sleep.]
AynGhandi has quit [Quit: Nettalk6 - www.ntalk.de]
ffio_ has quit [Ping timeout: 252 seconds]
_ffio_ has joined #ruby-lang
cofin has joined #ruby-lang
krames has joined #ruby-lang
gnufied has joined #ruby-lang
davemaurakis has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 256 seconds]
pskosinski has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
Taranis has joined #ruby-lang
pskosinski has joined #ruby-lang
nveselinov_ has quit [Ping timeout: 276 seconds]
barttenbrinke has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
GarethAdams has quit [Ping timeout: 256 seconds]
ehutzelman has joined #ruby-lang
tonni has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
tyman has joined #ruby-lang
benlovell has quit [Read error: Operation timed out]
banisterfiend has joined #ruby-lang
davemaurakis has joined #ruby-lang
<banisterfiend>
chris2: yo, is there a way to just have a test skipped in bacon ?
<banisterfiend>
couldn't see anythign in the docs
bzalasky has joined #ruby-lang
havenwood has joined #ruby-lang
<chris2>
banisterfiend: hm, test/spec had that
GarethAdams has joined #ruby-lang
<chris2>
you can just add a return right at the beginning, no?
<banisterfiend>
chris2: ya it's not hard to work around, just curious if u had anything built in.
<banisterfiend>
thx
<chris2>
i think i decided it was not useful
wesside_ has joined #ruby-lang
<banisterfiend>
chris2: is there a way to just test for truthiness?
tyman has quit [Quit: tyman]
<chris2>
not out of the box, except for (!!x).should.be.true
<banisterfiend>
cool
<banisterfiend>
thx
<chris2>
or class Object; def truthy?; !!self; end; end
<chris2>
.should.be.truthy
<chris2>
imo, people should define more predicates and check for them
<chris2>
(you can use a lambda if you dont want to fiddle in core classes)
nathanstitt has joined #ruby-lang
Rizzle has joined #ruby-lang
<banisterfiend>
chris2: yes i think you're right, i should get into the habit of defining my own predicates
kstuart has joined #ruby-lang
<banisterfiend>
instead i've been using quite elaborate/twisted assertions based on the standard assertions :)
<whitequark>
judofyr: PaulePanter: wtf are you doing
<whitequark>
it IS always a symbol
<whitequark>
if it isn't, you're doing something wrong
jinie is now known as jinie_
GreatSUN has quit [Ping timeout: 250 seconds]
ryez has quit [Ping timeout: 250 seconds]
ruurd has quit [Quit: Leaving...]
schaerli has quit [Remote host closed the connection]
<banisterfiend>
anyone know of a nice diffing lib for js? i give it two strings and it gives me back a div (or whatever) with a diff properly syntax highlighted (red/green) ?
<whitequark>
#ruby-lang
crackity_jones has joined #ruby-lang
<banisterfiend>
yes i was being a bit cheeky :)
<judofyr>
banisterfiend: diff-match=patch has been ported to JS. you'll have to implement the UI yourself though
<darix>
banisterfiend: how about doing the diff e.g. in ruby and let js just do the hilighting
<banisterfiend>
darix: that's an idea, but i'd like to avoid talking to the server if i can
stringly_typed has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 260 seconds]
<banisterfiend>
gnufied: does it insert "end" as well?
<gnufied>
banisterfiend: no
<banisterfiend>
ah..
<banisterfiend>
too bad, i wanted that :)
anonymuse has quit [Quit: Leaving...]
<banisterfiend>
gnufied: i see enh-ruby-mode on elpa, but no enhanced-ruby-mode
<gnufied>
But - you can press C-c / to insert end
rfizzle has joined #ruby-lang
<gnufied>
banisterfiend: I don't use enh-ruby-mode from elpa I use straight from zenspider's tree on github
<banisterfiend>
gnufied: via el-get ?
<rfizzle>
Is there a way in ruby to not wait for a method to return?
<gnufied>
I was recommending using elpa to download enclose.el
solars has quit [Ping timeout: 240 seconds]
<gnufied>
banisterfiend: I haven't used el-get, but my friend tells me it works with git repos. but I just clone it as submodule and set the path manually.
<banisterfiend>
gnufied: thanks..the enhanced-ruby-mode readme is quite sparse, what does it bring to teh table?
<gnufied>
error reporting without flymake mode
tylersmith has joined #ruby-lang
<gnufied>
it is very quick. it tells you about unused variables etc
<banisterfiend>
gnufied: i notice that ruby-mode (and likely enhanced-ruby-mode) auto highlights all occurrences of the same simple (such as variable and method names) is there a way to jump between those occurences?
cstrahan has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<banisterfiend>
same symbol*
GarethAdams|Work has joined #ruby-lang
enebo has quit [Quit: enebo]
GarethAdams has quit [Disconnected by services]
JpC0utur3 has quit [Ping timeout: 240 seconds]
<gnufied>
select the symbol and press forward search?
<gnufied>
thats what I do.
GarethAdams|Work is now known as GarethAdams
<gnufied>
forward search as in - C s
<gnufied>
I don't think though enh-ruby-mode or ruby-mode has a inbuilt feature of highlighting same symbols
<banisterfiend>
gnufied: except that forward-search also matches things that are not that symbol, say i was on the load method, and i wanted to find other instances of load, but i also have a load_fast method, it also jumps to load_fast
<gnufied>
you must be having something else installed.
tylersmith has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
<banisterfiend>
his is a real pain if the variable your'e wanting to jump to is a single letter, like 'v'
<banisterfiend>
it'll jump to all words that contain v
<gnufied>
some of use occur-mode for that
<banisterfiend>
anyway not a big deal
<banisterfiend>
thx
<gnufied>
select the symbol and press Control-o
<gnufied>
(that is o not zero)
bzalasky has quit [Remote host closed the connection]
<gnufied>
it is still not perfect. I don't know how you will do exact word match other than using a regex!
<gnufied>
banisterfiend: Try using C-c / btw, it autoinserts "end" perfectly!
<gnufied>
with enh-ruby-mode
schaerli has quit [Remote host closed the connection]
apeiros_ has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
eklarskov has joined #ruby-lang
ale______ has joined #ruby-lang
<banisterfiend>
gnufied: do you know of any elisp api wrappers around grep/ack ? i'd like to just get the file/linenumber back (without having to parse an output buffer)
<banisterfiend>
how do i turn off warnings again? (at runtime)
henrikhodne has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
nathanst_ has quit [Quit: I growing sleepy]
<gnufied>
coming from enh-ruby-mode ?
dhruvasagar has joined #ruby-lang
<banisterfiend>
no hehe, just generally in ruby :)
<x0f>
$VERBOSE = nil ?
<x0f>
or was it false?
<gnufied>
I am confused, where is real banisterfiend !
<gnufied>
he would know that
<banisterfiend>
gnufied: i forget little things like this ;)
nveselinov has quit [Quit: Leaving]
nveselinov has joined #ruby-lang
<banisterfiend>
x0f: yep $VERBOSE=nil did it, thanks
brianpWins has joined #ruby-lang
<gnufied>
btw, I was wondering about something, I wrote this little gem (https://github.com/code-mancers/invoker) and wanted to add support so as using binding.pry() works from within the process
<gnufied>
but process was started via spawn()
<gnufied>
so, I am looking at pry-remote() or waiting on STDIN
<gnufied>
of spawned process.
<gnufied>
not made up my mind yet, but I am just looking at few approaches
tylersmith has joined #ruby-lang
justinmburrous has joined #ruby-lang
adambeynon has quit [Quit: Computer has gone to sleep.]
stringly_typed has joined #ruby-lang
mistym is now known as mistym_lunch
<banisterfiend>
gnufied: if you dont mind a dep on EM, pry-remote-em is even cooler than pry-remote
judofyr has quit [Remote host closed the connection]
dankest has quit [Read error: Connection reset by peer]
firstdayonthejob has joined #ruby-lang
saarinen has quit [Quit: saarinen]
Dan_ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
Dan_ is now known as Guest69827
GarethAdams has joined #ruby-lang
Linkedipsoul has joined #ruby-lang
arooni-mobile has quit [Client Quit]
arooni-mobile has joined #ruby-lang
saarinen has joined #ruby-lang
postmodern has joined #ruby-lang
Linkedipsoul has quit [Client Quit]
cored has quit [Ping timeout: 248 seconds]
sepp2k has quit [Ping timeout: 246 seconds]
mistym_meeting is now known as mistym
<Aloysius1>
Is there a convention is non-Rails Ruby similar to the Rails environment settings for distinguishing between test, production, development, etc?
<Aloysius1>
^Is there a convention IN
<lianj>
no
kirin` has quit [Ping timeout: 260 seconds]
<Aloysius1>
Ok, then, thanks.
kirin` has joined #ruby-lang
<anonymuse>
should i be installing ruby on a production machine with RVM, or by itself?
mucker has quit [Quit: leaving]
__butch__ has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
<lianj>
anonymuse: your choice. i prefer rbenv
<anonymuse>
lianj: thanks, I'll take a look at that
teleological has quit [Remote host closed the connection]
<anonymuse>
is it more suited to a server and less to a development environment?
carloslopes has quit [Remote host closed the connection]
judofyr has joined #ruby-lang
<lianj>
anonymuse: doesnt matter
sepp2k has joined #ruby-lang
<anonymuse>
i feel like i should be hesitatnt to install rvm on a server for some reason
carloslopes has joined #ruby-lang
<lianj>
why? i mean if your system bring the ruby version you want, just use this. if not use rvm or rbenv
Weems has joined #ruby-lang
blowmage` has left #ruby-lang [#ruby-lang]
blowmage has joined #ruby-lang
zmike123 has quit [Quit: Выходжу]
arooni-mobile has quit [Ping timeout: 276 seconds]
<anonymuse>
lianj: cool, i'll give both a try the
<anonymuse>
then*
stringly_typed has quit [Quit: Computer has gone to sleep.]
machuga is now known as machuga|away
runeb- has joined #ruby-lang
runeb is now known as Guest14317
Guest14317 has quit [Killed (sendak.freenode.net (Nickname regained by services))]
runeb- is now known as runeb
runeb has quit [Read error: Connection reset by peer]
runeb- has joined #ruby-lang
runeb- is now known as runeb
crackity_jones has joined #ruby-lang
Rizzle has quit [Read error: Connection reset by peer]
Guest69827 has quit [Read error: Connection reset by peer]
krombr has joined #ruby-lang
dankest has joined #ruby-lang
synthetix has joined #ruby-lang
Rizzle has joined #ruby-lang
dankest has quit [Ping timeout: 248 seconds]
machuga|away is now known as machuga
yalue has quit [Quit: Leaving]
stringly_typed has joined #ruby-lang
crackity_jones has quit [Quit: Computer has gone to sleep.]
ajack has joined #ruby-lang
ajack has quit [Client Quit]
carloslopes has quit [Remote host closed the connection]
mbj has joined #ruby-lang
teleological has joined #ruby-lang
stringly_typed has quit [Quit: Computer has gone to sleep.]
saarinen has quit [Quit: saarinen]
stringly_typed has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
ruurd has joined #ruby-lang
pr0ton has joined #ruby-lang
arubin has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
dwainfaithfull has quit [Read error: Connection reset by peer]
mlangenberg has joined #ruby-lang
dwainfaithfull has joined #ruby-lang
vbatts|work has quit [Quit: MeSoChatty 0.3.8]
workmad3 has quit [Ping timeout: 248 seconds]
runeb has quit [Remote host closed the connection]
<Aloysius1>
If I have a string "a,b" and I want to split it, is there an elegant rubyism such that I can end up with {"a"=>"b"}? Like, I know I can do h["a,b".split(",")[0]] = "a,b".split(",")[1]) or use temp variables but is there a nicer way?
<Aloysius1>
zip?
<matled>
> Hash[*"a,b,c,d".split(",")]
<matled>
=> {"a"=>"b", "c"=>"d"}
<Aloysius1>
matled...oh, right...:-P Thanks!
schaerli has quit [Remote host closed the connection]
pr0ton has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
saarinen has joined #ruby-lang
machuga is now known as machuga|away
jinie_ is now known as jinie
mlangenberg has left #ruby-lang [#ruby-lang]
__butch__ has quit [Quit: Leaving.]
deedoubleyou has quit [Quit: Leaving]
deedoubleyou has joined #ruby-lang
deedoubleyou has quit [Remote host closed the connection]
judofyr has quit [Remote host closed the connection]
towski has quit [Remote host closed the connection]
andrewvos has joined #ruby-lang
<andrewvos>
hi
forrest has quit [Quit: Leaving]
ruby-lang345 has joined #ruby-lang
davemaurakis has joined #ruby-lang
rfizzle has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
dankest has joined #ruby-lang
ruby-lang345 is now known as Elandil
rfizzle has quit [Client Quit]
<Elandil>
Hello, I have a quick question. I'm new to Ruby, and can't seem to figure this out. Why does this simple code https://gist.github.com/Icyene/76f4eb269c394e6790c7 not work? It fails with "ArgumentError: wrong number of arguments calling `initialize`".
<andrewvos>
Why would you want to unload or reload a plugin at runtime?
wmoxam has quit [Ping timeout: 256 seconds]
<andrewvos>
It would be a lot easier if you just didn't do that
havenwood has quit [Remote host closed the connection]
andrewvos has quit [Quit: leaving]
andrewvos has joined #ruby-lang
anonymuse has quit [Quit: Leaving...]
andrewvos has quit [Client Quit]
tylersmith has quit [Remote host closed the connection]
<somasonic>
he's gone but, because otherwise I have to quit and rejoin IRC every time I modify a single piece of code and every irc bot ever does this?
<somasonic>
it's simply the best way to do it
<somasonic>
just because it is easy doesn't mean I shouldn't do it!
pskosinski has joined #ruby-lang
ruby-lang107 has quit [Ping timeout: 250 seconds]
Spaceghost|work has joined #ruby-lang
smook1 has joined #ruby-lang
<jacktrick>
have you looked at rbot's source? could give you ideas
pipework has quit [Ping timeout: 248 seconds]
spuk has joined #ruby-lang
x0f has quit [Ping timeout: 252 seconds]
x0f has joined #ruby-lang
<drbrain>
you can't explicitly unload a class, but you can remove_const it's name and remove references to its instances
<drbrain>
the GC will clean it up eventually
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cofin has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
stringly_typed has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
justinmburrous has quit [Read error: Connection reset by peer]