havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
viperman has joined #ruby
paz__1 has left #ruby [#ruby]
hannelita has joined #ruby
shinnya has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
d5sx43 has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 260 seconds]
exadeci has joined #ruby
JDiPierro has quit [Remote host closed the connection]
citrusfizz has joined #ruby
d5sx43 has joined #ruby
<dopie> :Gwrite | :GCommit -m "work in progress | :Gpush
edwinvdgraaf has quit [Remote host closed the connection]
<dopie> I can do something like that
<dopie> :Gwrite | :GCommit -m "work in progress" | :Gpush
thomcom has joined #ruby
d5sx43 has quit [Client Quit]
Yzguy has quit [Read error: Connection reset by peer]
weemsledeux has joined #ruby
freerobby has joined #ruby
cschneid_ has quit [Remote host closed the connection]
freerobby has quit [Client Quit]
<Ox0dea> /part #vim
Vertroa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dopie> Not an editor command: :Gcommit -m "WIP" | :GPush
<dopie> errr
<dopie> wrong channel
jbrhbr has quit [Quit: Leaving.]
dlitvak has joined #ruby
dlitvak has quit [Remote host closed the connection]
<Ox0dea> Majora_: The board should be a flat, nine-element array whose elements represent either an as yet unplayed cell or a played one, for which there are two possibilities in the latter case.
dlitvak has joined #ruby
<Ox0dea> The ternary number 201120102 represents a win for player 2.
<Ox0dea> And also that player 1 is maybe retarded.
gambl0re has quit []
<shevy> lol
thomcom has quit [Quit: Textual IRC Client: www.textualapp.com]
baweaver has joined #ruby
firstdayonthejob has quit [Ping timeout: 255 seconds]
jbrhbr has joined #ruby
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
Vertroa has joined #ruby
choke has quit [Ping timeout: 265 seconds]
hanmac has joined #ruby
shadoi has joined #ruby
djbkd has joined #ruby
kgirthofer has quit [Ping timeout: 260 seconds]
choke has joined #ruby
mary5030 has joined #ruby
xelkarin has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
ascarter has joined #ruby
underplank has quit [Ping timeout: 276 seconds]
<xelkarin> Is the string returned by StringValueCStr() a reference or a copy of the internal ruby string?
dlitvak_ has joined #ruby
tubuliferous_ has joined #ruby
dlitvak has quit [Read error: Connection reset by peer]
r_rios has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
djbkd has quit [Ping timeout: 272 seconds]
frem has quit [Quit: Connection closed for inactivity]
r_rios has quit [Client Quit]
<drbrain> xelkarin: looks like it is a reference, but I'm unsure if that is guaranteed by the API
foureight84_ has quit [Quit: Be back later ...]
nixmaniack has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Vertroa has quit [Ping timeout: 265 seconds]
Wsewolod has joined #ruby
<drbrain> xelkarin: … thinking upon it, I think it is always a reference as you never need to free() it
<drbrain> at least, the documentation doesn't say so
despai has quit [Quit: Leaving]
<xelkarin> cool, thanks drbrain
<drbrain> and I've never seen anyone try to free() the result either
nofxx has quit [Ping timeout: 255 seconds]
nofxx has joined #ruby
chouhoulis has joined #ruby
skcin7 has joined #ruby
yfeldblum has joined #ruby
dlitvak_ has quit [Remote host closed the connection]
mjuszczak has quit []
Kneecaps has quit [Quit: Leaving...]
nixmaniack has quit [Ping timeout: 256 seconds]
kgirthofer has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
paradisaeidae has quit [Remote host closed the connection]
colegatron has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
gambl0re has joined #ruby
<shevy> I want to break freeee()
<Ox0dea> xelkarin: https://eval.in/498891
<Ox0dea> Definitely a reference.
mjuszczak has joined #ruby
gluec is now known as jgorak
kalopsian has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby
nerfando has quit [Ping timeout: 264 seconds]
rakm has joined #ruby
<Ox0dea> shevy: That reminded me of proposals to have `enddd` be equivalent to `end end end`.
<Ox0dea> Which subsequently reminded me of Lisp's `cadddr`.
dkam_______ has joined #ruby
gambl0re has quit []
rodfersou has quit [Quit: leaving]
Lucky__ has joined #ruby
<kspencer> grr I don't know whether its a timeout issue or a agent issue, but I can't grab data via script, but I can via browser, and I'm making my bot send what it has to, the only thing is its grabbing at a doctype that shouldn't be there, considering :layout => false etc.
dkam_______ has quit [Ping timeout: 265 seconds]
<Ox0dea> kspencer: Er, you're obviously not making your bot send what it has to.
<Ox0dea> The data you send is the server's only means of determining whether you're a browser or a bot.
choke has quit [Ping timeout: 265 seconds]
ta0 has quit [Ping timeout: 265 seconds]
guacamol_ has joined #ruby
colegatron has joined #ruby
KineticX has joined #ruby
choke has joined #ruby
<Ox0dea> kspencer: I'd advise using your browser's developer console to see what all's being sent.
<Ox0dea> Chromium's "Copy as cURL" is pretty nifty.
guacamole has quit [Ping timeout: 265 seconds]
arescorpio has joined #ruby
baweaver has joined #ruby
kgirthofer has quit [Ping timeout: 272 seconds]
hannelita has quit [Remote host closed the connection]
neanderslob_ has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
casadei has quit [Remote host closed the connection]
yfeldblum has joined #ruby
KineticX has quit [Ping timeout: 260 seconds]
neanderslob has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
<diegoviola> Date.today.prev_day.strftime("%Y-%m-%d")
<diegoviola> is there a better way to do this?
Majora_ has quit [Ping timeout: 252 seconds]
hannelita has joined #ruby
<Ox0dea> ?better diegoviola
<ruboto> diegoviola, "Best" and "better" are subjective. Try to use a different term.
choke has quit [Ping timeout: 265 seconds]
<diegoviola> "I don't know what I'm talking about", is that more subjective?
<diegoviola> just kidding
janebootydoe has joined #ruby
<Ox0dea> Date should probably have #pred, but even if it did, #prev_day is more intention-revealing.
<Ox0dea> Are you looking for critique of your format string or something?
<darix> also it is pretty short already
<diegoviola> yes
<al2o3-cr> (Date.today-1).strftime("%F") shorter don't know if it's better :P
<chipotle> this is a stupid question but i'm thinking of rewriting my drupal 7 personal site in http://nanoc.ws or maybe even http://jekyllrb.com, both of which are static frameworks. does that mean i can't have any dynamic content on it, like a block that shows "top posters" or "recent comments" etc? what about comments? can i integrate disquis or facebook comments on the site? if so, is there a way to have dynamic blocks like the ones i've mentioned?
choke has joined #ruby
<chipotle> it's my first ruby website, i thought nanoc or jekyll would be good places to start. if it goes well (i don't like drupal 8 and i'm doing less and less work with drupal 7), i wanted to convert another site i have that has a module called organic groups, which is basically like a facebook group where users can post to, like a forum, but somewhat differently, to a ruby framework but i assume using nanoc and jekyll are out, so that leaves me with sinatra or
<chipotle> RoR?
centrx has quit [Quit: If you meet the Buddha on the road, kill him.]
hannelita has quit [Ping timeout: 240 seconds]
<ceej> evening! Is there a better way to get the value of number? https://repl.it/BcWt/0
vikas027 has joined #ruby
<Ox0dea> ceej: Are you on Ruby 2.3?
<darix> diegoviola: %F ;)
<darix> but it isnt saving you that much
Jardayn has quit [Quit: Leaving]
<ceej> Ox0dea: we will be soon
<Ox0dea> ceej: You could use Hash#dig if you were.
atomical_ has joined #ruby
<Ox0dea> That'd be `hash.dig(*keys)` in your example.
<diegoviola> ty
DLSteve has joined #ruby
<ceej> whoa... now I've got to go through all the changes.... what would you do in version 2.2?
<Ox0dea> ceej: Without #dig, you could say `keys.reduce(hash, :[])`.
roshanavand has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 265 seconds]
<darix> chipotle: static website for normal content. discourse for comments via https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963
<darix> chipotle: that's what we use e.g. for https://pixls.us ( https://discuss.pixls.us/ )
<ceej> Ox0dea: much more elegant! thank you :)
<Ox0dea> ceej: Sure thing. :)
<ceej> happy new year btw :)
govg has quit [Ping timeout: 256 seconds]
atomical has quit [Ping timeout: 265 seconds]
devbug has quit [Ping timeout: 240 seconds]
govg has joined #ruby
infinitone has quit [Remote host closed the connection]
casadei has joined #ruby
bkxd has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
cmolenda has joined #ruby
guacamole has joined #ruby
dorei has quit [Ping timeout: 260 seconds]
m3troX has joined #ruby
underplank has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
dorei has joined #ruby
<chipotle> darix: thanks. but what about having blocks that updated based on info, like top posts, most recent posts, top comments? is that possible with with nanoc or jekyll
hxegon is now known as hxegon_AFK
guacamol_ has quit [Ping timeout: 265 seconds]
underplank has quit [Client Quit]
gambl0re has joined #ruby
marr has quit [Ping timeout: 250 seconds]
Contigi777 has quit [Quit: Leaving]
agentmeerkat has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
certainty has joined #ruby
Rickmasta has joined #ruby
underplank has joined #ruby
guacamole has quit [Ping timeout: 265 seconds]
m3troX1 has joined #ruby
<darix> chipotle: sure. but you would probably grab that via JS if you use discourse for comments.
m3troX has quit [Ping timeout: 245 seconds]
<darix> chipotle: checkout how we use it
Rickmasta has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
cmolenda_ has joined #ruby
certainty has quit [Ping timeout: 260 seconds]
cmolenda_ has quit [Remote host closed the connection]
CorySimmons has joined #ruby
xelkarin has quit [Quit: WeeChat 1.1.1]
roshanavand has joined #ruby
cmolenda has quit [Ping timeout: 265 seconds]
davedev24 has joined #ruby
davedev2_ has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
kgirthofer has joined #ruby
SCHAAP137 has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
yfeldblum has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
djbkd has quit [Ping timeout: 265 seconds]
NoTroutAboutIt has joined #ruby
<diegoviola> I wonder why this returns an empty array when I put that code inside the import method
<diegoviola> when it doesn't have any methods I get data
pietr0 has quit [Quit: pietr0]
<kspencer> Ox0dea: I have every bit of into, and I still get the doctype thing
ixti has quit [Quit: WeeChat 1.3]
<kspencer> info*
symbol_ has joined #ruby
chimche has quit [Quit: Leaving.]
bricker has quit [Ping timeout: 260 seconds]
duckpuppy has joined #ruby
hxegon_AFK has quit [Quit: BRB]
Prominent has joined #ruby
<Ox0dea> kspencer: I won't trouble you to be more specific about what you're doing just yet, but it might be the case that you're forgetting to send some kind of session cookie along with your request.
smactive has quit [Remote host closed the connection]
choke has quit [Ping timeout: 265 seconds]
<al2o3-cr> diegoviola: you might wanna change your passwd pdq
<Ox0dea> If you're really sending exactly the same data as your browser, the server has no choice but to send you back the same response.
choke has joined #ruby
roshanavand has quit [Remote host closed the connection]
bb010g has quit [Quit: Connection closed for inactivity]
decoponio has quit [Quit: Leaving...]
baweaver has joined #ruby
dkam_______ has joined #ruby
yfeldblum has joined #ruby
duckpuppy has quit [Ping timeout: 246 seconds]
lemur has joined #ruby
roshanavand has joined #ruby
antgel has quit [Ping timeout: 265 seconds]
mjuszczak has quit []
chipotle has joined #ruby
user083 has quit [Ping timeout: 276 seconds]
KineticX has joined #ruby
chimche has joined #ruby
user083 has joined #ruby
<diegoviola> I'm using mechanize in order to download some xls file, the output it's returning is just plain HTML
<diegoviola> how should I parse this?
<al2o3-cr> diegoviola: nokogiri?
<al2o3-cr> Oga?
gatman has quit []
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mfb2_ has quit [Remote host closed the connection]
<Ox0dea> diegoviola: Please change your password.
symbol_ has quit [Quit: WeeChat 1.1]
lemur has quit [Ping timeout: 255 seconds]
dkam_______ has quit [Ping timeout: 276 seconds]
KineticX has quit [Ping timeout: 240 seconds]
mistermo_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
underplank has quit [Quit: underplank]
user083 has quit [Ping timeout: 272 seconds]
user083_ has joined #ruby
foureight84_ has joined #ruby
Majora_ has joined #ruby
<diegoviola> ok
<diegoviola> how should I parse that data though?
<Majora_> Ox0dea: Sorry I just read your messages.
scripore has joined #ruby
<diegoviola> is parsing HTML a PITA?
choke has quit [Ping timeout: 265 seconds]
govg has quit [Ping timeout: 276 seconds]
choke has joined #ruby
mistermo_ has quit [Ping timeout: 265 seconds]
ertertert has joined #ruby
<ertertert> Hello !
<ertertert> I'm having some trouble to setup React.rb with Rails, basically I followed the guide, but I have this weird issue : "Could not obtain ExecJS runtime context"
saneax_AFK is now known as saneax
<ertertert> I can't seem to find anything anywhere on this issue, like no one ever had this one before me ?
chimche has quit [Quit: Leaving.]
saneax is now known as Guest47321
<Ox0dea> Wow, that is weird.
<chipotle> darix: looking now
mary5030 has quit [Remote host closed the connection]
<ertertert> I really have no idea where to search for some useful info, could it mean that I'm somehow missing ExecJS ?
dlitvak has joined #ruby
bricker has joined #ruby
<Ox0dea> ertertert: The phrase "runtime context" doesn't even appear in the source tree for either project. :<
<shevy> most rails users are on #rubyonrails
<chipotle> but if create dynamic blocks that updated based on whatever info i give it (like top comments, top posts, recent posts etc), is it now getting silly to use a static framework like jekyll adn nano at this point? should i just use RoR, sinatra or some other dynamic ruby framework?
<ertertert> shevy oh thanks I was looking for it
<ertertert> Ox0dea I know weird huh? searching for it on google with quotes, litterally return 0 result
foureight84_ has quit [Quit: Be back later ...]
<Ox0dea> ertertert: Yeah, I saw that too.
wolffles has joined #ruby
CorySimmons has quit [Quit: Bye!]
<Ox0dea> Can you say whether you're doing anything a little unorthodox?
<ertertert> I'm doing exactly this
<ertertert> Calling render_component trigger the error apparently
ertertert is now known as mardina
<chipotle> Drakx: cool site! are you a photographer too?
smactive has joined #ruby
mardina is now known as testtest
<chipotle> Drakx: https://discuss.pixls.us/ is this page a table? or it's using disquis? i'm a bit confused?
testtest is now known as zerjh
roshanavand has quit [Remote host closed the connection]
<Ox0dea> zerjh: You don't have v8 installed.
<Ox0dea> Gotta get your vegetables.
<zerjh> (sorry I'm fighting with NickServ)
craysiii has quit [Quit: Leaving.]
usershell has joined #ruby
stannard has joined #ruby
<zerjh> But I have NodeJS available so it should work, and ExecJS should trigger "can't find JS runtime" if it can't find V8 or so
craysiii has joined #ruby
craysiii has quit [Max SendQ exceeded]
<Ox0dea> Very strange.
<zerjh> NO I know, you 're probably right actually, does rails execute itself in a "virtual" environment like cygwin ? if so, it might not find my windws nodejs
iateadonut has joined #ruby
usershell has quit [Remote host closed the connection]
craysiii has joined #ruby
zerjh is now known as ertertert
SCHAAP137 has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
<ertertert> (yes I'm executing on Windows)
<Ox0dea> I know.
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<diegoviola> is html painful to parse?
renatosilva has joined #ruby
cmolenda has joined #ruby
dfockler has joined #ruby
bb010g has joined #ruby
davedev2_ has joined #ruby
KineticX has joined #ruby
<Ox0dea> ertertert: It's hard to say why it's not complaining sooner; that error does seem to be coming from the renderer.
<Ox0dea> Some kind of lazy evaluation, perhaps. It doesn't actually try to *use* v8 until it absolutely has to.
whippythellama has quit [Ping timeout: 240 seconds]
<ertertert> But I don't get what EXACTLY it's complaining abiyt
<ertertert> about *
<ertertert> It's not like I could install v8 itself, or can I ?
<Ox0dea> That's basically a synonym for Node.
<ertertert> Yeah so I do have it
davedev24 has quit [Ping timeout: 260 seconds]
<Ox0dea> You just don't have everything wired together properly.
<Ox0dea> Did it get installed somewhere weird?
KineticX has quit [Ping timeout: 276 seconds]
<ertertert> Default path
<ertertert> And it's in my PATH
<Radar> ertertert: What OS?
choke has quit [Ping timeout: 265 seconds]
<Derailed> Hi everyone! Is there a tool for Ruby that will take a project (Rails, in this case), and give me a list of all the modules and classes defined in that project (bonus if it includes the path to the file it's defined in)
dlitvak has quit [Remote host closed the connection]
usershell has joined #ruby
dlitvak has joined #ruby
shadoi has quit [Quit: Leaving.]
choke has joined #ruby
<Majora_> How do you send PM's to people?
<Majora_> o.o
bricker has quit [Ping timeout: 250 seconds]
<Ox0dea> Majora_: I hesitate to tell you. :P
<Majora_> Ox0dea: Lol don't you trust me?
Majora_ is now known as Darmani
<Ox0dea> Derailed: The trouble there is that Ruby is a ridiculously dynamic language. Modules and classes can be created all sorts of ways that static analysis just can't pick up on.
daivyk has quit [Quit: ZZZzzz…]
<Radar> ?xy Derailed
<ruboto> Derailed, it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
renatosilva has left #ruby ["http://pidgin.renatosilva.me - Pidgin++"]
<Ox0dea> You can, of course, let Ruby do the introspection for you: ObjectSpace.each_object(Module) + some_module.const_get(:Foo)
dlitvak has quit [Remote host closed the connection]
<Ox0dea> Recur as necessary. :P
usershell has quit [Remote host closed the connection]
<Derailed> Ox0dea, yeah. 'grep class' and 'grep module' sure won't hit the spot for me :-)
<Ox0dea> Derailed: You should upgrade. :P
<Ox0dea> But yeah, even `ag` wouldn't suffice.
usershell has joined #ruby
<Darmani> Ox0dea: Remember how you asked me yesterday about what my unknown knowns are?
<Darmani> You asked me something like that.
<Derailed> ruboto, for slightly more context: I am reading, and documenting a very large amount of undocumented ruby code (over 25 separate interrelated rails projects). I'm looking for good ways of visualizing their various structures. And a clear list of Modules/Classes seems like a good place to do some inspection
djbkd has joined #ruby
<Ox0dea> ?bot Derailed
<ruboto> Derailed, I don't know anything about bot
DrShoggoth has joined #ruby
<Ox0dea> >> eval 'Fbb = Cynff.arj'.tr('a-z', 'n-za-m'); Foo.new # Derailed
<ruboto> Ox0dea # => #<Foo:0x41643ee4> (https://eval.in/498899)
usershel_ has joined #ruby
<diegoviola> ok so I can do Nokogiri::XML(content), wish I could do to_csv or something
<diegoviola> :/
stannard has quit [Remote host closed the connection]
<Derailed> heh
amclain_ has quit [Quit: Leaving]
* Derailed fails at turing test administration
whippythellama has joined #ruby
ertertert has quit [Quit: Page closed]
<diegoviola> nothing can be more painful than XML
usershell has quit [Read error: Connection reset by peer]
govg has joined #ruby
colegatron has quit [Ping timeout: 255 seconds]
davedev2_ has quit []
sigurding has joined #ruby
ertertert has joined #ruby
<ertertert> Ok i foudn something new
<ertertert> If I add ?no_prerender=1 to the URL
<ertertert> It actually works O_o
Mini_Evo has joined #ruby
djbkd has quit [Ping timeout: 276 seconds]
usershel_ has quit [Remote host closed the connection]
<Radar> Derailed: The best kind of documentation is user-generated documentation.
<Radar> As in: you write the documentation!
<Radar> I don't think there's going to be something that'll produce anything that makes sense like you're thinking of.
framling has joined #ruby
<Radar> Besides this handy thing I know of called a "Technical Writer"
casadei has quit [Remote host closed the connection]
Mini_Evo has left #ruby ["WeeChat 1.3"]
<Derailed> Radar, in this context. I effectively *am* the technical writer. Documenting 5 years of technical debt
<Radar> Derailed: File -> New File -> shit-is-fucked.md -> Start writing.
<diegoviola> Radar: what do you recommend I do with this XML? how can I parse it?
<Radar> diegoviola: I missed the part where I was talking with you?
pawnbox has joined #ruby
<diegoviola> Radar: ok have it your way
shakes has joined #ruby
<Radar> diegoviola: It's rude to ask me for help directly. If I wanted to help then I would've.
<Derailed> Radar, that's the easy part. I'm working on getting onto heres-how-to-unfuck-it-good-luck.md :-)
<Radar> Especially when you think I have all the context right in front o fme.
<diegoviola> Radar: ok sorry if you felt that way
<diegoviola> Radar: I didn't meant for you to feel that way
<diegoviola> I'm honestly don't know what to do with this
<havenwood> diegoviola: It's just an IRC etiquette thing. See the rule! ^
sigurding_ has joined #ruby
<diegoviola> if it were me I'd print it and burn it as some type of gesture
<Radar> diegoviola: Show us the code?
<diegoviola> XML is just awful
<diegoviola> havenwood: ok
janebootydoe has quit [Quit: Leaving]
<Derailed> But let me rephrase my general question: given a running ruby process ('rails console'), can I introspect it and see all the modules that are loaded, all the classes that are defined in those modules, and maybe (bonus again) in which files they're defined? is Ox0dea's suggestion of playing with ObjectSpace.each_object(Module) the right direction?
shortdudey123 has quit [Max SendQ exceeded]
sigurding has quit [Ping timeout: 260 seconds]
sigurding_ is now known as sigurding
shortdudey123 has joined #ruby
mistermocha has quit [Remote host closed the connection]
<Radar> diegoviola: Show us what response is please.
<diegoviola> in pry I get some huge output
pawnbox has quit [Ping timeout: 260 seconds]
<diegoviola> I'm trying to find a way to gist all that
<Radar> Copy+paste is usually how to do i t
<Radar> Is it HTML? XML? CSV? CSV+XML?
<diegoviola> XML
<Ox0dea> diegoviola: require 'gist'
<diegoviola> HTML I think
<Radar> and what do you wnat to do it with it once you have it?
<Radar> diegoviola: Gist the first bit of it
<Radar> First 5 lines or something
ertertert has quit [Quit: Page closed]
<Radar> Looks like HTML to me
<Radar> What do you want to do with it now that you have it?
sigurding has quit [Client Quit]
<Radar> Looks like some massive table with data.
<Radar> You probably want to manipulate it into an array of hashes, where the keys are the top row and then the values are the other rows.
diego1 has joined #ruby
kgirthofer has quit [Ping timeout: 272 seconds]
diego1 has quit [Changing host]
diego1 has joined #ruby
colegatron has joined #ruby
diegoviola is now known as Guest6400
diego1 is now known as diegoviola
<diegoviola> just got disconnected, sorry
<diegoviola> did you guys see the link?
<diegoviola> I have to parse this and insert the data on the db
<havenwood> Derailed: Maybe give something along these lines a try: $LOAD_PATH.grep(/\/lib\z/).map { |path| File.basename(path.rpartition('/').first) }
<Ox0dea> Derailed: It'll get you the list, not so much the associations.
<diegoviola> there are multiples columns and such, but the output is just confusing to me
usershell has joined #ruby
<Ox0dea> Derailed: The ObjectSpace + #const_get approach, to clarify.
TheHodge has quit [Quit: Connection closed for inactivity]
<Derailed> Cheers. I'll dig in and see if I can come up with something that will work for me. Thanks!
<Radar> diegoviola: Ok, so what you want to do is to find all the text from the first row.
govg has quit [Ping timeout: 260 seconds]
<Radar> diegoviola: .css("table tr td").map(&:text) should get you that
<Radar> Those are your keys.
<Radar> Then you want to iterate through the rest of the rows and create hashes from that data.
Guest6400 has quit [Ping timeout: 255 seconds]
diego1 has joined #ruby
<Radar> Hash[keys.zip(row.css("td").map(&:text))]
diego1 has quit [Changing host]
diego1 has joined #ruby
<Radar> Hash[*keys.zip(row.css("td").map(&:text))] maybe
<Ox0dea> Did somebody mean #to_h?
diegoviola is now known as Guest18345
diego1 is now known as diegoviola
Nightmare has quit [K-Lined]
LBRapid has quit [K-Lined]
ReK2 has quit [Quit: Konversation terminated!]
Nightmare has joined #ruby
Guest18345 has quit [Ping timeout: 256 seconds]
LBRapid has joined #ruby
casadei has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
mfb2 has joined #ruby
choke has quit [Ping timeout: 265 seconds]
aadam21 has quit [Remote host closed the connection]
aadam21 has joined #ruby
aadam21 has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
Prominent has quit [Quit: Leaving]
mfb2 has quit [Ping timeout: 256 seconds]
choke has joined #ruby
Prominent has joined #ruby
Prominent has quit [Remote host closed the connection]
diego1 has joined #ruby
bkxd has joined #ruby
charliesome has joined #ruby
Prominent has joined #ruby
fn2187 has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 255 seconds]
DonOtreply has quit [Quit: DonOtreply]
diego2 has joined #ruby
mjuszczak has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
casadei has quit [Remote host closed the connection]
mjuszczak has quit [Client Quit]
diego1 has quit [Ping timeout: 272 seconds]
hannelita has joined #ruby
oyes has joined #ruby
dlitvak has joined #ruby
haraigo has quit [Ping timeout: 250 seconds]
diego2 has quit [Ping timeout: 240 seconds]
diego1 has joined #ruby
diego1 has quit [Client Quit]
diego1 has joined #ruby
<Radar> maybe
hannelita has quit [Ping timeout: 240 seconds]
diego1 has quit [Changing host]
diego1 has joined #ruby
<Ox0dea> Forgiven.
diego1 is now known as diegoviola
usershell has quit [Remote host closed the connection]
A124 has quit [Read error: Connection reset by peer]
diego1 has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
dlitvak_ has joined #ruby
bluOxigen has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Prominent has quit [Quit: Leaving]
TomyLobo has quit [Ping timeout: 250 seconds]
A124 has joined #ruby
chipotle has quit [Quit: cheerio]
oyes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
usershell has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
dlitvak has quit [Ping timeout: 240 seconds]
dorei has quit []
usershell has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
lacuna has quit [Remote host closed the connection]
certainty has joined #ruby
choke_ has joined #ruby
<diegoviola> Hash[*keys.zip(row.css("td").map(&:text))]
<diegoviola> what is keys in that example?
asherdowd has joined #ruby
<diegoviola> the attributes for the table?
<diegoviola> header
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<diegoviola> hash keys
m3troX has joined #ruby
certainty has quit [Ping timeout: 265 seconds]
choke has quit [Ping timeout: 265 seconds]
asherdowd has quit [Client Quit]
m3troX1 has quit [Ping timeout: 260 seconds]
choke_ has quit [Read error: Connection reset by peer]
diego1 has joined #ruby
diegoviola has quit [Ping timeout: 256 seconds]
<shevy> anyone knows (offhand) an example where mruby is used? something akin to I believe how blizzard would use lua for some games
dlitvak has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
ascarter has joined #ruby
djbkd has joined #ruby
chipotle has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
dlitvak_ has quit [Ping timeout: 245 seconds]
choke has joined #ruby
bricker has joined #ruby
baweaver has joined #ruby
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DrShoggoth has quit [Quit: Leaving]
djbkd has quit [Ping timeout: 250 seconds]
diego1 is now known as diegoviola
aadam21 has joined #ruby
atomical_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dkam_______ has joined #ruby
underplank has joined #ruby
psy_ has quit [Ping timeout: 272 seconds]
duckpuppy has joined #ruby
choke_ has joined #ruby
aadam21 has quit [Ping timeout: 256 seconds]
hinbody has quit [Quit: leaving]
dkam_______ has quit [Ping timeout: 246 seconds]
LMity has joined #ruby
choke has quit [Ping timeout: 265 seconds]
solocshaw has quit [Ping timeout: 264 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
hinbody has joined #ruby
ziyadb has joined #ruby
pawnbox has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
nfk|laptop has quit [Quit: yawn]
jbrhbr has quit [Ping timeout: 260 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.3]
choke has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
diego1 has joined #ruby
pawnbox has quit [Ping timeout: 245 seconds]
diprotic is now known as monoprotic
diego1 has quit [Changing host]
diego1 has joined #ruby
diegoviola is now known as Guest58242
diego1 is now known as diegoviola
hxegon has joined #ruby
Guest58242 has quit [Ping timeout: 245 seconds]
psy_ has joined #ruby
Xiti has quit [Quit: Xiti]
cbyrda has joined #ruby
ESpiney has joined #ruby
cbyrda has quit [Client Quit]
nertzy has joined #ruby
cbyrda has joined #ruby
nfk|laptop has joined #ruby
dlitvak has quit [Remote host closed the connection]
<diegoviola> I tried Hash.from_xml and I get this output: https://gist.github.com/diegoviola/a425f2ad42f289686ffc
<diegoviola> but it's just way too confusing for me
<diegoviola> the keys/headers are on the bottom
<diegoviola> so the data is upside down
<diegoviola> I have no idea how to format it properly
krobzaur has joined #ruby
darkf has joined #ruby
shakes has quit [Quit: Leaving]
skcin7 has joined #ruby
cmolenda has quit [Remote host closed the connection]
diego1 has joined #ruby
stannard has joined #ruby
nfk|laptop has quit [Ping timeout: 255 seconds]
diegoviola has quit [Ping timeout: 240 seconds]
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
cbyrda has quit [Quit: Gone]
Lucky___ has joined #ruby
nerium has joined #ruby
cbyrda has joined #ruby
<al2o3-cr> diegoviola: doc = Nokogiri.parse(response.body); doc.css('tr').map { |elem| elem.children.map(&:text) }.each { |data| CSV.open('foo.csv', 'a') { |f| f << data } } # maybe something like this
Lucky__ has quit [Ping timeout: 256 seconds]
<al2o3-cr> from what I can make out of it anyway might not work can't test it
stannard has quit [Ping timeout: 264 seconds]
pricees has joined #ruby
dlitvak has joined #ruby
weemsledeux has joined #ruby
<diegoviola> al2o3-cr: that actually works, wow
<diegoviola> al2o3-cr: thanks
choke has quit [Read error: Connection reset by peer]
<al2o3-cr> yw
choke has joined #ruby
<al2o3-cr> didn't think that would work tbh
dkam_______ has joined #ruby
gix- has quit [Ping timeout: 245 seconds]
pawnbox has joined #ruby
mary5030 has joined #ruby
dlitvak has quit [Ping timeout: 256 seconds]
haraigo has joined #ruby
hxegon has quit [Quit: BRB]
cpup has quit [Ping timeout: 272 seconds]
cpup has joined #ruby
gix has joined #ruby
hxegon has joined #ruby
diego1 has joined #ruby
zast has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
varunwachaspati has joined #ruby
krobzaur has quit [Ping timeout: 276 seconds]
bricker has quit [Ping timeout: 245 seconds]
Eiam has quit [Ping timeout: 260 seconds]
diegoviola has quit [Ping timeout: 250 seconds]
Bloomer has joined #ruby
pricees has quit [Ping timeout: 255 seconds]
diego1 is now known as diegoviola
cbyrda has quit [Quit: Gone]
hxegon has quit [Ping timeout: 255 seconds]
colegatron has quit [Ping timeout: 260 seconds]
underplank has quit [Quit: underplank]
jackjackdripper has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
choke has quit [Read error: Connection reset by peer]
jbrhbr has joined #ruby
choke has joined #ruby
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
bricker has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whippythellama has quit [Quit: WeeChat 1.3]
whippythellama has joined #ruby
whippythellama has quit [Client Quit]
Melpaws has joined #ruby
whippythellama has joined #ruby
diegoviola has quit [Ping timeout: 260 seconds]
jbrhbr has quit [Quit: Leaving.]
Marsjan has joined #ruby
dkam_______ has quit [Quit: Lingo: www.lingoirc.com]
krz has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
arescorpio has quit [Quit: Leaving.]
marsjaninzmarsa has quit [Read error: Connection reset by peer]
Marsjan is now known as marsjaninzmarsa
blackgoat has joined #ruby
whippythellama has quit [Client Quit]
colegatron has joined #ruby
freerobby has joined #ruby
aadam21 has joined #ruby
bkxd has joined #ruby
yfeldblum has quit [Remote host closed the connection]
krz has quit [Ping timeout: 272 seconds]
choke has quit [Ping timeout: 265 seconds]
chouhoulis has joined #ruby
mary5030 has quit [Remote host closed the connection]
vikas027 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
freerobby has quit [Quit: Leaving.]
duckpuppy has joined #ruby
freerobby has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
hxegon has joined #ruby
usershell has joined #ruby
dotix has joined #ruby
kfpratt has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 265 seconds]
sdwrage has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
pawnbox has quit [Ping timeout: 260 seconds]
m3troX has left #ruby [#ruby]
dotix has quit [Ping timeout: 255 seconds]
Bloomer has quit [Remote host closed the connection]
Bloomer has joined #ruby
choke has joined #ruby
gsingh93 has quit [Quit: ZNC - http://znc.in]
cassioscabral has quit [Quit: cassioscabral]
pawnbox has joined #ruby
gsingh93 has joined #ruby
choke_ has joined #ruby
foureight84_ has joined #ruby
LMity has quit [Ping timeout: 256 seconds]
colegatron has quit [Ping timeout: 250 seconds]
choke has quit [Ping timeout: 265 seconds]
choke has joined #ruby
themsay2 has joined #ruby
themsay2 has quit [Read error: Connection reset by peer]
themsay2 has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
chouhoulis has joined #ruby
sdothum has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
themsay has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
choke_ has joined #ruby
hxegon has quit [Quit: BRB]
choke has quit [Read error: Connection reset by peer]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aadam21 has quit [Ping timeout: 250 seconds]
krz has joined #ruby
colegatron has joined #ruby
ESpiney has quit [Read error: Connection reset by peer]
vikaton has joined #ruby
certainty has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Bloomer has quit [Remote host closed the connection]
certainty has quit [Ping timeout: 260 seconds]
Bloomer has joined #ruby
psy_ has quit [Remote host closed the connection]
hxegon has joined #ruby
hxegon has quit [Read error: Connection reset by peer]
hxegon has joined #ruby
hxegon has quit [Client Quit]
djbkd has joined #ruby
<Guest24140> anyone here a transhumanist?
choke_ has quit [Ping timeout: 265 seconds]
hxegon has joined #ruby
djbkd has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
spectra has quit [Quit: ZNC - http://znc.sourceforge.net]
choke has joined #ruby
astrobun_ has joined #ruby
<sosuniverse> I'm a transhumanist.
sosuniverse is now known as dpg_
bluOxigen has quit [Ping timeout: 276 seconds]
jgorak has quit [Ping timeout: 260 seconds]
choke_ has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<Ox0dea> dpg_: Who's your favorite transhumanist?
choke has quit [Ping timeout: 265 seconds]
choke__ has joined #ruby
gluec has joined #ruby
kfpratt has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
Rodya_ has joined #ruby
ascarter has joined #ruby
tubuliferous_ has joined #ruby
Melpaws has quit [Quit: Leaving.]
hxegon has quit [Quit: BRB]
hxegon has joined #ruby
kfpratt has quit [Remote host closed the connection]
choke has joined #ruby
kfpratt has joined #ruby
Strongarm has joined #ruby
themsay has joined #ruby
<Strongarm> Hey guy - I'm having some trouble with Middleman
<Strongarm> I'm picking up a build from somebody, and I've never used it .
<Strongarm> I've installed all dependencies, and everything seems to be fine
<Strongarm> However when I run >middleman server
<Strongarm> I get:
<Strongarm> .../.../.../_source/_single-page not found
<Strongarm> The directory definitely exists
<Strongarm> and if I go up one level, I can run middleman init
<Strongarm> and it will create the appropriate config
<Strongarm> bit I can't get it to run on that directory for whatever reason.
juddey has quit [Ping timeout: 260 seconds]
choke__ has quit [Ping timeout: 265 seconds]
codecop has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
themsay2 has quit [Ping timeout: 272 seconds]
choke_ has joined #ruby
ascarter has joined #ruby
choke has quit [Ping timeout: 265 seconds]
aadam21 has joined #ruby
kfpratt has quit []
DonOtreply has joined #ruby
choke has joined #ruby
hannelita has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
choke_ has joined #ruby
Tempesta has quit [Quit: See ya!]
bkxd has joined #ruby
choke has quit [Ping timeout: 265 seconds]
hannelita has quit [Ping timeout: 264 seconds]
hxegon has quit [Quit: BRB]
choke has joined #ruby
fn2187 has joined #ruby
levifig has quit [Ping timeout: 256 seconds]
Darmani has quit [Quit: Page closed]
choke_ has quit [Ping timeout: 265 seconds]
symm-_ has joined #ruby
bkxd has quit [Ping timeout: 245 seconds]
symm- has quit [Ping timeout: 256 seconds]
stuartb has quit [Ping timeout: 256 seconds]
stuartb has joined #ruby
jimeh has quit [Ping timeout: 250 seconds]
scripore has quit [Ping timeout: 256 seconds]
j0bk_ has quit [Ping timeout: 256 seconds]
tommylommykins has quit [Ping timeout: 256 seconds]
tommylommykins has joined #ruby
colegatron has quit [Ping timeout: 256 seconds]
terminalrecluse has joined #ruby
hxegon has joined #ruby
Strongarm has quit [Ping timeout: 252 seconds]
j0bk has joined #ruby
levifig has joined #ruby
jackcom has joined #ruby
<jackcom> give me ruby tutorial
foureight84_ has quit [Quit: Be back later ...]
jimeh has joined #ruby
colegatron has joined #ruby
samgerber has joined #ruby
samgerber has quit [Remote host closed the connection]
NoTroutAboutIt has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
seaworthy has quit [Quit: seaworthy]
choke has quit [Ping timeout: 265 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
choke has joined #ruby
samgerber has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
cmolenda has joined #ruby
aganov has joined #ruby
ur5us_ has quit [Remote host closed the connection]
gluec_ has joined #ruby
ur5us has joined #ruby
kalopsian has joined #ruby
samgerber has quit [Remote host closed the connection]
gluec has quit [Ping timeout: 246 seconds]
choke_ has joined #ruby
samgerber has joined #ruby
ascarter has joined #ruby
aadam21 has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
choke has quit [Ping timeout: 265 seconds]
hinbody has quit [Ping timeout: 272 seconds]
chouhoul_ has joined #ruby
terminalrecluse has quit [Quit: Textual IRC Client: www.textualapp.com]
chouhoulis has quit [Ping timeout: 240 seconds]
choke has joined #ruby
duckpuppy has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
ur5us has quit [Remote host closed the connection]
craysiii has quit [Remote host closed the connection]
juddey has joined #ruby
hxegon has quit [Quit: BRB]
choke_ has joined #ruby
craysiii has joined #ruby
craysiii has quit [Max SendQ exceeded]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
craysiii has joined #ruby
duckpuppy has quit [Ping timeout: 272 seconds]
xargs has joined #ruby
genpaku has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
genpaku has joined #ruby
choke has quit [Ping timeout: 265 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
hxegon has joined #ruby
arup_r has joined #ruby
Rodya_ has joined #ruby
FLeiXiuS` has joined #ruby
GriffinHeart has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
colegatron has quit [Ping timeout: 245 seconds]
dfockler has quit [Ping timeout: 256 seconds]
mdw has joined #ruby
trautwein has joined #ruby
hxegon has quit [Ping timeout: 246 seconds]
hxegon has joined #ruby
smbenfield has quit [Ping timeout: 246 seconds]
<FLeiXiuS`> Does OptsParser always execute first regardless of ruby being linear?
jake_g has joined #ruby
<jake_g> n
tubuliferous_ has quit [Ping timeout: 245 seconds]
<FLeiXiuS`> Nvm - i'm an idiot.
<Ox0dea> FLeiXiuS`: That said, Ruby does provide the means to execute "non-linearly" via BEGIN.
smactive has quit [Remote host closed the connection]
<jake_g> Hi. I have a class that I want to instantiate and return other classes based on the arguments that its given. Is this an anti pattern? Right now, I’m trying to have `initialize` return an instance of a different class but it doesnt seem to be working.
<Ox0dea> FLeiXiuS`: https://eval.in/498947
choke_ has quit [Ping timeout: 265 seconds]
aufi has joined #ruby
<Ox0dea> jake_g: You'll have to redefine your class's singleton class's #new method.
mdw has quit [Quit: Sleeping Zzzzz]
Jackneill has joined #ruby
hxegon has quit [Ping timeout: 240 seconds]
<jake_g> Ox0dea: Sorry, I dont think I fully understand what you mean by the class’s singleton. Do you mean override `self.new` than returning a different class in the initialize method?
tagrudev has joined #ruby
<Ox0dea> jake_g: Just so.
GriffinHeart has quit [Remote host closed the connection]
choke has joined #ruby
GriffinHeart has joined #ruby
colegatron has joined #ruby
jas02 has joined #ruby
hannelita has joined #ruby
krzkrz has joined #ruby
Xeago has joined #ruby
krz has quit [Read error: Connection reset by peer]
tmtwd has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby
hannelita has quit [Ping timeout: 240 seconds]
choke has quit [Ping timeout: 265 seconds]
SOLDIERz has joined #ruby
<jake_g> Ox0dea: I got the specs passing but I’m not sure its “good code”. Do you have a minute to look at this class?
<Ox0dea> jake_g: I open all links. :P
Macaveli has joined #ruby
<jake_g> I slimmed it down a little bit but this is the core of what I have going on https://gist.github.com/jakegavin/05fc174b0b46b0617c56
choke has joined #ruby
<jake_g> Some things that feel weird: 1) overriding `.new` I guess because I’ve never done it before. 2) Passing `params` all over the plase
certainty has joined #ruby
tubuliferous_ has joined #ruby
<jake_g> Ox0dea: ^^ (Forgot to ping you in the first message, sorry if you already saw it)
dorakyura has joined #ruby
<Ox0dea> jake_g: I mean, that's the basic shape of a Factory.
<Ox0dea> `params` is kind of all over the place, though.
hinbody has joined #ruby
<jake_g> Would it be alright to put it in a class variable?
certainty has quit [Ping timeout: 245 seconds]
GriffinHeart has quit [Remote host closed the connection]
blackgoat has quit [Quit: WeeChat 1.3]
ur5us has joined #ruby
<Ox0dea> Would that make sense?
cmolenda has quit [Remote host closed the connection]
choke has quit [Ping timeout: 265 seconds]
Xeago has quit [Remote host closed the connection]
phatypus has joined #ruby
<jake_g> Seems like it would give me access to it everywhere without having to pass it around but I’ve never worked with class variables before so I’m not entirely sure what implications/side effects I need to be aware of
<Ox0dea> #report_class only needs `params` for :scope_option, but then #name_only? needs all of `params`, and #report_class needs #name_only?. :/
phatypus has quit [Client Quit]
howdoi has joined #ruby
Guest24140 has quit [Ping timeout: 252 seconds]
<Ox0dea> Well, but these classes you're returning don't inherit from CustomReportFactory, so they wouldn't be able to see its class variables.
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
andikr has joined #ruby
<jake_g> I gotta run (was just messing with stuff during an airport layover). Thanks for the help! Definitely learned some stuff tonight :D
<jake_g> Thanks a ton
zast has quit [Remote host closed the connection]
<Ox0dea> jake_g: My pleasure! Have a safe trip.
krzkrz has quit [Ping timeout: 240 seconds]
jake_g has quit [Quit: jake_g]
mdw has joined #ruby
aadam21 has joined #ruby
krzkrz has joined #ruby
emilkarl has joined #ruby
GriffinHeart has joined #ruby
jbrhbr has joined #ruby
firstdayonthejob has joined #ruby
ta has joined #ruby
tmtwd has joined #ruby
rocfig has joined #ruby
ruby-lang158 has joined #ruby
bluOxigen has joined #ruby
ruby-lang158 has quit [Client Quit]
vikaton has quit [Quit: Connection closed for inactivity]
rippa has joined #ruby
framling has quit [Ping timeout: 245 seconds]
usershell has quit [Remote host closed the connection]
nixmaniack has joined #ruby
solars has joined #ruby
dpg_ has quit [Ping timeout: 264 seconds]
rocfig has quit [Quit: This computer has gone to sleep]
rocfig has joined #ruby
dotix has joined #ruby
ohaibbq has joined #ruby
mistermocha has joined #ruby
brunto has joined #ruby
HANJIN has joined #ruby
mary5030 has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
brunto_ has joined #ruby
brunto has quit [Ping timeout: 260 seconds]
mistermocha has quit [Ping timeout: 255 seconds]
dpg_ has joined #ruby
dn` has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
choke has joined #ruby
KnownSyntax has quit [Remote host closed the connection]
aadam21 has quit [Ping timeout: 246 seconds]
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
phatypus has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
Bloomer has quit [Remote host closed the connection]
choke has quit [Read error: Connection reset by peer]
rsc___ has quit [Quit: rsc___]
bkxd has quit [Ping timeout: 255 seconds]
Mon_Ouie has joined #ruby
kies^ has quit [Ping timeout: 246 seconds]
dorakyura has quit [Ping timeout: 256 seconds]
ziyadb has quit [Quit: Connection closed for inactivity]
dpg_ has quit [Ping timeout: 260 seconds]
TomyWork has joined #ruby
roshanavand has joined #ruby
wolffles has quit [Quit: wolffles]
arup_r has quit [Remote host closed the connection]
matp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> Hello
arup_r has joined #ruby
SCHAAP137 has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
arup_r has joined #ruby
roshanavand has quit [Remote host closed the connection]
arup_r has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
gagrio-brb has joined #ruby
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
cmolenda has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
nixmaniack has quit []
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
devbug has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
certainty has joined #ruby
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
choke has joined #ruby
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
<adaedra> First &. used \o/
<Ox0dea> \o/
arup_r has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
cmolenda has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
toretore has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
firstdayonthejob has quit [Ping timeout: 246 seconds]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
elaptics`away is now known as elaptics
arup_r has joined #ruby
phatypus has quit [Quit: .>]
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
Xeago has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 256 seconds]
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
Xeago has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
djbkd has quit []
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
auzty has joined #ruby
NateDeHiggers has joined #ruby
NateDeHiggers was kicked from #ruby by ChanServ [Banned: Unacceptable nick - http://ruby-community.com/pages/user_rules#rule_2_10]
arup_r has quit [Read error: Connection reset by peer]
iateadonut has quit [Ping timeout: 265 seconds]
arup_r has joined #ruby
nerium has quit [Quit: nerium]
arup_r has quit [Read error: Connection reset by peer]
HiggerNate has joined #ruby
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
GriffinHeart has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
HiggerNate has quit [K-Lined]
arup_r has joined #ruby
dn`_ has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
certainty has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
certainty has joined #ruby
dn` has quit [Ping timeout: 245 seconds]
dn`_ is now known as dn`
usershell has joined #ruby
choke has quit [Ping timeout: 265 seconds]
arup_r has quit [Client Quit]
tmtwd has quit [Ping timeout: 260 seconds]
conta has joined #ruby
m8 has joined #ruby
Xeago has joined #ruby
duckpuppy has joined #ruby
Xeago has quit [Remote host closed the connection]
Jet4Fire has quit []
certainty has quit [Ping timeout: 240 seconds]
benjohn has joined #ruby
vondruch has joined #ruby
duckpuppy has quit [Ping timeout: 256 seconds]
rkazak has joined #ruby
edwinvdgraaf has joined #ruby
usershell has quit [Remote host closed the connection]
rsc___ has joined #ruby
ohaibbq has quit [Remote host closed the connection]
ohaibbq has joined #ruby
ruby-lang466 has joined #ruby
juddey has quit [Ping timeout: 250 seconds]
rocfig has quit [Quit: This computer has gone to sleep]
lipoqil has joined #ruby
<ruby-lang466> football_team = [] 5.times do |i| puts "Please enter a UK football team:" team = gets.chomp if i.even? football_team << team.upcase else football_team << team.downcase end end puts football_team
antgel has joined #ruby
sandstrom has joined #ruby
iateadonut has joined #ruby
baweaver has joined #ruby
terlar has joined #ruby
steffkes has joined #ruby
ohaibbq has quit [Ping timeout: 265 seconds]
<Ox0dea> ruby-lang466: Well done.
sandstrom has quit [Client Quit]
ruby-lang466 has quit [Ping timeout: 252 seconds]
sandstrom has joined #ruby
sandstrom has quit [Client Quit]
einarj has joined #ruby
sandstrom has joined #ruby
aadam21 has joined #ruby
baweaver has quit [Ping timeout: 255 seconds]
jbrhbr has quit [Quit: Leaving.]
antgel has quit [Ping timeout: 255 seconds]
Xeago has joined #ruby
krzkrzkrz has joined #ruby
sandstrom has quit [Read error: Connection reset by peer]
antgel has joined #ruby
krzkrz has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
Xeago has quit [Remote host closed the connection]
pink_vampire has quit [Read error: Connection reset by peer]
roshanav_ has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
pink_vampire has joined #ruby
Bloomer has joined #ruby
roshanav_ has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
auzty has quit [Quit: Leaving]
Rodya_ has quit [Quit: Leaving...]
Bloomer has quit [Ping timeout: 256 seconds]
Snowy has joined #ruby
mark2 has joined #ruby
astrobun_ has quit [Remote host closed the connection]
Snowy has quit [Read error: Connection reset by peer]
Snowy_ has joined #ruby
dionysus69 has joined #ruby
tmtwd has joined #ruby
antgel has quit [Ping timeout: 276 seconds]
dlitvak has joined #ruby
TakumoKatekari is now known as Takumo
coffeecupp has joined #ruby
antgel has joined #ruby
tvw has joined #ruby
cmolenda has joined #ruby
cmolenda has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
crdpink has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
zeroDivisible has joined #ruby
dlitvak has quit [Ping timeout: 255 seconds]
DoubleMalt has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
dwfait has joined #ruby
crdpink has joined #ruby
jschmid has joined #ruby
patchedmonkey has joined #ruby
crdpink has quit [Client Quit]
crdpink has joined #ruby
roshanav_ has joined #ruby
patchedmonkey has quit [Client Quit]
roshanavand has quit [Read error: Connection reset by peer]
GriffinHeart has joined #ruby
spectra has joined #ruby
<pontiki> hi
symm-_ has quit [Ping timeout: 264 seconds]
nertzy has joined #ruby
rsc___ has quit [Ping timeout: 265 seconds]
Xeago has quit [Remote host closed the connection]
joonty has joined #ruby
zenlot1 is now known as zenlot
aadam21 has quit [Ping timeout: 256 seconds]
bigkevmcd has quit [Quit: Outta here...]
mwilly has joined #ruby
mwilly has left #ruby [#ruby]
mwilly has joined #ruby
mwilly has left #ruby [#ruby]
terlar has quit [Quit: WeeChat 1.3]
lxsameer has joined #ruby
lxsameer has joined #ruby
marr has joined #ruby
roshanav_ has quit [Remote host closed the connection]
steffkes has quit [Ping timeout: 260 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
al2o3-cr has joined #ruby
coffeecupp has quit [Quit: Leaving]
sandstrom has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has left #ruby [#ruby]
dwfait has quit [Remote host closed the connection]
sandstrom has joined #ruby
cornerma1 has joined #ruby
leslie has quit [Quit: Have you ever tried to eat a clock? It's very time consuming.]
cmolenda has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
badeball_ is now known as badeball
Xeago has joined #ruby
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
joonty has quit [Quit: Leaving]
joonty has joined #ruby
tmtwd has quit [Ping timeout: 264 seconds]
tvw has quit [Ping timeout: 255 seconds]
cmolenda has quit [Ping timeout: 250 seconds]
exadeci has quit [Quit: Connection closed for inactivity]
rodfersou has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
tvw has joined #ruby
bkxd has joined #ruby
dwfait has joined #ruby
FernandoBasso has joined #ruby
<TomyWork> I'm looking for a regex test/explain page for ruby. https://regex101.com/ this page is quite nice and it supports PCRE. is that close enough?
roshanavand has joined #ruby
rodferso1 has joined #ruby
rodferso1 has quit [Client Quit]
rodfersou has quit [Quit: leaving]
rodfersou has joined #ruby
<al2o3-cr> ?regex
tubuliferous_ has quit [Ping timeout: 260 seconds]
cmolenda has joined #ruby
karapetyan has joined #ruby
rdark has joined #ruby
huyderman has joined #ruby
Bloomer has joined #ruby
FLeiXiuS` has quit [Quit: Leaving]
spooq|2 has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
ledestin has quit [Remote host closed the connection]
<Ox0dea> Sick reading comprehension.
<ddv> lol
<ddv> my sincere apologies
<TomyWork> hmm none of these pages has a regex explainer
<Ox0dea> TomyWork: Onigmo and PCRE aren't terribly disparate, for what that's worth.
<TomyWork> ok
spooq has quit [Ping timeout: 255 seconds]
dlitvak has joined #ruby
ledestin has joined #ruby
<TomyWork> Ox0dea https://en.wikipedia.org/wiki/Oniguruma according to this page, ruby's regexes are forked from perl 5.10's
<TomyWork> since rubular matches them the same way regex101 does, i'll just use regex101 :)
<al2o3-cr> TomyWork: all the info you'll ever need are in the docs
samgerber has quit []
Bloomer has quit [Ping timeout: 260 seconds]
dlitvak has quit [Ping timeout: 255 seconds]
gregf has quit [Read error: No route to host]
craysiii has quit [Quit: Leaving.]
varunwachaspati has quit [Quit: Connection closed for inactivity]
ljarvis_ is now known as ljarvis
craysiii has joined #ruby
platzhirsch has joined #ruby
finisherr has quit [Quit: finisherr]
gregf has joined #ruby
<jhass> al2o3-cr: could you link me to the docs for the meaning of life?
roshanavand has joined #ruby
<al2o3-cr> jhass: no
<jhass> :(
platzhirsch has left #ruby [#ruby]
<jhass> but I need that info desperately!
joonty has quit [Ping timeout: 246 seconds]
<al2o3-cr> it doesn't exist
<jhass> I thought it's supposed to be in the docs?
<al2o3-cr> you supposed wrong
<jhass> I guess your statement is wrong too then
<al2o3-cr> probably
<adaedra> jhass: it could also mean you do not need to have the meaning of life.
MahaDev has quit [Ping timeout: 255 seconds]
<jhass> well, they could document that
scripore has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
rkazak has quit [Quit: Sleep.....ing....]
MahaDev has joined #ruby
aadam21 has joined #ruby
j0n3 has joined #ruby
ziyadb has joined #ruby
karapetyan has quit [Remote host closed the connection]
usershell has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
Wsewolod has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
<ddv> asking about the meaning of life is the same as asking why peanut butter exists
usershell has quit [Ping timeout: 260 seconds]
<Ox0dea> ddv: People tend not to create their own peanut butter.
<ddv> Ox0dea: do you have a life outside of this channel?
<craysiii> what is life
<Ox0dea> ddv: Is everything okay?
dotix has quit [Remote host closed the connection]
<craysiii> what is outside
roshanav_ has joined #ruby
roshanavand has quit [Read error: Connection reset by peer]
troulouliou_div2 has joined #ruby
bigkevmcd has joined #ruby
duckpuppy has joined #ruby
HANJIN has quit [Quit: HANJIN]
sdwrage has quit [Quit: This computer has gone to sleep]
Tempesta has joined #ruby
<darix> craysiii: snow
Coldblackice_ has quit [Ping timeout: 265 seconds]
<craysiii> i went to new york for a week during christmas and got screwed
<craysiii> of course it starts snowing the day after i leave.
bkxd_ has joined #ruby
skade has joined #ruby
steffkes has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
duckpuppy has quit [Ping timeout: 255 seconds]
d0nn1e has quit [Ping timeout: 265 seconds]
Xeago has joined #ruby
devbug_ has joined #ruby
devbug has quit [Ping timeout: 240 seconds]
Coldblackice has joined #ruby
d0nn1e has joined #ruby
norc has joined #ruby
Jardayn has joined #ruby
skade has quit [Ping timeout: 272 seconds]
spooq|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
spooq has joined #ruby
tvw has quit []
krzkrzkrz has quit [Ping timeout: 245 seconds]
dotix has joined #ruby
roshanav_ has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
tagrudev has quit [Quit: This computer has gone to sleep]
gruz0 has joined #ruby
matp has joined #ruby
Xeago has quit [Remote host closed the connection]
choke has joined #ruby
tvw has joined #ruby
baweaver has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
baweaver has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
aadam21 has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby
dlitvak has joined #ruby
roshanavand has quit [Remote host closed the connection]
futilegames has quit [Client Quit]
roshanavand has joined #ruby
<TomyWork> jhass man 42 life
<jhass> why not 5?
<toretore> No manual entry for life
Bloomer has joined #ruby
karapetyan has joined #ruby
roshanavand has quit [Remote host closed the connection]
bricker has quit [Ping timeout: 240 seconds]
vondruch has quit [Quit: Ex-Chat]
<TomyWork> jhass because life is not a file
<TomyWork> even though it's an anagram thereof
<jhass> "all things happen in fives, or are divisible by or are multiples of five, or are somehow directly or indirectly appropriate to 5."
Bloomer has quit [Ping timeout: 260 seconds]
<TomyWork> is that a mathematical term?
Coldblackice has quit [Read error: Connection reset by peer]
vondruch has joined #ruby
j_mcnally has joined #ruby
karapetyan has quit [Remote host closed the connection]
j_mcnally has quit [Client Quit]
maikowblue has joined #ruby
Xeago has quit [Remote host closed the connection]
Rickmasta has joined #ruby
Rickmasta has quit [Client Quit]
Xeago has joined #ruby
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
Xeago has quit [Remote host closed the connection]
<jhass> it's the law of fives
lxsameer has quit [Quit: Leaving]
<jackcom> there is a ruby tutorial?
<apeiros> jackcom: no
<apeiros> nobody ever wrote any tutorial or other introductory material for ruby.
choke has quit [Ping timeout: 265 seconds]
<jackcom> then how can i learn ruby?
<jackcom> apeiros:
yfeldblum has quit [Remote host closed the connection]
schfkt has joined #ruby
<apeiros> you can't. ruby is for people who're born as ruby experts.
yfeldblum has joined #ruby
<jackcom> :) apeiros my IQ is 159
<jackcom> i can do everything easily apeiros
<apeiros> obviously the use of google requires a higher IQ
roshanavand has joined #ruby
<jackcom> apeiros: what is your IQ then?
<apeiros> πe12
<jackcom> hahahahaha fish?
<jackcom> only 12?
<jackcom> hahahaha
DonOtreply has quit [Quit: DonOtreply]
<apeiros> I thought 159 is sufficient to read scientific notation. but then again, that'd require knowledge, not intelligence.
<jackcom> yeah
<jackcom> ok
<jackcom> apeiros:
<apeiros> jackcom: what did we tell you about lines consisting only of a nick?
<TomyWork> so in PCRE, there's the "s" modifier (PCRE_DOTALL). That's missing in Ruby and its "m" modifier behaves a little like it, with \A and \Z serving as replacements for ^ and $ in multiline strings.
cmolenda has quit [Remote host closed the connection]
<jackcom> what you mean? apeiros
<TomyWork> i'm putting this regex in a json so i want to avoid backslashes. is there a way to do that?
<apeiros> jackcom: I mean that I'll kick you if you do it again.
<TomyWork> i.e. a way to make ^ and $ really match the string's ends
roshanavand has quit [Ping timeout: 260 seconds]
<jackcom> :( i just want learn ruby. that is all
<apeiros> jackcom: then start putting that IQ159 brain of yours to use.
<TomyWork> one does not learn ruby by discussing IQ with apeiros
<apeiros> TomyWork: no, ^$ are defined to mean start/end of line, there's no modifier to change that
<TomyWork> ok
<adaedra> TomyWork: what you want is \A and \z.
<TomyWork> what's the difference between uppercase and lowercase \z?
<TomyWork> rubular gives me the same result
<apeiros> TomyWork: whether or not a newline after it is accepted or not
johnhamelink has left #ruby ["WeeChat 1.3"]
<apeiros> >> "foo\n" =~ /foo\Z/
<ruboto> apeiros # => 0 (https://eval.in/499267)
<apeiros> >> "foo\n" =~ /foo\z/
<ruboto> apeiros # => nil (https://eval.in/499268)
<TomyWork> oh, i actually want \Z anyway, in that case
<TomyWork> my regex ends in [[:space:]]*\\Z
tvl has joined #ruby
<apeiros> basically your "file may end with a newline, but doesn't have to"
<TomyWork> my regex ends in [[:space:]]*\Z
tvl is now known as tobiasvl
steffkes has quit [Ping timeout: 245 seconds]
<TomyWork> i'll use "\z". I imagine that performs better :)
steffkes has joined #ruby
steffkes has quit [Changing host]
steffkes has joined #ruby
<apeiros> I doubt the difference is even measurable
einarj has quit [Remote host closed the connection]
<TomyWork> probably not, but you know...
Xeago has joined #ruby
TheHodge has joined #ruby
neanderslob has quit [Read error: Connection reset by peer]
hannelita has joined #ruby
nerfando has joined #ruby
haraigoshi has joined #ruby
ruby-lang679 has joined #ruby
roshanavand has joined #ruby
haraigo has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
schfkt has quit [Quit: Leaving.]
Xeago has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
DonOtreply has joined #ruby
Coldblackice has joined #ruby
ruby-lang679 has quit [Client Quit]
FooMunki has joined #ruby
gruz0_ has joined #ruby
gruz0 has quit [Read error: No route to host]
Jet4Fire has joined #ruby
SenpaiSilver has quit [Quit: Leaving]
SenpaiSilver has joined #ruby
usershell has joined #ruby
govg has joined #ruby
weemsledeux has joined #ruby
mistermocha has joined #ruby
Xeago has quit [Remote host closed the connection]
c355e3b has joined #ruby
charliesome has joined #ruby
charliesome has quit [Client Quit]
lurch_ has joined #ruby
Xeago has joined #ruby
FernandoBasso has quit [Ping timeout: 240 seconds]
mistermocha has quit [Ping timeout: 260 seconds]
schfkt has joined #ruby
bkxd_ has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
cassioscabral has joined #ruby
cassioscabral has quit [Client Quit]
apeiros has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
Makorak has joined #ruby
terlar has joined #ruby
apeiros has joined #ruby
yxhuvud has quit [Ping timeout: 265 seconds]
Guest47321 is now known as saneax_AFK
yxhuvud has joined #ruby
saneax_AFK is now known as saneax
decoponio has joined #ruby
aadam21 has joined #ruby
<jackcom> apeiros: anyway where you live?
karapetyan has quit [Ping timeout: 250 seconds]
saneax is now known as Guest90991
<apeiros> CH
tagrudev has joined #ruby
Makorak has quit [Ping timeout: 272 seconds]
steffkes has quit [Ping timeout: 250 seconds]
<jackcom> apeiros: lier
<jackcom> you don’t live in CH
<jackcom> "country_name":"Netherlands"
<apeiros> that's where my server lives
<jackcom> :(
<jackcom> you are mechanic instead of human?
<jackcom> "country_code":"NL","country_name":"Netherlands","region_code":"NH","region_name":"North Holland","city":"Amsterdam","zip_code":"1000","time_zone":"Europe/Amsterdam”
<apeiros> are you sure it was 159 and not 15.9?
<jackcom> you live in Amsterdam
<jackcom> But you say CH
pawnbox has quit [Remote host closed the connection]
<apeiros> you know what? you've got me. yes, I live in amsterdam.
<jackcom> hehe
haraigoshi has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 260 seconds]
bkxd_ has joined #ruby
pawnbox has joined #ruby
Asher1 has quit [Quit: Leaving.]
Asher has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
duderonomy has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
Snowy_ has quit [Remote host closed the connection]
Ishido has joined #ruby
devbug_ has quit [Ping timeout: 260 seconds]
gruz0_ has quit [Quit: Leaving]
dionysus69 has quit [Ping timeout: 272 seconds]
cassioscabral has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
brunto_ has quit [Ping timeout: 250 seconds]
duckpuppy has joined #ruby
brunto has joined #ruby
astrobun_ has joined #ruby
<shevy> hmm
<shevy> sometimes #ruby is a really weird place
<shevy> I can't decide if this has to do with jackcom or not
usershell has quit [Remote host closed the connection]
sdothum has joined #ruby
duckpuppy has quit [Ping timeout: 256 seconds]
usershell has joined #ruby
colegatron has quit [Ping timeout: 250 seconds]
casadei has joined #ruby
astrobun_ has quit [Remote host closed the connection]
tagrudev has quit [Quit: Leaving]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamvery has quit [Ping timeout: 255 seconds]
dlitvak has quit [Remote host closed the connection]
Snowy has joined #ruby
aadam21 has quit [Remote host closed the connection]
izzol has quit [Quit: leaving]
stannard has joined #ruby
themsay has quit [Quit: AtomicIRC: The nuclear option.]
karapetyan has joined #ruby
baweaver has joined #ruby
Snowy has quit [Ping timeout: 240 seconds]
colegatron has joined #ruby
<jackcom> shevy: not
baweaver has quit [Ping timeout: 260 seconds]
<jackcom> shevy, you instead of me
<shevy> jackcom no u
<jackcom> ok both shevy
<adaedra> stop it.
<jackcom> ok adaedra :(
Snowy has joined #ruby
stamina has joined #ruby
Bloomer has joined #ruby
emilkarl has joined #ruby
krzkrzkrz has joined #ruby
beast has joined #ruby
tvw has quit [Ping timeout: 255 seconds]
hewhomust has quit [Ping timeout: 256 seconds]
Bloomer has quit [Ping timeout: 245 seconds]
schfkt has left #ruby [#ruby]
synthroid has joined #ruby
<devster31> hi, I realize it's not strictly a ruby question but I don't understand what lines 23-27 are doing here: https://github.com/Homebrew/homebrew/blob/430d829bef28840bb173f84b12bf83f0577c9929/Library/Formula/maven.rb
tvw has joined #ruby
binaryplease has joined #ruby
<jackcom> what language?
FooMunki has quit [Quit: FooMunki]
<jackcom> devster31:
pawnbox has quit [Remote host closed the connection]
FooMunki has joined #ruby
<devster31> it's ruby, but it's linked to how homebrew works i think
bkxd_ has quit [Ping timeout: 255 seconds]
<jackcom> maybe you use macbook. devster31
Makorak has joined #ruby
<devster31> what does it mean? use #macbook channel?
<jackcom> i just say that you use macbook now.
<jackcom> devster31:
daivyk has joined #ruby
<devster31> I'm on an retina macbook pro if that's what you meant
<jhass> !kick jackcom no empty highlights
<toretore> don't listen to jackcom devster31
<jhass> oh, broken already?
jackcom has left #ruby [requested by jhass (no empty highlights)]
atomical has joined #ruby
stannard has quit [Remote host closed the connection]
choke has joined #ruby
nixmaniack has joined #ruby
nixmaniack has quit [Changing host]
nixmaniack has joined #ruby
einarj has joined #ruby
<TomyWork> i wrote a sinatra app. now i want to debianize it. is there something i can use for that?
<jhass> a couple of lambs and a god you believe in
<shevy> TomyWork you mean a .deb file?
<TomyWork> shevy well in the end i want to enter a simple command to create a deb file
<TomyWork> debuild, make deb or something like that
<shevy> was that a yes or no ;P
<shevy> TomyWork you can create .rpm or .deb via fpm, #fpm https://github.com/jordansissel/fpm
<TomyWork> yeah i know fpm. i was looking for something ruby-specific
<shevy> fpm is not written in ruby?
kalopsian has quit [Ping timeout: 240 seconds]
<TomyWork> well i was thinking about some kind of omnibus packaging
pawnbox has joined #ruby
<TomyWork> basically it should contain all the scripts, gems and example configuration for my application
<shevy> well you have to package them up first then before you put them into a .deb archive
dEPy has joined #ruby
<TomyWork> what do you mean by "package them up"?
<TomyWork> create a .zip with them?
<shevy> well, you want to do something similar to https://github.com/larsch/ocra
<shevy> just not for windows
ESpiney has joined #ruby
<TomyWork> yes, definitely not for windows :)
<ddv> look at how gitlab does it
sgambino has joined #ruby
<shevy> you can find out dependencies for gems via --reverse-dependencies
charliesome has joined #ruby
<TomyWork> gitlab forked their own omnibus
<shevy> I don't remember exactly how debian mandates a .deb package, fpm seems to know though
<TomyWork> i'd rather not use that :)
gruz0 has joined #ruby
cmolenda has joined #ruby
<TomyWork> a .deb is a .ar containing 2 .tar.gz files in a specific order with specific contents
<shevy> ok but you want to create valid .deb files
yfeldblum has quit [Ping timeout: 240 seconds]
<norc> TomyWork: The answer is simple: Dont.
<TomyWork> norc dont what?
<norc> Why would you want to debianize it?
<TomyWork> because my target is ubuntu?
<TomyWork> and i just want this to work out of the box?
<TomyWork> ubuntu 12.04 and, later, ubuntu 14.04, to be precise
Xeago has quit [Remote host closed the connection]
<TomyWork> i dont want to use rvm or ruby source installs on those machines
<TomyWork> and i dont want to install gems at the system or user level either
arup_r has quit [Remote host closed the connection]
usershell has quit [Remote host closed the connection]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
tvw has quit [Remote host closed the connection]
weemsledeux has joined #ruby
<TomyWork> norc how would you deploy a sinatra application to an ubuntu host?
<darix> TomyWork: https://build.opensuse.org/project/monitor/home:darix:apps - maybe thatgives you an idea
<norc> TomyWork: Not using Debian because getting Ruby to work with gems and dependencies with any external package management system sucks.
Cork has quit [Ping timeout: 256 seconds]
<TomyWork> norc ubuntu comes with an ancient ruby so i'm not going to use that anyway
<TomyWork> I'm looking for a dependency-less approach
certainty has joined #ruby
<darix> TomyWork: ugh
<TomyWork> so basically I get a package that requires bash and a libc, if anything at all
azgil has quit [Quit: Leaving]
<darix> norc: it is actually a relative easy problem. as you can just hook onto the gem metadata
arup_r has joined #ruby
Cork has joined #ruby
duckpuppy has joined #ruby
jackcom has joined #ruby
<jackcom> .
<TomyWork> has anyone here ever used omnibus? do i need to create a gem from my ruby project in order to turn it into an omnibus package?
JakFrist has joined #ruby
freerobby has joined #ruby
<m1dnight_> Hi guys. Ive been trying to get Jekyll to work on my server (ubuntu 14.04) (ruby2.0) but a strange thing is happening. It seems that after isntalling jekyll (gem install --user jekyll) it keeps asking for dependencies manually.
binaryplease has quit [Quit: WeeChat 1.3]
arup_r has quit [Ping timeout: 260 seconds]
<m1dnight_> So stuff like `addressable` or `multipart-post` and stuff.
<m1dnight_> I have puth the path to my gems in my path so thats okay.
<m1dnight_> I have installed 5 of them in the meanwhile but i think its going to be a long list..
<ruboto> m1dnight_, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
duckpuppy has quit [Ping timeout: 265 seconds]
sdwrage has joined #ruby
gp5st has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
nixmaniack has quit []
certainty has quit [Ping timeout: 256 seconds]
<m1dnight_> https://gist.github.com/m1dnight/f83da3523d9276b3996a <- `gem env` for completeness' sake
<ljarvis> m1dnight_: are you sure those are jekyll dependencies? for ex addressable isn't included as a dependency of jekyll
d0nn1e has joined #ruby
choke has quit [Ping timeout: 265 seconds]
usershell has joined #ruby
<m1dnight_> Hrm, it seems to have been fixed by installing other dependnecies
beast has quit [Quit: Leaving]
dwfait has quit [Remote host closed the connection]
duckpuppy has joined #ruby
<m1dnight_> THe normal procedure I follow is to install jekyll, make jekyll say "you need gem X", isntall gem X and repeat until it compiles.
<m1dnight_> And the list I was expecting was `jekyll-gist`, `jekyll-paginate` and `pygments.rb`
<m1dnight_> Installing those fixed it. Weird that it didn't ask for those directly, no?
<m1dnight_> It did so on my osx machine.
dwfait has joined #ruby
certainty has joined #ruby
mistermocha has joined #ruby
gp5st has left #ruby [#ruby]
mfb2 has joined #ruby
mwilly has joined #ruby
KineticX has joined #ruby
ta_ has joined #ruby
certainty has quit [Ping timeout: 245 seconds]
carraroj has joined #ruby
mfb2_ has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
mfb2_ has quit [Remote host closed the connection]
arup_r has joined #ruby
dorei has joined #ruby
KineticX has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
certainty has joined #ruby
mwilly has left #ruby [#ruby]
ta has quit [Ping timeout: 240 seconds]
JDiPierro has joined #ruby
mwilly has joined #ruby
davedev24 has joined #ruby
sankaber has joined #ruby
mfb2 has quit [Ping timeout: 256 seconds]
vikas027 has joined #ruby
arup_r has quit [Ping timeout: 246 seconds]
binaryplease has joined #ruby
skade has joined #ruby
Bloomer has joined #ruby
cassioscabral has quit [Quit: cassioscabral]
Xeago has joined #ruby
<pontiki> that is not the usual behaviour, m1dnight_
<m1dnight_> Very strange.
gruz0 has quit [Quit: This computer has gone to sleep]
cassioscabral has joined #ruby
Timba-as has joined #ruby
<m1dnight_> I have changed my /usr/bin/gem and /usr/bin/ruby to /usr/bin/gem2.0 and /usr/bin/ruby2.0 respectively, though.
<m1dnight_> Maybe that had something to do with it?
arup_r has joined #ruby
jmignault has quit [Quit: day off]
oyes has joined #ruby
<pontiki> i really have no idea
chouhoul_ has quit [Remote host closed the connection]
Bloomer has quit [Ping timeout: 246 seconds]
<pontiki> which ruby and gem is it running?
chouhoulis has joined #ruby
malconis has joined #ruby
oyes has quit [Client Quit]
carraroj has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
<m1dnight_> 2.0
<m1dnight_> or wait
<m1dnight_> ruby 2.0.0p384 (2014-01-12) [x86_64-linux-gnu]
<m1dnight_> and gem version 2.0.14
<pontiki> *shrug* no idea
<m1dnight_> Np, it works now :)
<m1dnight_> Thanks for your time, though!
ta0 has joined #ruby
<shevy> come to ruby 2.3.0!
kalopsian has joined #ruby
<pontiki> m1dnight_: fyi, there's a #jekyll channel, too
<m1dnight_> I know, but this was a ruby problem :>
karapetyan has quit [Ping timeout: 246 seconds]
<pontiki> naturally enough, i suppose. no one in #jekyll could possibly know anything about installing it or ruby
chebyte has joined #ruby
<chebyte> hi there, I just finished my last project, it's https://beerpay.io , a simple way to monetize your github opensource projects, please check it, https://beerpay.io
<chebyte> if you have suggestion, please let me know
jmignault has joined #ruby
<ddv> chebyte: spam
babblebre has joined #ruby
<ddv> chebyte: looks nice tho
B1n4r10 has joined #ruby
kalopsian has quit [Ping timeout: 256 seconds]
hannelita has quit [Remote host closed the connection]
treehug88 has joined #ruby
treehug88 has quit [Client Quit]
vikas027 has left #ruby ["Textual IRC Client: www.textualapp.com"]
mfb2 has joined #ruby
<chebyte> ddv: is not spam, I’m looking for suggestion, and is a project to help OS
freerobby has quit [Quit: Leaving.]
rodfersou is now known as rodfersou|lunch
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ddv> chebyte: I bet you get some % from every transaction
<ddv> chebyte: so it's not only for opensource....
<chebyte> ddv: for sure, OS is not for free
<chebyte> ddv: OS is no free
mfb2 has quit [Client Quit]
<shevy> damn ads
<ddv> chebyte: oh come on
mdw has joined #ruby
<ddv> chebyte: if you really cared that much about free software you would donate your earnings to the fsf
stannard has joined #ruby
aganov has quit [Read error: Connection reset by peer]
<shevy> he evil
<ljarvis> chebyte: my suggestion: prevent FOUC
<ddv> also rms would turn in his grave if you use the term 'opensource'
<ddv> if he was dead that is :p
akem has joined #ruby
krobzaur has joined #ruby
<ljarvis> also, #ruby-offtopic
<shevy> ddv hah I puzzled there for a moment
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
usershell has quit [Remote host closed the connection]
<ddv> :-)
varunwachaspati has joined #ruby
JohnT has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
scripore has joined #ruby
sankaber has joined #ruby
JDiPierro has quit [Remote host closed the connection]
JakFrist has joined #ruby
blackms has quit [Ping timeout: 240 seconds]
nertzy has joined #ruby
gruz0 has joined #ruby
sankaber has quit [Remote host closed the connection]
dionysus69 has joined #ruby
cholq has joined #ruby
sankaber has joined #ruby
mc_fail_ has joined #ruby
<mc_fail_> hi guys
<mc_fail_> is it possible to use selects somehow inside #{}?
<toretore> define selects
JDiPierro has joined #ruby
<ddv> probably Enumerable#select
<mc_fail_> like puts "bla bla #{ a.select{ |a| a.b == c}.first }"
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mc_fail_> yes, enumerable select
<toretore> you can use any expression inside #{}
aadam21 has joined #ruby
<ddv> mc_fail_: have you tried?
frog0909 has joined #ruby
aadam21 has quit [Remote host closed the connection]
<ddv> what works and what doesnt
certainty has quit [Ping timeout: 264 seconds]
aadam21 has joined #ruby
<mc_fail_> ddv thsts the most complicated part, it works in rails console, but doesn't work in the code
<mc_fail_> because it's like #{ a.map{}}
certainty has joined #ruby
hxegon has joined #ruby
kalopsian has joined #ruby
uri_ has joined #ruby
<mc_fail_> it seems like brackets inside considered as relative to #{}
<toretore> mc_fail_, gist your code
<toretore> gits.github.com
<toretore> gist.github.com
gheegh has quit [Ping timeout: 265 seconds]
dlitvak has joined #ruby
TomPeed has joined #ruby
aryaching has joined #ruby
<toretore> mc_fail_, now define "doesn't work"
<mc_fail_> gives syntax error: 601: syntax error, unexpected tSTRING_BEG, expecting '}'
<mc_fail_> ...map{ |h| h[:value] }.join(',')",
mdw has quit [Quit: Sleeping Zzzzz]
mdw has joined #ruby
<toretore> you're missing a }
<apeiros> dat code
<mc_fail_> oh, crap.
<mc_fail_> you're right
solars has quit [Quit: WeeChat 0.4.2]
<ddv> I hope you're not actually using that in production :p
<mc_fail_> ddv hmm, i'm not a ruby guy, but looks ok for me...
<mc_fail_> what is wrong?)
<apeiros> whatever `replacement` is, it screams "make me a proper clas with some proper methods"
foureight84_ has joined #ruby
<ddv> mc_fail_: oooh well if you're not a ruby guy than it doesn't matter :|
kobain has joined #ruby
hxegon has quit [Quit: BRB]
<mc_fail_> apeiros well, replacement comes underlying models written by somebody else, i'm to lazy to fix it
momomomomo_ has joined #ruby
<ddv> mc_fail_: so want your coworkers to hate you don't you?
paultreny_ has quit [Changing host]
paultreny_ has joined #ruby
paultreny_ is now known as paultreny
stevenxl has joined #ruby
stevenxl has joined #ruby
<mc_fail_> ddv i think they already do.
<ddv> :|
ricer2_g4H4 has quit [Ping timeout: 272 seconds]
<ddv> haha nice
freerobby has joined #ruby
baweaver has joined #ruby
<mc_fail_> story_of_my_life.jpg
dorakyura has joined #ruby
aadam21 has quit [Remote host closed the connection]
aadam21 has joined #ruby
sandstro_ has joined #ruby
<apeiros> guess what, you're the author of that story
jmignault has quit [Quit: rcirc on GNU Emacs 24.5.1]
ricer2_g4H4 has joined #ruby
<gregf> pwd
sandstrom has quit [Read error: Connection reset by peer]
<gregf> oops :/ sorry
baweaver has quit [Ping timeout: 264 seconds]
<dorakyura> What the general consensus (if there is such a thing) on Rspec? Worth learning -- or have teams moved on?
FernandoBasso has joined #ruby
<shevy> dorakyura good that you ask :)
<shevy> let me quote something from recently here
<havenwood> dorakyura: In Rails land it seems particularly popular. <3 Minitest
<shevy> 2016-01-07 09:32 <manveru> damn, i forgot how crazy bloated rspec is :|
<dwfait> I enjoy working with RSpec. Still use it by default for most ruby projects
<havenwood> dorakyura: What are you debating between?
skade has quit [Read error: Connection reset by peer]
<dorakyura> havenwood: Cucumber seemed a little more forward thinking. But I'm in class and we're learning Rspec.
palantir has joined #ruby
<havenwood> dorakyura: Don't test with vegetables! That's my advice. :)
<dorakyura> Got it! ha
sankaber has quit [Remote host closed the connection]
<havenwood> dorakyura: Minitest and RSpec are the most common by a long shot. Minitest ships with Ruby! :D
<shevy> don't eat them either!
sankaber has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
dmcp has joined #ruby
nerium has joined #ruby
<dorakyura> Are most Ruby focused teams still using TDD?
<havenwood> Though a cucumber is technically a fruit... right?
<havenwood> :O
binaryplease has quit [Quit: WeeChat 1.3]
casadei has quit [Remote host closed the connection]
chebyte has quit [Quit: chebyte]
<havenwood> dorakyura: We test. Beyond that it's hard to generalize.
ricer2_g4H4 has quit [Ping timeout: 276 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hannelita has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
Bloomer has joined #ruby
mfb2 has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
jrvlima has joined #ruby
Bloomer has quit [Remote host closed the connection]
Bloomer has joined #ruby
sandstro_ has quit [Read error: Connection reset by peer]
<dorakyura> havenwood: Thanks a lot!
<havenwood> dorakyura: Here's a talk by the author of Minitest: https://www.youtube.com/watch?v=MA4jJNUG_dI
<havenwood> dorakyura: You're welcome!
sandstrom has joined #ruby
Ebok has joined #ruby
sandstrom has quit [Read error: Connection reset by peer]
radgeRayden has quit [Ping timeout: 276 seconds]
sandstrom has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> dorakyura: A bit of an aside, but requisite Rich Hickey link since I linked a talk: http://www.infoq.com/presentations/design-composition-performance-keynote
lacuna has joined #ruby
lacuna has quit [Changing host]
lacuna has joined #ruby
ricer2_g4H4 has joined #ruby
<havenwood> "So I wonder if this pairing thing is just a way to keep us from typing all the time - to buy one person some time to think a little bit."
deuterium has joined #ruby
JohnT has quit [Read error: Connection reset by peer]
conta has quit [Quit: Leaving]
nfk has joined #ruby
sandstrom has quit [Read error: Connection reset by peer]
sandstro_ has joined #ruby
<shevy> lol
<shevy> a pair of monkeys
arup_r has quit [Remote host closed the connection]
<ddv> :p
flugel_girl has joined #ruby
dlitvak has quit [Remote host closed the connection]
frog0909_ has joined #ruby
<shevy> ruby shall climb!
peeja has joined #ruby
<flughafen> shevy: i'm going to japan, so, when I come back i expect 2 weeks worth of flughafen jokes
<flughafen> later!
Makorak has quit [Remote host closed the connection]
<shevy> omg
frog0909_ has quit [Remote host closed the connection]
<shevy> I won't believe it until you took off!
mrtomme has quit [Ping timeout: 246 seconds]
<shevy> and what are you doing there anyway
lacuna has quit [Remote host closed the connection]
<ddv> he's big in Japan
hxegon has joined #ruby
<flugel_girl> Matz is our patron saint.
mrtomme has joined #ruby
kies^ has joined #ruby
prestorium has joined #ruby
frog0909 has quit [Ping timeout: 276 seconds]
<ddv> ohai flugel_girl
norc has quit [Ping timeout: 252 seconds]
whippythellama has joined #ruby
<yorickpeterse> yeah Narita flughafen is pretty big
<yorickpeterse> :>
Melpaws has joined #ruby
<yorickpeterse> so we basically have flughafen going to a flughafen
hxegon has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
usershell has joined #ruby
radgeRayden has joined #ruby
happy_girl has joined #ruby
flugel_girl has quit [Ping timeout: 264 seconds]
dmcp has quit [Quit: Disconnecting...]
Yiota has quit [Quit: Textual IRC Client: www.textualapp.com]
underplank has joined #ruby
rodfersou|lunch has quit [Quit: leaving]
happy_girl is now known as flugel_girl
Melpaws1 has joined #ruby
arup_r has quit [Ping timeout: 245 seconds]
certainty has quit [Ping timeout: 265 seconds]
Melpaws has quit [Ping timeout: 240 seconds]
dlitvak has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
usershell has quit [Ping timeout: 264 seconds]
dotix has quit [Remote host closed the connection]
uri___ has joined #ruby
arup_r has joined #ruby
bricker has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
uri_ has quit [Ping timeout: 264 seconds]
sandstro_ has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
uri___ has quit [Quit: --]
casadei has joined #ruby
uri_ has joined #ruby
lacuna has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
ta has joined #ruby
deuterium has quit [Read error: Connection reset by peer]
<TomyWork> is there a way to package up a ruby, say from RVM?
gruz0 has quit [Quit: This computer has gone to sleep]
bricker has quit [Quit: Lost terminal]
<adaedra> You're still debianing?
<TomyWork> yes
<adaedra> For in-house things?
<TomyWork> yes
pandaant has joined #ruby
<TomyWork> and i dont want RVM on the target system :)
<adaedra> I suggest you to use ruby-install and install a ruby to a static location, like /opt/your-package/ruby
<TomyWork> I'm afraid it will kill the gitlab running on the same user account
<adaedra> The cleaner, I think, would be to create a suffixed version (i.e. installs as ruby23, gem23, etc) and use the alternative system to make it the default implementation
<TomyWork> adaedra ah, can i tell that to install to /home/me/my/build/path/opt/mypackage/bin/{ruby,gem,erb,...} and it will still work when i package it up and it ends up in /opt/mypackage/bin/{ruby,gem,erb,...}?
<TomyWork> i dont want to make that ruby available system-wide
<adaedra> ah
cmolenda has quit [Remote host closed the connection]
<TomyWork> i want to put it into my package and install it all as one big blob
<adaedra> Where do your package install your project files?
<TomyWork> /opt/mypackage/src
<havenwood> TomyWork: Yeah, movable isn't enabled by default but you can build Ruby to be with ruby-install: ruby-install --latest ruby -- --enable-shared
Mia has quit [Ping timeout: 250 seconds]
<TomyWork> i havent settled on that name though
iateadonut has left #ruby [#ruby]
<havenwood> TomyWork: The --enabled-shared is a Ruby specific configuration you can use when building yourself, or RVM has a --movable flag.
mwilly has quit [Ping timeout: 240 seconds]
<TomyWork> can i just grab the ruby from RVM then?
<havenwood> TomyWork: Yup, just build with --movable and you should be fine.
govg has quit [Quit: leaving]
jgpawletko has joined #ruby
<havenwood> TomyWork: The binaries are movable as well.
<TomyWork> oh i need to rebuild either way? well in that case i'll use ruby-install :)
SCHAAP137 has quit [Remote host closed the connection]
<havenwood> Yeah, RVM does not default to movable so you'd have to rebuild.
aufi has quit [Quit: Konversation terminated!]
choke has joined #ruby
sandstrom has quit [Read error: Connection reset by peer]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
j_mcnally has joined #ruby
aadam21_ has joined #ruby
vondruch has quit [Ping timeout: 250 seconds]
sandstrom has joined #ruby
mjuszczak has joined #ruby
tubuliferous_ has joined #ruby
mistermocha has joined #ruby
vondruch has joined #ruby
cmolenda has joined #ruby
Encapsulation has joined #ruby
underplank has quit [Quit: underplank]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
aadam21 has quit [Ping timeout: 256 seconds]
choke has quit [Read error: Connection reset by peer]
jas02 has quit [Quit: jas02]
davejlong has joined #ruby
choke has joined #ruby
polishdub has joined #ruby
Makorak has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
chimche has joined #ruby
beanHolez has joined #ruby
Mon_Ouie has joined #ruby
dEPy has quit [Quit: (null)]
sandstrom has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
<TomyWork> can i tell ruby-install not to use sudo?
sandstrom has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
<ljarvis> point it somewhere that doesn't require permission?
gruz0 has joined #ruby
<TomyWork> i'm giving it a relative --install-dir
<havenwood> TomyWork: Don't use sudo and the default --install-dir will be ~/.rubies.
<ljarvis> weird, you have write permission?
<TomyWork> Installing dependencies for ruby 2.2.1
jbrhbr has joined #ruby
JohnT has joined #ruby
shinnya has joined #ruby
<havenwood> TomyWork: You can --no-install-deps but if installing deps takes sudo...
sandstrom has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
atomical has joined #ruby
weemsledeux has joined #ruby
gagrio-brb has quit [Remote host closed the connection]
UtkarshRay has joined #ruby
sandstrom has quit [Read error: Connection reset by peer]
stevenxl has quit [Ping timeout: 240 seconds]
Timba-as has quit [Quit: Lingo: www.lingoirc.com]
carraroj has joined #ruby
<TomyWork> so now i have this: ruby-install-"$ruby_install_version"/bin/ruby-install --install-dir "$build_target_directory" --no-install-deps ruby 2.2.1 -- --enable-shared
sandstrom has joined #ruby
<TomyWork> it didn't fail yet :)
gruz0 has quit [Client Quit]
<TomyWork> and it's past the configure stage so i guess it's ok
huyderman has quit [Remote host closed the connection]
tvw has joined #ruby
Xeago has quit [Remote host closed the connection]
choke_ has joined #ruby
ricer2_g4H4 has quit [Ping timeout: 240 seconds]
symbol has joined #ruby
choke has quit [Ping timeout: 265 seconds]
choke has joined #ruby
karapetyan has joined #ruby
usershell has joined #ruby
beanHolez has quit [Remote host closed the connection]
Xeago has joined #ruby
Makorak has quit [Remote host closed the connection]
jrvlima has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
terlar has quit [Ping timeout: 276 seconds]
<TomyWork> "./ruby: error while loading shared libraries: libruby.so.2.2: cannot open shared object file: No such file or directory" ok so it didn't work :)
choke_ has quit [Ping timeout: 265 seconds]
<TomyWork> that's after installing the resulting package on an unrelated machine
JohnT has quit [Read error: Connection reset by peer]
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
choke_ has joined #ruby
carraroj has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 240 seconds]
ricer2_g4H4 has joined #ruby
beanHolez has joined #ruby
<TomyWork> havenwood --enable-shared didnt make it movable, i'm afraid. got another idea?
choke has quit [Ping timeout: 265 seconds]
synthroid has quit [Remote host closed the connection]
choke has joined #ruby
lacuna has quit [Remote host closed the connection]
choke__ has joined #ruby
singalaut has joined #ruby
Xeago has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
ta0 has quit [Ping timeout: 264 seconds]
uri_ has quit [Quit: --]
theunraveler has joined #ruby
flugel_girl has quit []
theunraveler has quit [Quit: (null)]
beanHolez has quit [Remote host closed the connection]
cholq has left #ruby ["Leaving..."]
akem has quit [Quit: Bye]
choke has quit [Ping timeout: 265 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
uri_ has joined #ruby
hobodave has joined #ruby
hanneli has joined #ruby
stevenxl has joined #ruby
stevenxl has quit [Changing host]
stevenxl has joined #ruby
rocfig has joined #ruby
aupadhye has joined #ruby
theunraveler has joined #ruby
[Butch] has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
JakFrist has joined #ruby
hannelita has quit [Ping timeout: 260 seconds]
JakFrist has quit [Client Quit]
<TomyWork> ./configure --help lists "--enable-load-relative", which sounds promising
<TomyWork> "resolve load paths at run time"
Xeago has quit [Remote host closed the connection]
theunraveler is now known as theunraveler_
theunraveler_ is now known as theunraveler
platzhirsch has joined #ruby
jackcom has quit [Ping timeout: 240 seconds]
dhollinger has joined #ruby
inukshuk_ has joined #ruby
jackcom has joined #ruby
inukshuk_ has quit [Client Quit]
jbrhbr has quit [Quit: Leaving.]
theunraveler has quit [Quit: (null)]
theunraveler has joined #ruby
<jackcom> i can do webcam hijacking with ruby? shevy
mfb2 has quit [Read error: Connection reset by peer]
podman has joined #ruby
dotix has joined #ruby
mikecmpbll has joined #ruby
mfb2 has joined #ruby
<ljarvis> gtfo
<adaedra> :o
slawrence00 has joined #ruby
slawrence00 has quit [Client Quit]
* platzhirsch hijacks jackcom
<TomyWork> since you can write native extensions in C, you can do everything in ruby that you can do in C... provided you write a little C first :P
slawrence00 has joined #ruby
lacuna has joined #ruby
<jackcom> get the fuck out :x
<jackcom> TomyWork: i know c already
<ljarvis> jackcom: watch your language
<TomyWork> :D
DonOtreply has joined #ruby
<ljarvis> jackcom: nobody here is going to help you do something malicious, so please take it elsewhere
<jackcom> my language is English
<ljarvis> if you have some Ruby code you want help with, ask away
<platzhirsch> DFTT
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mikecmpbll> seeing as a hash is basically an indexed array, is there some data structure that i can have multiple indexes?
<jackcom> lol i will watch my pet, because i will do journey ljarvis
<ljarvis> that doesn't even make sense
<adaedra> we do not have the same English I see
<ljarvis> mikecmpbll: huh?
<TomyWork> mikecmpbll an array is an indexed array
dotix has quit [Ping timeout: 240 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
<TomyWork> mikecmpbll a hash is basically an associative array
momomomomo_ has quit [Quit: momomomomo_]
<mikecmpbll> with arbitrary objects as indexes*
<TomyWork> you're looking for the equivalent of a C++ multimap
<mikecmpbll> TomyWork: probably, sounds about right
RTG` has quit [Ping timeout: 255 seconds]
<TomyWork> maybe that term helps you search for a solution. i dont know one
jrvlima has joined #ruby
choke__ has quit [Read error: Connection reset by peer]
RTG` has joined #ruby
<mikecmpbll> TomyWork: ta
<jackcom> ljarvis: anyway you can do it?
palantir has quit [Ping timeout: 240 seconds]
<ljarvis> jackcom: do what?
roshanavand has quit [Remote host closed the connection]
<jackcom> webcam hj
<ljarvis> jackcom: no.
<jackcom> anyway, you have knowledge of that?
<ljarvis> Again, nobody here is going to help you do something malicious, so please take this question elsewhere, jackcom
choke has joined #ruby
mikecmpbll has quit [Quit: Page closed]
<adaedra> Aaaah, the cool kids who just want to show off during recess because they can "hack".
The_Phoenix has joined #ruby
eljimmy has joined #ruby
<adaedra> Hello, eljimmy!
<adaedra> You did it! :p
Mon_Ouie has quit [Ping timeout: 240 seconds]
<eljimmy> success!
<canton7> ah, I recognise the nick jackcom...
brunto has quit [Ping timeout: 245 seconds]
duckpupp1 has joined #ruby
<jackcom> thanks canton7
<jackcom> where we meet?
<ljarvis> ?ot
<ruboto> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
duckpuppy has quit [Ping timeout: 276 seconds]
axsuul has joined #ruby
<jackcom> :(
jackcom has left #ruby [#ruby]
seaworthy has joined #ruby
seaworthy has quit [Changing host]
seaworthy has joined #ruby
<tubbo> eljimmy: you made it!
edwinvdgraaf has quit [Ping timeout: 240 seconds]
sandstrom has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
nertzy has joined #ruby
davejlong has quit [Remote host closed the connection]
<eljimmy> indeed, i am here to soak up all the ruby knowledge.
dlitvak has quit [Remote host closed the connection]
govg has joined #ruby
Skelz0r has quit [Ping timeout: 245 seconds]
baweaver has joined #ruby
lacuna has quit [Remote host closed the connection]
HANJIN has joined #ruby
davejlong has joined #ruby
amoeba_ has quit [Quit: Leaving]
lacuna has joined #ruby
choke has quit [Ping timeout: 265 seconds]
JDiPierro has quit [Remote host closed the connection]
rakm has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
gambl0re has quit [Ping timeout: 276 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
baweaver has quit [Ping timeout: 240 seconds]
momomomomo_ has joined #ruby
momomomomo_ has quit [Client Quit]
colegatron has quit [Ping timeout: 240 seconds]
DonOtreply has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
diego2 has joined #ruby
stevenxl has quit [Ping timeout: 246 seconds]
dotix has joined #ruby
dotix has quit [Changing host]
dotix has joined #ruby
singalaut has left #ruby ["WeeChat 1.4-dev"]
diego2 is now known as diegoviola
roshanavand has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
lacuna has quit [Remote host closed the connection]
hobodave has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Vertroa has joined #ruby
JakFrist has joined #ruby
pietr0 has joined #ruby
maikowblue has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
dionysus69 has quit [Quit: dionysus69]
volty has joined #ruby
stevenxl has joined #ruby
stevenxl has quit [Changing host]
stevenxl has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
tubuliferous_ has quit [Ping timeout: 264 seconds]
jschmid has quit [Ping timeout: 250 seconds]
colegatron has joined #ruby
rkazak has joined #ruby
ta has quit [Remote host closed the connection]
uri_ has quit [Quit: --]
synthroid has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
rkazak has quit [Client Quit]
synthroid has quit [Read error: No route to host]
uri_ has joined #ruby
wolffles has joined #ruby
synthroid has joined #ruby
benjohn has quit [Remote host closed the connection]
Makorak has joined #ruby
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
<wolffles> so i cant figure out how to do a range for .gsub … “hEllo”.gsub(/[A..Z]/,’0’) #? is it even possible
choke has joined #ruby
<havenwood> wolffles: /[A-Z]/
spooq|2 has joined #ruby
eboaz has quit [Read error: Connection reset by peer]
<havenwood> wolffles: Read the docs, it goes on from here: Within a character class the hyphen (-) is a metacharacter denoting an inclusive range of characters.
<DylanJ> Hey what's happening when I do Hash({x: 1})? How come I can call Hash() like a function?
guacamole has joined #ruby
<diegoviola> is there any reason why I can't execute this code when I grap it inside the import method? https://gist.github.com/diegoviola/25186703f60a4634bfd0
eboaz has joined #ruby
<diegoviola> but when that code is not in a method, it runs just fine
<diegoviola> I don't understand why
mark2 has left #ruby ["PART #RubyOnRails :PART #jquery :PART #reactjs :PART ##javascript :PART #elixir-lang :PART #debian :PONG :rajaniemi.freenode.net"]
<havenwood> DylanJ: Hash is a method (yup) on Kernel: http://ruby-doc.org/core/Kernel.html#method-i-Hash
mjuszczak has quit []
RTG` has quit [Disconnected by services]
mfb2_ has joined #ruby
<DylanJ> havenwood: oh neat.
GinoManWorks_ has joined #ruby
RTG` has joined #ruby
nerium_ has joined #ruby
nerium_ has quit [Client Quit]
<havenwood> DylanJ: I should say Hash() is a method on Kernel, rather, heh.
Makorak has quit [Ping timeout: 272 seconds]
trampi has quit [Ping timeout: 255 seconds]
spooq has quit [Ping timeout: 255 seconds]
nettoweb has joined #ruby
<havenwood> >> defined? Hash()
<ruboto> havenwood # => "method" (https://eval.in/499462)
underplank has joined #ruby
<havenwood> >> defined? Hash
<ruboto> havenwood # => "constant" (https://eval.in/499463)
`derpy has quit [Ping timeout: 255 seconds]
<diegoviola> any ideas please?
<ljarvis> diegoviola: define it outside of the block and try again
`derpy has joined #ruby
rkazak has quit [Ping timeout: 250 seconds]
lacuna has joined #ruby
lacuna has quit [Changing host]
lacuna has joined #ruby
platzhirsch has left #ruby [#ruby]
mfb2 has quit [Ping timeout: 245 seconds]
<DylanJ> diegoviola: probably a good idea not to post usernames and passwords in your pastes :)
<diegoviola> still nothing
agentmeerkat has quit [Ping timeout: 256 seconds]
<diegoviola> ok
symm- has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
dorakyura has quit [Ping timeout: 256 seconds]
<diegoviola> I moved that method outside the rake task and called it from the rake task, nothing yet
<diegoviola> no output
Xeago has joined #ruby
spooq|2 has quit [Ping timeout: 255 seconds]
nerium has quit [Ping timeout: 255 seconds]
GinoManWorks has quit [Ping timeout: 255 seconds]
ekinmur has joined #ruby
bricker has joined #ruby
<wolffles> havenwood: found the docs, and thanks very useful to know about charcter classes
haraigoshi has joined #ruby
dorakyura has joined #ruby
roshanavand has joined #ruby
tomphp has joined #ruby
davedev24 has quit [Ping timeout: 260 seconds]
ta0 has joined #ruby
choke_ has joined #ruby
scripore has joined #ruby
davedev24 has joined #ruby
presidentbeef has joined #ruby
choke has quit [Ping timeout: 265 seconds]
sandstrom has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
benlieb has joined #ruby
presidentbeef has quit [Client Quit]
stamina has quit [Quit: WeeChat 1.3]
presidentbeef has joined #ruby
<diegoviola> so any ideas, please?
brunto has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
ledestin has joined #ruby
haraigoshi has quit [Ping timeout: 240 seconds]
<m1dnight_> Is it possible to use rbenv in an upstart script?
choke has joined #ruby
brunto has quit [Ping timeout: 240 seconds]
lacuna has quit [Remote host closed the connection]
imperator has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<imperator> File.readable?("/proc/1/smaps") # => true
Vertroa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<imperator> File.read("/proc/1/smaps") # => Errno::EACCESS
choke_ has joined #ruby
<imperator> wut
choke has quit [Read error: Connection reset by peer]
sandstrom has quit [Quit: My computer has gone to sleep.]
chihhsin_ has quit [Quit: leaving]
chihhsin has joined #ruby
finisherr has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Vertroa has joined #ruby
<Ox0dea> imperator: File.readable? is in the wrong there.
<imperator> oh, lordy
devbug has joined #ruby
<Ox0dea> You're only allowed to read the files in /proc/$PID unless the process is privileged.
hxegon has joined #ruby
RegulationD has quit [Remote host closed the connection]
roshanavand has joined #ruby
synthroid has quit [Remote host closed the connection]
* imperator looks at the source
asmodlol has quit [Quit: Leaving]
theunraveler has quit [Remote host closed the connection]
mdw has quit [Quit: Sleeping Zzzzz]
theunraveler has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
tomdp has left #ruby [#ruby]
tomdp has joined #ruby
Alayde has joined #ruby
Alayde has left #ruby [#ruby]
underplank has quit [Quit: underplank]
neanderslob has joined #ruby
underplank has joined #ruby
<imperator> Ox0dea, is the stuff under /proc/id some sort of pseudo filesystem?
devbug has quit [Ping timeout: 260 seconds]
<Ox0dea> Yes.
<imperator> i think this has come up before, and ruby can't deal
<Ox0dea> That looks to be the case.
roshanavand has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
Vertroa_ has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
jbrhbr has joined #ruby
jmignault has joined #ruby
baweaver has joined #ruby
choke has joined #ruby
Vertroa has quit [Ping timeout: 265 seconds]
bluOxigen_ has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
zast has joined #ruby
ekinmur_ has joined #ruby
tenderlo_ has joined #ruby
stevenxl has quit [Ping timeout: 245 seconds]
dopie_ has joined #ruby
arup___ has joined #ruby
<imperator> would have to check using acl
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firstdayonthejob has joined #ruby
dwfait has quit [Remote host closed the connection]
ruisantos has joined #ruby
hxegon has quit [Read error: Connection reset by peer]
ebertx has quit [Ping timeout: 255 seconds]
maxmanders has quit [Ping timeout: 255 seconds]
gizmore has joined #ruby
ruisanto1 has quit [Ping timeout: 255 seconds]
atom3 has quit [Ping timeout: 255 seconds]
prestorium has quit [Excess Flood]
gizmore has quit [Changing host]
gizmore has joined #ruby
arup_r has quit [Ping timeout: 255 seconds]
tenderlove has quit [Ping timeout: 255 seconds]
prestorium has joined #ruby
jmignault has quit [Client Quit]
TomyLobo has joined #ruby
lacuna has joined #ruby
baweaver has quit [Ping timeout: 255 seconds]
ekinmur has quit [Ping timeout: 255 seconds]
ebertx has joined #ruby
karapetyan has joined #ruby
maxmanders has joined #ruby
JDiPierro has joined #ruby
dopie has quit [Ping timeout: 255 seconds]
asmodlol has joined #ruby
j_mcnally has joined #ruby
Yzguy has joined #ruby
atom3 has joined #ruby
devbug has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
atomical has quit [Ping timeout: 264 seconds]
Bloomer has quit [Remote host closed the connection]
choke has quit [Ping timeout: 265 seconds]
mjuszczak has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
choke has joined #ruby
shadoi has joined #ruby
aadam21_ has quit [Remote host closed the connection]
jrvlima has quit [Quit: Textual IRC Client: www.textualapp.com]
roshanavand has joined #ruby
baweaver has joined #ruby
aadam21 has joined #ruby
aadam21 has quit [Remote host closed the connection]
Salve has joined #ruby
aadam21 has joined #ruby
stevenxl has joined #ruby
scottschecter has joined #ruby
<diegoviola> this doesn't make any sense
<diegoviola> why is that the code in #import is not executed but when I don't use a method it runs?
<diegoviola> I also tried to move the method outside the rake task and nothing...
roshanavand has quit [Ping timeout: 240 seconds]
ekinmur_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Salve has left #ruby [#ruby]
jxs_ has joined #ruby
makenoise has joined #ruby
volty has left #ruby ["Konversation terminated!"]
<m1dnight_> Which variables do I have to set in my environment to use rbenv?
<m1dnight_> I want to try it that way in the upstart scsript
<pragmatism> Just the eval as noted on their docs.
mdw has joined #ruby
ekinmur has joined #ruby
choke_ has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Skelz0r has joined #ruby
choke has quit [Ping timeout: 265 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atomical has joined #ruby
roshanavand has joined #ruby
symbol has quit [Quit: WeeChat 1.1]
RalfJ has quit [Remote host closed the connection]
RalfJ has joined #ruby
nertzy has joined #ruby
pandaant has quit [Remote host closed the connection]
JakFrist has joined #ruby
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Eiam has joined #ruby
m8 has quit [Quit: Sto andando via]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
TomPeed has joined #ruby
dlitvak has joined #ruby
eljimbo has joined #ruby
jmignault has joined #ruby
Asher has quit [Quit: Leaving.]
jmignault has quit [Client Quit]
eljimmy has quit [Ping timeout: 240 seconds]
FooMunki has quit [Remote host closed the connection]
jmignault has joined #ruby
arup___ has quit [Remote host closed the connection]
lurch_ has quit [Ping timeout: 240 seconds]
webstral has joined #ruby
arup_r has joined #ruby
graffix has quit [Ping timeout: 260 seconds]
arup_r has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TomyLobo> s/eval/evil/
choke has joined #ruby
malconis has joined #ruby
<m1dnight_> pragmatism: tey tell you how to put it in the .zshrc
<m1dnight_> but not for an upstart script..
choke_ has quit [Read error: Connection reset by peer]
<m1dnight_> Im running the script with almost an empty environment.
axsuul has quit [Ping timeout: 265 seconds]
<m1dnight_> And its subsequently not reading the .ruby-env file.
jbrhbr has quit [Quit: Leaving.]
Asher has joined #ruby
<Ox0dea> >> alias evil eval; evil '17 + 25' # omigod it's a method
<ruboto> Ox0dea # => 42 (https://eval.in/499470)
Asher is now known as Guest21018
TomyLobo has quit [Read error: Connection reset by peer]
TomyLobo has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
choke has quit [Read error: Connection reset by peer]
choke has joined #ruby
JakFrist has joined #ruby
jbrhbr has joined #ruby
JakFrist has quit [Client Quit]
JakFrist has joined #ruby
baweaver has quit [Remote host closed the connection]
Snowy has quit [Ping timeout: 256 seconds]
ascarter has joined #ruby
ascarter has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
presidentbeef has quit [Ping timeout: 252 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
Limix has joined #ruby
karapetyan has joined #ruby
underplank has quit [Read error: Connection reset by peer]
choke has quit [Ping timeout: 265 seconds]
choke_ has joined #ruby
RegulationD has joined #ruby
guacamol_ has joined #ruby
axsuul has joined #ruby
Sou|cutter has quit [Ping timeout: 260 seconds]
<diegoviola> when I wrap my code inside a class/method the code runs in a rake task, but not when I use methods only
<diegoviola> and I call the method
<diegoviola> I have no idea why
<diegoviola> anyone?
guacamole has quit [Ping timeout: 246 seconds]
Yzguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjuszczak has quit []
mjuszczak has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
mjuszczak has quit [Client Quit]
Yzguy has joined #ruby
mjuszczak has joined #ruby
roshanavand has quit [Ping timeout: 255 seconds]
<Ox0dea> $ cat Rakefile && rake foo
<Ox0dea> def foo; p :ok end
mistermocha has quit [Read error: Connection reset by peer]
<Ox0dea> task(:foo) { foo }
<Ox0dea> :ok
<Ox0dea> diegoviola: ^
cassioscabral has quit [Quit: cassioscabral]
postmodern has joined #ruby
JohnT has joined #ruby
mistermocha has joined #ruby
Sou|cutter has joined #ruby
<diegoviola> this code doesn't return hello world, but when I change that method to 'foo' it works
nertzy has quit [Quit: This computer has gone to sleep]
<diegoviola> this just blows my mind
guacamole has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
theunraveler has quit [Quit: (null)]
guacamol_ has quit [Ping timeout: 260 seconds]
beanHolez has joined #ruby
zast has quit [Remote host closed the connection]
griffindy has joined #ruby
<diegoviola> any ideas?
<Ox0dea> diegoviola: It's a run-of-the-mill name collision.
iamvery has joined #ruby
usershell has quit [Remote host closed the connection]
FernandoBasso has quit [Quit: Leaving]
beanHolez has quit [Client Quit]
<jbrhbr> it's interesting that his binding doesn't win though
choke has joined #ruby
mjuszczak has quit []
<diegoviola> name collision with what?
<Ox0dea> With the method called #import from Rake::DSL.
<diegoviola> ah
<diegoviola> interesting
<Ox0dea> It is a little strange that yours doesn't win, but metaprogramming will do that.
<diegoviola> how can I find out next time if the method names is colliding with something else?
mjuszczak has joined #ruby
<jbrhbr> something that seems like it should obviously run doesn't run? :)
<diegoviola> yeah sure
<diegoviola> I need to open my eyes more
<jbrhbr> i wonder if you could load the task and check .source_location
<diegoviola> sorry about that
<diegoviola> what is that
<diegoviola> lol
<jbrhbr> diegoviola: i wasn't criticizing you, i'm sympathetic to all intuition that is violated by magic
<Ox0dea> diegoviola: task(:default) { p method(:import) }
RegulationD has joined #ruby
<ceej> I'm trying to figure out the best way to fix this hash method, right now it returns an empty Hash instead of nil if the key doesn't exist https://code.hackerearth.com/d1596aM
geekbri has joined #ruby
<diegoviola> jbrhbr: thanks for saying that, I had already too much criticism (and in a bad way) from my client
<diegoviola> but I don't mind criticism
Bloomer has joined #ruby
Mon_Ouie has joined #ruby
<diegoviola> people should be able to express themselves however they want to :)
<diegoviola> Ox0dea: ok let me try that cocde
<diegoviola> code
darkf has quit [Quit: Leaving]
<Ox0dea> > let me try that coc
<Ox0dea> (Sorry.)
<diegoviola> I really like working with Ruby, even though I can be a slow programmer at times
<diegoviola> lmao
aryaching has quit [Ping timeout: 250 seconds]
<diegoviola> I think my brain is just slow at times
<diegoviola> #<Method: Object(Rake::DSL)#import>
<diegoviola> Ox0dea: ok I see you were right
<diegoviola> thanks for your help
kies^ has quit [Ping timeout: 272 seconds]
choke_ has joined #ruby
choke has quit [Read error: Connection reset by peer]
dorakyura has quit [Ping timeout: 256 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mooe has joined #ruby
guacamol_ has joined #ruby
Bloomer has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
devbug has quit [Ping timeout: 260 seconds]
sandstrom has joined #ruby
choke has joined #ruby
guacamole has quit [Ping timeout: 255 seconds]
<ceej> I don't see a way of being able to make it return nil with the current implementation
lipoqil has quit [Quit: Connection closed for inactivity]
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
choke_ has quit [Read error: Connection reset by peer]
guacamol_ has quit [Ping timeout: 240 seconds]
niemcu has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Lewix has quit [Quit: WeeChat 1.3]
ricer2_g4H4 has quit [Ping timeout: 260 seconds]
ekinmur has joined #ruby
bkxd has quit [Ping timeout: 245 seconds]
choke_ has joined #ruby
choke has quit [Read error: Connection reset by peer]
HANJIN has quit [Quit: HANJIN]
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
dlitvak has quit [Remote host closed the connection]
Makorak has joined #ruby
tvw has quit []
tvw has joined #ruby
ricer2_g4H4 has joined #ruby
jackjackdripper has joined #ruby
Zackio has quit [Ping timeout: 244 seconds]
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ceej> would anyone be able to help me with this? https://code.hackerearth.com/d1596aM it's driving me nuts lol
<diegoviola> lol
<ceej> crap this is the url https://code.hackerearth.com/621532s
Makorak has quit [Ping timeout: 272 seconds]
choke_ has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
choke has joined #ruby
JakFrist has joined #ruby
karapetyan has quit [Remote host closed the connection]
wolffles has quit [Quit: wolffles]
karapetyan has joined #ruby
marsjaninzmarsa has joined #ruby
amclain has joined #ruby
Zackio has joined #ruby
bricker has quit [Ping timeout: 264 seconds]
mary5030 has quit [Remote host closed the connection]
RegulationD has quit []
chadhs has joined #ruby
tvw has quit [Remote host closed the connection]
jackjackdripper1 has quit [Quit: Leaving.]
robbyoconnor has quit [Ping timeout: 276 seconds]
marsjaninzmarsa has quit [Excess Flood]
jackjackdripper has joined #ruby
smactive has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
kies^ has joined #ruby
choke_ has joined #ruby
underplank has joined #ruby
choke has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
smactive has quit [Ping timeout: 276 seconds]
Lucky__ has joined #ruby
tectonic has joined #ruby
dotix has quit [Remote host closed the connection]
arup_r has joined #ruby
B1n4r10 has quit [Ping timeout: 265 seconds]
JakFrist has quit [Remote host closed the connection]
JakFrist has joined #ruby
yos7ph has joined #ruby
davejlong has quit [Remote host closed the connection]
baweaver has joined #ruby
spstarr has joined #ruby
<Mon_Ouie> You can't have x[foo] be nil and also have x[foo][bar] = 4 insert an entry in a hash that is created automatically
<spstarr> Question, how do I match a hash's key string? for example: if I have a key with php__fpm_node_# (where # can be 0, 1, 2, 3, 4, 5... etc) can I check if the hash key has a match of any of those?
geekbri has quit []
frem has joined #ruby
<Mon_Ouie> You can manually check using #has_key? if the entry exists already or return a copy of the hash with no default value if you don't need to keep it
<spstarr> ie myHash["php__fpm_node_\d+".match?]
bricker has joined #ruby
<spstarr> #has_key .. looking how to use it
kadoppe has quit [Ping timeout: 250 seconds]
<spstarr> if i can use has_key to regexp match
<Mon_Ouie> spstarr: There's no way to do what you want expect iterating over the whole hash
marsjaninzmarsa has joined #ruby
<ceej> I guess I can't use reduce
<Mon_Ouie> except*
juddey has joined #ruby
choke_ has quit [Ping timeout: 265 seconds]
Guest21018 is now known as Asher
Channel6 has joined #ruby
<spstarr> myHash.has_key() can this take a regex?
davejlong has joined #ruby
kadoppe has joined #ruby
imperator has left #ruby ["Leaving"]
<spstarr> hmm
<spstarr> i just wanted to use defined? myHash[this_key_regex_#] if true then good else boo
<spstarr> or maybe contains?
momomomomo has joined #ruby
davejlong has quit [Client Quit]
<spstarr> or maybe I just get the key string and then compare with contains
choke has joined #ruby
<spstarr> so: defined? myHash.key.include? "this_key_string_" ?
<spstarr> that might work
eljimbo has quit [Quit: This computer has gone to sleep]
<ceej> https://code.hackerearth.com/621532s is simply impossible to return nil, I need to come up with another solution; right?
<spstarr> it just needs to find the matching part of key
synthroid has joined #ruby
Wsewolod has joined #ruby
<spstarr> well iterate the key list
dorakyura has joined #ruby
<spstarr> got it...
<spstarr> k.match(regex) in a select of hash
I has joined #ruby
choke_ has joined #ruby
I is now known as Guest38819
marsjaninzmarsa has quit [Ping timeout: 240 seconds]
ekinmur has quit [Quit: Textual IRC Client: www.textualapp.com]
choke has quit [Read error: Connection reset by peer]
ekinmur has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
gambl0re has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rippa has joined #ruby
<Ox0dea> spstarr: Are you sure you want #select and not #find?
cantaberry has joined #ruby
lemur has joined #ruby
Mon_Ouie has quit [Ping timeout: 260 seconds]
sdothum has joined #ruby
<ceej> this seems to work... https://code.hackerearth.com/a475ffz not sure if it's the best solution though
momomomomo has quit [Quit: momomomomo]
<Ox0dea> ceej: I'm definitely having some déjà vu here.
<Ox0dea> Is this a kata or something, or have I helped you with this before?
kalopsian has quit [Read error: Connection reset by peer]
<ceej> you helped me with this before to clean it up :)
kalopsian has joined #ruby
<Ox0dea> Phew.
baweaver has quit [Remote host closed the connection]
<Ox0dea> Lines 13 and 14 were creeping me out.
<Ox0dea> In the "do I have a code doppelganger?" sense.
carraroj has joined #ruby
<ceej> lol!
IanMalcolm has joined #ruby
<Ox0dea> ceej: Wait, I wasn't referring to just yesterday, though?
<Ox0dea> Lines 13 and 14 are definitely mine, but that would've been ages ago.
lemur has quit [Ping timeout: 272 seconds]
<ceej> nope, this was awhile ago
j_mcnally has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
choke_ has quit [Ping timeout: 265 seconds]
marsjaninzmarsa has joined #ruby
andikr has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
mistermo_ has joined #ruby
axsuul has quit [Ping timeout: 246 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
chipotle has quit [Quit: cheerio]
gatman has joined #ruby
bkxd has joined #ruby
<ceej> Ox0dea: that code I added only works one level deep.... can you see a good way to return nil and not and empty hash like a typical Hash object if the key doesn't exist
yfeldblum has joined #ruby
<Ox0dea> ceej: Mon_Ouie explained why you can't have and eat your cake here.
choke has joined #ruby
<Ox0dea> If you wish to support arbitrary depth, each nonexistent key *has* to spring into existence with a new Hash as its value.
Bloomer has joined #ruby
mistermocha has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 264 seconds]
<ceej> ah, I see... I didn't know he was talking to me... my bad.. so I will have to come up with another solution
nfk|laptop has joined #ruby
mistermo_ has quit [Ping timeout: 250 seconds]
<Ox0dea> Well, you could use a Hash without a default value, but then you get to write the recursion yourself.
bkxd has quit [Ping timeout: 264 seconds]
underplank has quit [Quit: underplank]
<ceej> ye, so I think my original solution should work... where I build the hash using recursion
tekkkz has joined #ruby
<tekkkz> could someone please solve my issue explained here: https://bpaste.net/show/77ada0687800 ?
chipotle has joined #ruby
Bloomer has quit [Ping timeout: 250 seconds]
<Ox0dea> ceej: Alternatively, you could wrap what you've got and just return `nil` for keys that evaluate to the empty Hash. It's not like that's a valid value, right?
tectonic_ has joined #ruby
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
<Ox0dea> tekkkz: Don't be root.
bkxd has joined #ruby
djbkd has joined #ruby
<Ox0dea> Never mind. Looks like things are just being loaded in the wrong order.
skcin7 has joined #ruby
mdw has joined #ruby
mistermocha has joined #ruby
marsjaninzmarsa has joined #ruby
tectoni__ has joined #ruby
tectonic has quit [Ping timeout: 264 seconds]
nertzy has joined #ruby
choke has quit [Ping timeout: 265 seconds]
jbrhbr has quit [Quit: Leaving.]
jbrhbr has joined #ruby
Guest90991 is now known as saneax_AFK
bkxd has quit [Ping timeout: 265 seconds]
<tekkkz> im not
<tekkkz> um running as my normal user
Snowy has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tectonic_ has quit [Ping timeout: 250 seconds]
synthroid has quit [Remote host closed the connection]
cschneid_ has joined #ruby
choke has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
Snowy has quit [Remote host closed the connection]
skade has joined #ruby
JohnT has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
haraigoshi has joined #ruby
gusTester has joined #ruby
jschmid has joined #ruby
Melpaws has joined #ruby
Melpaws1 has quit [Ping timeout: 245 seconds]
Limix has quit [Quit: Limix]
Snowy has quit [Ping timeout: 255 seconds]
<tekkkz> Ox0dea, any other idea?
<Ox0dea> tekkkz: Be nice. :P
ekinmur_ has joined #ruby
<tekkkz> Ox0dea, sorry, what do you mean? im trying to be polite all the time .. ?
webstral has quit [Ping timeout: 240 seconds]
<Ox0dea> tekkkz: You're using msf for good, you say?
Vertroa_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<tekkkz> what does "for good" means?
arup_r has quit []
choke_ has joined #ruby
ekinmur has quit [Ping timeout: 245 seconds]
DonOtreply has joined #ruby
jackjackdripper1 has joined #ruby
choke has quit [Ping timeout: 265 seconds]
framling has joined #ruby
JakFrist has joined #ruby
jackjackdripper has quit [Ping timeout: 240 seconds]
<xargs> I believe for the foreseeable future
j_mcnally has joined #ruby
chipotle has quit [Quit: cheerio]
mjuszczak has quit []
DonOtreply has quit [Ping timeout: 276 seconds]
<tekkkz> Ox0dea, i know what you meant :D sure, only for good reasons. I need to check the security of my phone
<Ox0dea> I believe you. /s
<tekkkz> thanks. so you can help me fixing the issue?
choke_ has quit [Ping timeout: 265 seconds]
synthroid has joined #ruby
Yzguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DonOtreply has joined #ruby
Guest38819 is now known as eljimmy
radgeRayden has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
radgeRayden has joined #ruby
axl__ has joined #ruby
dotix has joined #ruby
psy_ has joined #ruby
bluOxigen_ has quit [Ping timeout: 250 seconds]
choke has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
axl_ has quit [Ping timeout: 276 seconds]
axl__ is now known as axl_
kirun has joined #ruby
jschmid has quit [Ping timeout: 260 seconds]
DonOtreply has quit [Quit: DonOtreply]
dotix has quit [Ping timeout: 256 seconds]
jschmid has joined #ruby
krzkrzkrz has quit [Quit: WeeChat 1.2]
nfk|laptop has quit [Quit: yawn]
AdeelEB has joined #ruby
rrichardsr3 has joined #ruby
<AdeelEB> Hi folks, I got an interesting issue I observed today and just wondering if it is an actual bug or not. Thought I'd try here before doing anything else
ympeg has joined #ruby
Yzguy has joined #ruby
choke has quit [Ping timeout: 265 seconds]
hanneli has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
tvw has joined #ruby
yos7ph has quit [Quit: Leaving]
babblebre has joined #ruby
<AdeelEB> The httpdate method in time.rb expected two digits for the day part of the date. But the RFC says it can be 1 or 2 digits.
<AdeelEB> And the method raises an Error if a date is passed with a single digit date
Limix has joined #ruby
mistermocha has quit [Remote host closed the connection]
choke has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
mjuszczak has joined #ruby
mostlybadfly has joined #ruby
<Ox0dea> AdeelEB: The single digit must be preceded by a space.
pink_vampire has quit [Ping timeout: 240 seconds]
choke has quit [Read error: Connection reset by peer]
jschmid has quit [Ping timeout: 264 seconds]
choke has joined #ruby
baweaver has quit [Remote host closed the connection]
hxegon has joined #ruby
webstral has joined #ruby
<Ox0dea> >> require 'time'; Time.httpdate 'Fri Jan 8 00:00:00 2016' # AdeelEB
<ruboto> Ox0dea # => 2016-01-08 00:00:00 UTC (https://eval.in/499486)
mjuszczak has quit [Client Quit]
yetitwo has joined #ruby
<yetitwo> hey all
<yetitwo> may I have some help with a failed gem install?
<AdeelEB> Ox0dea: But that is ANSI C's asctime() format
underplank has joined #ruby
mistermocha has joined #ruby
<havenwood> yetitwo: What's the error?
<AdeelEB> RFC-1123 says: 1*2DIGIT month 2*4DIGIT
<yetitwo> i'll pastebin
<yetitwo> just a sec
<Ox0dea> AdeelEB: Time.httptime uses RFC-2616.
<Ox0dea> *httpdate
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
<AdeelEB> Yes, and section 3.3.1 of RFC 2616 says it supports RFC 822, updated by RFC 1123
mjuszczak has joined #ruby
<ruboto> yetitwo, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
mjuszczak has quit [Max SendQ exceeded]
<yetitwo> ^ error output from terminal
<yetitwo> i'm running ubuntu 15.10 server
<yetitwo> fresh install
jbrhbr has quit [Quit: Leaving.]
baweaver has joined #ruby
mjuszczak has joined #ruby
choke has quit [Ping timeout: 265 seconds]
<yetitwo> @ruboto: ah, kk. wilco in the future.
kobain has quit [Ping timeout: 240 seconds]
<Ox0dea> AdeelEB: 1123 is updated by 2616, and Time.httpdate observes the latter. I'm not sure what other information you could be looking for.
<yetitwo> I installed ruby-dev
choke has joined #ruby
<yetitwo> and running `apt-get install ruby2.1-dev` returns that it's already installed and latest
mistermocha has quit [Ping timeout: 250 seconds]
Yzguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjuszczak has quit [Client Quit]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
<yetitwo> here's the gist:
yfeldblum has quit [Ping timeout: 264 seconds]
<Ox0dea> yetitwo: apt-get install build-essential
<Ox0dea> You don't have a compiler. :P
mjuszczak has joined #ruby
<yetitwo> ^.-
<yetitwo> that'd do it
underplank has quit [Quit: underplank]
<yetitwo> what about the output tells you that?
<Ox0dea> A hunch, really.
<yetitwo> sure enough
tectoni__ has quit []
<Ox0dea> > The compiler failed to generate an executable file.
<yetitwo> i guess that makes sense... the typical server wouldn't be a build environment
jgpawletko has quit [Quit: jgpawletko]
<Ox0dea> "You have to install development tools first." is also quite telling.
tekkkz has left #ruby ["Leaving"]
<Ox0dea> That's really the one that did it.
underplank has joined #ruby
<yetitwo> ah, kk
ruby-lang314 has joined #ruby
<yetitwo> yup. it worked now.
<yetitwo> thank you!
<Ox0dea> The other error message sometimes crops up when you try to build in a directory where you don't have write access.
<Ox0dea> Happy to help. :)
Bloomer has joined #ruby
ruby-lang314 has quit [Client Quit]
<AdeelEB> Ox0dea: Thanks, I think I get it. They expanded on 1123 but made it 2 Digits for day. Thanks!
crudo has joined #ruby
karapetyan has joined #ruby
<Ox0dea> AdeelEB: Sure thing. Just to reiterate, the day can be 1DIGIT if you're using asctime() format and precede said digit with a space.
<ceej> Ox0dea: sorry, just saw your response. how do you mean wrap it?
cmolenda has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
<Ox0dea> ceej: Disregard. It's probably a bad idea. :P
<Ox0dea> The more explicit approach via recursion is probably best.
<ceej> lol.. k :)
Bloomer has quit [Ping timeout: 276 seconds]
nertzy has joined #ruby
bkxd has joined #ruby
Cohedrin has joined #ruby
dotix has joined #ruby
akkad has quit [Excess Flood]
choke has quit [Ping timeout: 265 seconds]
<crudo> hey guys, how are you all!? anybody here is using puma? having issues with memory? why his heap/physical memore doesnt reduce anytime, is this a normal issue of puma? i've tried set some environments of ruby gc.c like RUBY_GC_MALLOC_LIMIT but without success, GC runs but memory arent free'ed , dont know what to do about, just restarting here, i'm not a ruby developer, is a case where the developers are not rel
dotix has quit [Client Quit]
<crudo> easing the objects? leak?
<Cohedrin> what?
<Cohedrin> what is your question
<Cohedrin> you're having issues with memory?
karapetyan has quit [Remote host closed the connection]
choke has joined #ruby
mjuszczak has quit []
AdeelEB has quit [Quit: Page closed]
<crudo> yeap, server memory always incrase and never reduces in puma. i saw some large objects in redis but dont know if have any clue with puma
chimche has quit [Quit: Leaving.]
spooq|2 has joined #ruby
KineticX has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
dpg_ has joined #ruby
j_mcnally has joined #ruby
kobain has joined #ruby
hxegon is now known as hxegon_AFK
jackjackdripper1 has quit [Quit: Leaving.]
Makorak has joined #ruby
dlitvak_ has joined #ruby
karapetyan has joined #ruby
dopie_ has quit [Quit: Lost terminal]
dopie has joined #ruby
makenoise has quit []
chimche has joined #ruby
akkad has joined #ruby
choke has quit [Ping timeout: 265 seconds]
pricees has joined #ruby
pricees has left #ruby [#ruby]
pricees has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
chipotle has joined #ruby
jschmid has joined #ruby
choke has joined #ruby
dlitvak has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
Vertroa has joined #ruby
Makorak has quit [Ping timeout: 272 seconds]
Vertroa has quit [Client Quit]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
B1n4r10 has joined #ruby
jgpawletko has joined #ruby
<ceej> Ox0dea: this is what I came up with https://gist.github.com/4e284977f8048ee08559
tomchapin has joined #ruby
Jet4Fire has quit []
ympeg has quit [Quit: Changing server]
ta0 has quit [Ping timeout: 250 seconds]
tectonic has joined #ruby
aupadhye has quit [Quit: Leaving]
Vertroa has joined #ruby
mistermocha has quit [Remote host closed the connection]
ympeg has joined #ruby
tectonic has quit [Read error: Connection reset by peer]
choke has quit [Read error: Connection reset by peer]
tectonic has joined #ruby
choke has joined #ruby
momomomomo has joined #ruby
jschmid has quit [Ping timeout: 264 seconds]
codecop has quit [Remote host closed the connection]
mistermocha has joined #ruby
krobzaur has quit [Ping timeout: 260 seconds]
j_mcnally has joined #ruby
JakFrist has joined #ruby
spider-mario has joined #ruby
bithon has joined #ruby
ApeShot has joined #ruby
Dimik has joined #ruby
dn` has quit [Quit: dn`]
uri_ has quit [Quit: --]
elaptics is now known as elaptics`away
ESpiney has quit [Quit: Leaving]
tectonic has quit []
iamayam has quit [Ping timeout: 260 seconds]
polishdub has quit [Quit: Leaving]
choke_ has joined #ruby
guacamole has joined #ruby
choke has quit [Read error: Connection reset by peer]
devbug has joined #ruby
jackjackdripper has joined #ruby
hxegon_AFK is now known as hxegon
iamayam has joined #ruby
synthroid has quit []
freerobby has joined #ruby
gatman has quit []
mjuszczak has joined #ruby
pricees has quit [Ping timeout: 265 seconds]
bricker has quit [Quit: Lost terminal]
ApeShot has quit [Remote host closed the connection]
<Ox0dea> ceej: LGTM. :)
crudo has left #ruby [#ruby]
ricer2_g4H4 has quit [Ping timeout: 260 seconds]
Jackneill has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
paz__1 has joined #ruby
paz__1 has left #ruby [#ruby]
choke_ has quit [Ping timeout: 265 seconds]
baweaver has quit [Remote host closed the connection]
chadhs has quit [Quit: Textual IRC Client: www.textualapp.com]
ricer2_g4H4 has joined #ruby
<diegoviola> so I have this crappy code where I'm taking a XLS+HTML document and converting it to CSV and then parsing that and storing the data on the DB
<diegoviola> instead of saving the CSV in a file, how can I pass the content of the CSV to my read_csv function?
chimche has quit [Quit: Leaving.]
prestorium has quit [Quit: Leaving]
eljimmy has quit [Quit: Leaving]
JDiPierro has quit [Remote host closed the connection]
jgpawletko has quit [Quit: jgpawletko]
choke has joined #ruby
gusTester has quit [Quit: Leaving.]
Mr_Pancake has joined #ruby
weemsledeux has joined #ruby
yetitwo has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
baweaver has joined #ruby
choke_ has joined #ruby
scripore has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
akem has joined #ruby
<Ox0dea> diegoviola: I don't see why you even need CSV: https://eval.in/499564
choke has quit [Ping timeout: 265 seconds]
<Ox0dea> CSV is for when you already have comma-separated values; your data is coming from an HTML table.
pricees has joined #ruby
baweaver has quit [Ping timeout: 255 seconds]
<diegoviola> Ox0dea: I don't understand that HTML table
<diegoviola> it makes my brain explode
<Ox0dea> diegoviola: Which HTML table?
<ljarvis> so much eager loading
cholq has joined #ruby
mistermocha has joined #ruby
nettoweb has joined #ruby
<diegoviola> the one I was trying to parse
pricees has quit [Client Quit]
The_Phoenix has quit [Quit: Leaving.]
<diegoviola> the one that is coming from that XLS file
<ljarvis> but you write the data to a csv then re-read it. You have the data, then you load the data.. again.
<ljarvis> wat
<diegoviola> yeah I know it's insane
<diegoviola> what can I do?
<Ox0dea> ljarvis: Gotta be certain it's the right datums.
<ljarvis> it's inssane because that's how you wrote it
pricees has joined #ruby
<ljarvis> it doesn't need to be written like that
<pricees> /msg NickServ VERIFY REGISTER pricees rzwzdvknipta
<diegoviola> how do you suggest I write it
<adaedra> pricees: fail!
choke_ has quit [Ping timeout: 265 seconds]
<ljarvis> pricees: might want to change that
<adaedra> ljarvis: that's the verify, it's a one time thing
<ljarvis> yes i know
Makorak has joined #ruby
<ljarvis> might not want to use that password?
<Ox0dea> It's not a password.
<adaedra> it's a verify token.
cholq has quit [Client Quit]
<ljarvis> ah right ok
<ljarvis> the last time i reg'd was too long ago apparently
tockitj has quit [Ping timeout: 272 seconds]
choke has joined #ruby
<diegoviola> do you suggest I just take the array from the HTML table and use that to fill the data in the db?
<ljarvis> diegoviola: of course
<diegoviola> ok
<diegoviola> what was I thinking?
<diegoviola> overworking makes me do stupid things
<diegoviola> I blame my boss
Limix has joined #ruby
<Ox0dea> As long as you don't blame you, everything will be okay.
<atmosx> diegoviola: you work as a programmer?
<diegoviola> atmosx: sure
<atmosx> diegoviola: cool
<diegoviola> atmosx: I have a boss that keeps insisting I do things ASAP all the time
<ljarvis> ?ot
<ruboto> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
mistermo_ has joined #ruby
<ljarvis> diegoviola: we've discussed this
<ljarvis> a million times
<diegoviola> ljarvis: yes, sorry
<diegoviola> but calm down
<ljarvis> seriously, I'm close to just out right banning you fron this channel
<ljarvis> you don't learn no matter how many times you've been told
Xeago has joined #ruby
<diegoviola> ok I'll stop, but no need to be threatening
roshanavand has joined #ruby
<ljarvis> so, please let this be the final time.
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jbrhbr has joined #ruby
Bloomer has joined #ruby
<diegoviola> final time for offtopic you mean?
<diegoviola> or
<toretore> lol
<diegoviola> you are being vague
<Ox0dea> This guy.
<ljarvis> You may discuss your Ruby code here, of course. But the offtopic talk about shitting on your boss/employers needs to stop. It's absolutely toxic and I won't have it
<Ox0dea> I vote ljarvis for mod.
<diegoviola> ok sorry about that
uri_ has joined #ruby
<ljarvis> thank you
jschmid has joined #ruby
<shevy> lol
ivanskie has joined #ruby
<diegoviola> I didn't meant to talk bad of anyone
<toretore> two years ago i had some sympathy when you kept on talking about your work situation
TheHodge has joined #ruby
<shevy> now you sympathize with the boss!
<toretore> almost
foureight84_ has quit [Quit: Lingo: www.lingoirc.com]
skcin7_ has joined #ruby
<adaedra> the offtopic request is valable for all discussion about it, for everyone.
mistermo_ has quit [Ping timeout: 265 seconds]
roshanavand has quit [Ping timeout: 245 seconds]
Limix has quit [Quit: Limix]
Bloomer has quit [Ping timeout: 240 seconds]
choke has quit [Ping timeout: 265 seconds]
skcin7 has quit [Ping timeout: 260 seconds]
uri_ has quit [Ping timeout: 250 seconds]
choke has joined #ruby
duckpupp1 has quit [Ping timeout: 260 seconds]
Limix has joined #ruby
rrichardsr3 has quit [Ping timeout: 240 seconds]
rrichard_ has joined #ruby
KineticX has quit [Remote host closed the connection]
chimche has joined #ruby
rrichard_ has quit [Max SendQ exceeded]
tockitj has joined #ruby
<ljarvis> >> RUBY_VERSION
<ruboto> ljarvis # => "2.2.0" (https://eval.in/499571)
rrichardsr3 has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jschmid has quit [Ping timeout: 256 seconds]
<adaedra> Forgot to deop, ruboto?
yfeldblum has joined #ruby
dhollinger has quit [Quit: WeeChat 1.3]
ekinmur_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wldcordeiro has quit [Ping timeout: 240 seconds]
pricees has quit [Quit: leaving]
<shevy> he no want to upgrade to 2.3.0
<Ox0dea> >> i would be so fucking happy if RUBY_VERSION['2.3']
<ruboto> Ox0dea # => nil (https://eval.in/499572)
dfockler has joined #ruby
<Ox0dea> apeiros plz
KineticX has joined #ruby
<Ox0dea> ?modernity
<ruboto> I don't know anything about modernity
bb010g has joined #ruby
<havenwood> ooh, didn't realize eval.in had added 2.3, nice!
dlitvak_ has quit [Remote host closed the connection]
<adaedra> some time ago
<havenwood> makes sense but TIL
<adaedra> its creator (don't remember the name) was talking about it when they did it
dlitvak has joined #ruby
<Ox0dea> charliesome.
<shevy> can ruboto not be changed to use that?
<havenwood> adaedra: charliesome
<ljarvis> shevy: yes, bug apeiros
<adaedra> shevy: yes, it's a config to change, but apparently apeiros didn't do it ¯\_(ツ)_/¯
<shevy> ok!
<havenwood> it's already been done
<havenwood> apeiros already did it!
RTG` has quit [Ping timeout: 245 seconds]
<havenwood> (just hasn't been deployed)
<Ox0dea> 23>> RUBY_VERSION
<ljarvis> apeiros mentioned he was doing some stuff but the new version isn't up and running yet
rrichardsr3 has quit [Quit: He who dares .... wins.]
<Ox0dea> I believe he's waiting to unveil it once all the other new hotness is ready.
tectonic has joined #ruby
mooe has quit [Quit: Connection closed for inactivity]
choke has quit [Ping timeout: 265 seconds]
ta0 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
RTG` has joined #ruby
<adaedra> havenwood: deployment of just adding 2.3 as default should not be really blocking, even with ruboto 2 electric boogaloo around the corner :/
jackjackdripper has joined #ruby
ekinmur has joined #ruby
<Ox0dea> Cheddars can't be boozers.
chipotle has quit [Quit: cheerio]
choke has joined #ruby
mistermocha has quit [Remote host closed the connection]
KineticX has quit [Remote host closed the connection]
nertzy has quit [Quit: This computer has gone to sleep]
karapetyan has quit [Remote host closed the connection]
baweaver has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
choke has quit [Read error: Connection reset by peer]
choke_ has joined #ruby
underplank has quit [Read error: Connection reset by peer]
mjuszczak has quit []
SenpaiSilver has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
ympeg has quit [Ping timeout: 246 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
niemcu has quit [Ping timeout: 245 seconds]
SenpaiSilver has joined #ruby
guacamol_ has joined #ruby
mjuszczak has joined #ruby
chipotle has joined #ruby
ympeg has joined #ruby
guacamole has quit [Ping timeout: 250 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wldcordeiro has joined #ruby
pawnbox_ has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
karapetyan has quit [Ping timeout: 260 seconds]
Wsewolod has quit [Read error: Connection reset by peer]
ekinmur has joined #ruby
casadei has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 265 seconds]
choke has joined #ruby
choke_ has quit [Read error: Connection reset by peer]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zenlot1 has joined #ruby
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has quit [Remote host closed the connection]
zenlot has quit [Ping timeout: 256 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ekinmur has joined #ruby
dlitvak has joined #ruby
j_mcnally has joined #ruby
guacamole has joined #ruby
shadoi1 has joined #ruby
theunraveler has joined #ruby
niemcu has joined #ruby
skcin7_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
guacamol_ has quit [Ping timeout: 245 seconds]
dlitvak_ has joined #ruby
ta0 has quit [Ping timeout: 260 seconds]
shadoi has quit [Ping timeout: 260 seconds]
ekinmur has quit [Ping timeout: 240 seconds]
Limix has quit [Quit: Limix]
dlitvak has quit [Ping timeout: 260 seconds]
[Butch] has quit [Quit: I'm out . . .]
nfk|laptop has joined #ruby
<Melpaws> i need a little help trying to clean up an array. I've tried a few things including reject, . I need to remove the "\n" from any elements. Is it possible or do i have to use something like gsub?
<Melpaws> sample of the array
<ljarvis> Melpaws: just the \n or the other whitespace too?
yqt has joined #ruby
mfb2_ has quit [Remote host closed the connection]
<Melpaws> hm . preferably both so it looks little prettier on the return if possible
<ljarvis> Melpaws: then you want map and strip
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ljarvis> >> ["foo ", " \n bar"].map(&:strip) # just dont forget to handle the nil values if you want to keep them
<ruboto> ljarvis # => ["foo", "bar"] (https://eval.in/499592)
mdw has quit [Quit: Sleeping Zzzzz]
gambl0re has quit [Ping timeout: 255 seconds]
choke has quit [Ping timeout: 265 seconds]
momomomomo has quit [Ping timeout: 250 seconds]
<Melpaws> how to do i remove the nil values since it has the [nil, ""] ?
<ljarvis> Melpaws: Array#compact
<ljarvis> &ri Array#compact
<Melpaws> ah
<ljarvis> compact.map(&:strip) should do what you want
<Melpaws> thank you both!
Coldblackice has quit [Ping timeout: 264 seconds]
dlitvak_ has quit [Ping timeout: 255 seconds]
<ljarvis> there's only one of me but you're welcome
<ljarvis> from us both
<Melpaws> lol
chimche has quit [Quit: Leaving.]
mistermocha has joined #ruby
<ljarvis> ruboto and `derpy are merely slaves to my commands
<Melpaws> sorry - saw the derpy there link the url . guesing that's a bot :)
<ljarvis> correct :)
<`derpy> Go on, take all the credit, these doc links are generating themselves automatically.
<Melpaws> lol
* ljarvis was waiting for something like that
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
choke has joined #ruby
benlieb has quit [Quit: benlieb]
<adaedra> What do you mean, "predictable"?
<ljarvis> :P
axl_ has quit [Quit: axl_]
chimche has joined #ruby
Limix has joined #ruby
webstral has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
mfb2_ has joined #ruby
djbkd has quit [Remote host closed the connection]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Darmani has joined #ruby
mjuszczak has quit []
<Darmani> Hello my pretties<3
djbkd has joined #ruby
skcin7 has joined #ruby
snguyen has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
scripore has quit [Quit: This computer has gone to sleep]
chimche has quit [Client Quit]
retnah has joined #ruby
djbkd has joined #ruby
underplank has joined #ruby
guacamol_ has joined #ruby
choke has quit [Ping timeout: 265 seconds]
<benlieb> Any ruby mine users out there? I’m trying to use it for the first time and it can’t find ruby! It’s looking for a ruby “sdk”, but nothing I’ve given it can find the ruby interpreter. I use ruby-install, ruby-version, and chruby
<havenwood> benlieb: It seems they're inching towards support: https://youtrack.jetbrains.com/issue/RUBY-14086#comment=27-761030
<havenwood> benlieb: (Check the last comment.)
kies^ has quit [Ping timeout: 246 seconds]
theunraveler has quit [Quit: (null)]
lkba has joined #ruby
colegatron has quit [Ping timeout: 264 seconds]
theunraveler has joined #ruby
<benlieb> I’ve used Vim for 12 years and eveyone tells my modern IDEs are better
<benlieb> Just spent an hour trying to get RM to find ruby, hm...
aadam21 has quit [Remote host closed the connection]
Gnut has joined #ruby
choke has joined #ruby
guacamole has quit [Ping timeout: 265 seconds]
mistermocha has quit [Remote host closed the connection]
zapata has quit [Quit: WeeChat 1.3]
peeja has quit [Ping timeout: 250 seconds]
akem has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
Gnut has quit [Client Quit]
<benlieb> That comment says “Although there's no official support for chruby , with RubyMine 8 chruby works without any hacks, the only gotcha is that you have to manually add the rubies.” The problem I was having was figuring out how to manually add the rubies..
<benlieb> any suggestions?
skade has quit [Read error: Connection reset by peer]
<adaedra> Preferences, Languages, Ruby.
tectonic has quit [Ping timeout: 272 seconds]
<adaedra> I suggest you do it from the home screen rather than from a project to do it globally.
Gnut has joined #ruby
<adaedra> You just click +, and select the 'ruby' binary for each version.
mistermocha has joined #ruby
<adaedra> benlieb: ^
<benlieb> I’ve been selecting: /Users/blieb/.rubies/ruby-2.2.3/bin/ruby
<Gnut> More of a subjective question, but where do I go about handling data transformations when writing a gem?
mistermo_ has joined #ruby
<adaedra> benlieb: and it doesn't work?
<benlieb> It hasn’t been, but I had been trying from a project
<benlieb> lemme try via preferences
Bloomer has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
mistermocha has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benlieb> When I hit ‘apply’ in the ruby sdk and gems pane, it says “no ruby interperter configured for the project'
<benlieb> That’s under ‘default settings'
mjuszczak has joined #ruby
roshanavand has joined #ruby
wldcordeiro has quit [Ping timeout: 246 seconds]
<adaedra> mh, show me?
<benlieb> also happens in preferences > ruby sdk and gems
duckpupp1 has joined #ruby
sandstrom has joined #ruby
<adaedra> Ah, I see it
<adaedra> Lol, RubyMine.
<adaedra> Open a project and set it then, apparently there's a bug ¯\_(ツ)_/¯
<benlieb> hm
Bloomer has quit [Ping timeout: 265 seconds]
solocshaw has joined #ruby
mistermo_ has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
nofxx has joined #ruby
nofxx has quit [Client Quit]
roshanavand has quit [Ping timeout: 264 seconds]
<adaedra> Also, for your initial statement: if you're happy with your vim, keep it.
mjuszczak has quit [Ping timeout: 276 seconds]
choke has quit [Ping timeout: 265 seconds]
robbyoconnor has joined #ruby
sankaber has joined #ruby
robbyoconnor has quit [Client Quit]
cantaberry has quit [Ping timeout: 260 seconds]
sankaber has quit [Remote host closed the connection]
duckpupp1 has quit [Ping timeout: 260 seconds]
<diegoviola> isn't that offtopic talk
cantaberry has joined #ruby
Makorak has quit [Remote host closed the connection]
Dimik has joined #ruby
Xeago has quit [Remote host closed the connection]
colegatron has joined #ruby
sankaber has joined #ruby
weemsledeux has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
choke has joined #ruby
<Ox0dea> diegoviola: Shall I phone the authorities?
Channel6 has quit [Ping timeout: 240 seconds]
<shevy> oh!
<shevy> adaedra emacs forever!
<diegoviola> Ox0dea: if you want
<adaedra> shevy: get away with your trolling.
<Ox0dea> !cops These folks are discussing a Ruby IDE in #ruby!
pengin has joined #ruby
nfk|laptop has quit [Quit: yawn]
TomyLobo has quit [Ping timeout: 260 seconds]
snguyen has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> benlieb: got it working?
elaptics`away is now known as elaptics
<benlieb> adaedra: It seems to not give that error in the preferences > ruby sdk, so maybe
<benlieb> it looks like a bug to me.
<adaedra> yeah, same.
<adaedra> RubyMine has some.
<adaedra> Mine tries to use OS X's ruby (2.0) with my 2.2 gems, go figure.
<benlieb> I’m not familiar enough with the ide to know if it’s working. It says it can’t find some gems etc. The app is over a year old, and all the gems are definitely installed
<benlieb> so we’ll see.
Snowy has joined #ruby
<benlieb> If this is off-topic, sorry, btw. Sometimes it’s hard to tell
<adaedra> Did you select the right ruby (green check) in the ruby sdk preferences?
<benlieb> adaedra: ewe that’s scary
<adaedra> ?
<benlieb> the 2.2 gems w 2.0 ruby
<adaedra> ah yes
scripore has joined #ruby
baweaver has joined #ruby
Snowy has quit [Remote host closed the connection]
<adaedra> Check if the right ruby is selected, then do a `Tools > bundler > install` run to try things
Snowy has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
wldcordeiro has joined #ruby
underplank has quit [Read error: Connection reset by peer]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jbrhbr has quit [Quit: Leaving.]
<benlieb> adaedra: I don’t see a tools > bundler
<adaedra> Oh.
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<benlieb> using 8.3
<adaedra> 8.0.3?
<benlieb> oh, yeah that’s right
<adaedra> :)
<adaedra> I've got the same and I definitely have a Bundler item in tools menu
<benlieb> guess it’s not working then :|
<adaedra> Try quitting and reloading RubyMine, it helped me in the past
<diegoviola> how can you guys be offtopic and not me
<diegoviola> :(
choke has quit [Ping timeout: 265 seconds]
<adaedra> how can other people read what they're told and not you
<apeiros> Ox0dea: 2.3 in ruboto is ready. the new ops plugin isn't yet. but it's currently under testing and once it's deemed "bugfree enough" (which should be within the next 48h) I'll gradually replace ruboto.
underplank has joined #ruby
blackmesa has joined #ruby
j_mcnally has joined #ruby
<Ox0dea> apeiros: Sounds good! Please tell me you've included vote-kicks?
<apeiros> Ox0dea: no
<Ox0dea> Shame.
<apeiros> Ox0dea: the work was mostly replacing cinch and providing a proper ban handler
<apeiros> i.e. one which can juggle bans and is easier to use
choke has joined #ruby
<Ox0dea> Right, I remember.
<apeiros> juggle bans because our banlist is too short :(
<Ox0dea> What's wrong with Cinch?
<apeiros> troubles on large channels if you want account names all the time
<adaedra> Ox0dea: it's written in ruby.
<adaedra> :p
<apeiros> and some other issues which mostly stem from its model of "1+ thread per message"
<adaedra> benlieb: no better?
gluec_ has quit [Remote host closed the connection]
jbrhbr has joined #ruby
<benlieb> adaedra: I still dont’ see bundler and it still says it’s missing gems. My guess is that this means something’s funky with the ruby path, or the gem path etc. I think chruby probably changes those
Gadgetoid has quit [Ping timeout: 272 seconds]
<adaedra> é_è
<benlieb> I’m going to have to set this up slowly, since I’m at work, and I can’t justify spending too much time at once not getting anything done.
dorakyura has quit [Ping timeout: 256 seconds]
skcin7 has joined #ruby
<benlieb> Which is basically why I’ve stayed with vim so long… lol
<adaedra> that will be difficult to work with without having direct view on it, sorry
<adaedra> It's strange that it complains about missing gems and not give you the menu for that
<adaedra> It should be right there http://i.imgur.com/P0GMiVy.png
Gadgetoid has joined #ruby
<atmosx> open('foo.log', File::WRONLY | File::APPEND | File::CREAT) <-- this will ovewrite an existing file?
<adaedra> try it and see? :)
dorakyura has joined #ruby
rodfersou has joined #ruby
user083_ has quit [Quit: leaving]
<benlieb> yep, not there
<adaedra> that's really weird.
<benlieb> my guess is because it’s got the wrong gem env
<benlieb> bundler has to be installed
user083 has joined #ruby
<adaedra> maybe
Vertroa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<benlieb> when I get a chance i can compare the gem env in terminal and in RM
<benlieb> I see a “show gem env” in the tools menu
<adaedra> good lick anyway
<adaedra> errrrrrrrrrrrrrrrr luck*
<benlieb> yeah, thanks for the help
<benlieb> lol
<atmosx> adaedra: yeah ty
<adaedra> i'm going to sleep now
<atmosx> twist and shouut
<atmosx> adaedra: nooooo
<benlieb> i am a guitar player
<benlieb> so I’ll go play a good lick
<atmosx> benlieb: that says a lot about you
<benlieb> to make me happy again
<adaedra> :D
<atmosx> :-P
griffindy has quit [Read error: Connection reset by peer]
<adaedra> atmosx: that's what people do after midnight :/
<atmosx> I left my headphone in the office and can't get into proper mod
<atmosx> adaedra: true, I was kidding. I would go too, but I'm close to fixing a bug and I'm kinda excited so
<atmosx> heh
<atmosx> sweet dreams!
chipotle has quit [Quit: cheerio]
choke has quit [Read error: Connection reset by peer]
Vertroa has joined #ruby
choke has joined #ruby
dorakyura has quit [Ping timeout: 256 seconds]
niemcu has quit [Quit: Leaving]
nettoweb has joined #ruby
djbkd has quit [Remote host closed the connection]
Vertroa has quit [Client Quit]
edwinvdgraaf has joined #ruby
chipotle has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has joined #ruby
Vertroa has joined #ruby
charliesome has joined #ruby
choke_ has joined #ruby
cschneid_ has quit [Remote host closed the connection]
choke has quit [Ping timeout: 265 seconds]
toretore has quit [Ping timeout: 240 seconds]