apeiros changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
SocalNick has quit [Ping timeout: 260 seconds]
solocshaw has joined #ruby
tyang has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vktec> When I define a function in the root (is that the right word?) scope, what's the name of the object it's stored in?
CalimeroTeknik has quit [Quit: バイバイ]
<havenwood> vktec: We'd call that defining a method on main. In irb or pry check: self
<havenwood> >> self
<ruby[bot]> havenwood: # => main (https://eval.in/669569)
<vktec> havenwood: Perfect, thanks!
<vktec> Out of interest, where are local variables in the main scope stored? They don't seem to be accessible through self.foo
CalimeroTeknik has joined #ruby
tyang_ has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
solocshaw has quit [Read error: Connection reset by peer]
<havenwood> vktec: local variables aren't the same as methods, they're not called like methods
eljimmy has quit [Read error: Connection reset by peer]
whathappens has quit [Remote host closed the connection]
eljimmy has joined #ruby
<vktec> So they're not stored in an object?
<havenwood> >> local_variables
<ruby[bot]> havenwood: # => [] (https://eval.in/669572)
quoboo is now known as eep
<havenwood> >> binding
<ruby[bot]> havenwood: # => #<Binding:0x410b1c74> (https://eval.in/669573)
<vktec> havenwood: Neat, thanks
<havenwood> vktec: In Pry try: class << self; undef inspect end; self
solocshaw has joined #ruby
ta_ has quit [Remote host closed the connection]
eep is now known as quoboo
quoboo is now known as icydoge
icydoge is now known as quoboo
Nanuq has quit [Ping timeout: 260 seconds]
<vktec> havenwood: It changes how return values are displayed. Is that the expected result?
quoboo is now known as eep
<havenwood> vktec: #=> #<Object:0x007ffb450d6658>
<havenwood> (for example)
roflmyeggo has quit [Ping timeout: 260 seconds]
<havenwood> >> class << self; def inspect; self end end; self
Pisuke has quit [Excess Flood]
matled has quit [Write error: Broken pipe]
vondruch has quit [Write error: Broken pipe]
watersoul has quit [Write error: Broken pipe]
arooni has quit [Excess Flood]
ramfjord has joined #ruby
watersoul_ has joined #ruby
arooni has joined #ruby
Pisuke has joined #ruby
matled has joined #ruby
tvw has quit [Write error: Broken pipe]
matp has quit [Excess Flood]
eep is now known as quoboo
marxarelli|afk has quit [Excess Flood]
<vktec> Yep
<ruby[bot]> havenwood: # => main (https://eval.in/669574)
tvw has joined #ruby
u1d0514e has joined #ruby
_djbkd has quit [Remote host closed the connection]
<havenwood> vktec: If you're interested in more details about the top level read here: https://banisterfiend.wordpress.com/2010/11/23/what-is-the-ruby-top-level/
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
vondruch has joined #ruby
<vktec> havenwood: That looks useful, thanks
quoboo is now known as wdb
tdy has quit [Ping timeout: 268 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vktec> I had a little look at that earlier. Also very handy
ghostlight has quit [Ping timeout: 245 seconds]
ghostlight has joined #ruby
gizmore has joined #ruby
gizless has quit [Ping timeout: 256 seconds]
gusrub has joined #ruby
marr has quit [Ping timeout: 245 seconds]
wdb has quit [Quit: Updating details, brb]
wdb has joined #ruby
tristanp has quit [Remote host closed the connection]
aaronds has quit [Ping timeout: 250 seconds]
sdothum has quit [Read error: Connection reset by peer]
AndrewIsHere has quit [Remote host closed the connection]
gnufied has quit [Ping timeout: 260 seconds]
AndrewIsHere has joined #ruby
sdothum has joined #ruby
splud_ has quit [Quit: splud_]
sdothum has quit [Remote host closed the connection]
bmurt has joined #ruby
jshjsh has quit [Ping timeout: 244 seconds]
AndrewIs_ has joined #ruby
u1d0514e has quit [Quit: Leaving]
brianpWins has quit [Quit: brianpWins]
cdg has quit [Ping timeout: 260 seconds]
sdothum has joined #ruby
gusrub has quit [Remote host closed the connection]
sdothum has quit [Read error: Connection reset by peer]
AndrewIsHere has quit [Ping timeout: 260 seconds]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
sdothum has joined #ruby
gusrub has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
NeverTired has quit [Quit: Connection closed for inactivity]
brianpWins has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
nchambers has joined #ruby
<nchambers> what would be a good exception to raise if a file is not found?
hahuang61 has joined #ruby
Ropeney has joined #ruby
gusrub has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
gusrub has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
shmuli has joined #ruby
muelleme has joined #ruby
gusrub has quit [Remote host closed the connection]
tristanp has joined #ruby
gusrub has joined #ruby
f4_ has joined #ruby
muelleme has quit [Ping timeout: 252 seconds]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tristanp has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
SteenJobs has joined #ruby
<vktec> Is there a way to capture the stdout of the currently running program?
eljimmy has quit [Read error: Connection reset by peer]
eljimmy has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
f4_ has quit [Read error: Connection reset by peer]
f4_ has joined #ruby
f4_ has quit [Max SendQ exceeded]
f4_ has joined #ruby
f4_ has quit [Max SendQ exceeded]
zeroDi has quit [Quit: WeeChat 1.5]
f4_ has joined #ruby
f4_ has quit [Max SendQ exceeded]
whathappens has joined #ruby
jhack has joined #ruby
f4_ has joined #ruby
f4_ has quit [Max SendQ exceeded]
f4_ has joined #ruby
f4_ has quit [Max SendQ exceeded]
zeroDi has joined #ruby
jhack has quit [Client Quit]
rismoney1 has joined #ruby
whathappens has quit [Ping timeout: 256 seconds]
solocshaw has quit [Ping timeout: 260 seconds]
benlieb has quit [Quit: benlieb]
Nanuq has joined #ruby
nchambers has quit [Read error: Connection reset by peer]
nchambers has joined #ruby
pwnd_nsfw` has joined #ruby
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
pwnd_nsfw has quit [Ping timeout: 245 seconds]
hutch34 has joined #ruby
bluOxigen has joined #ruby
nchambers has quit [Read error: Connection reset by peer]
hutch34 has quit [Ping timeout: 256 seconds]
JeanCarloMachado has quit [Quit: Lost terminal]
aaronds has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
nikivi has quit [Quit: irc]
benlieb has joined #ruby
TPug has joined #ruby
aaronds has quit [Ping timeout: 250 seconds]
palms has joined #ruby
JeanCarloMachado has joined #ruby
koooge has joined #ruby
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
shmuli has quit [Remote host closed the connection]
nchambers has joined #ruby
cFFA500 has quit [Quit: Connection closed for inactivity]
JoshS has joined #ruby
jgnagy has quit [Ping timeout: 268 seconds]
shmuli has joined #ruby
sagax has quit [Ping timeout: 245 seconds]
cibs has quit [Ping timeout: 268 seconds]
TPug has quit [Read error: Connection reset by peer]
cibs has joined #ruby
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Jameser has joined #ruby
bruce_lee has quit [Remote host closed the connection]
Littlemyu has joined #ruby
jgnagy has joined #ruby
tristanp has joined #ruby
JeanCarloMachado has quit [Ping timeout: 252 seconds]
JeanCarloMachado has joined #ruby
ChiefAlexander has joined #ruby
railssmith has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
dviola has quit [Quit: WeeChat 1.6]
_djbkd has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
GodFather has quit [Ping timeout: 260 seconds]
aaronds has joined #ruby
nettoweb has joined #ruby
Rodya_ has quit [Remote host closed the connection]
ChiefAlexander has quit [Quit: Leaving...]
ag4ve_ has joined #ruby
flashpoint9 has joined #ruby
aaronds has quit [Ping timeout: 250 seconds]
minimalism has quit [Quit: minimalism]
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sagax has joined #ruby
arescorpio has quit [Quit: Leaving.]
nisstyre has joined #ruby
nisstyre has quit [Changing host]
nisstyre has joined #ruby
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 250 seconds]
whathappens has joined #ruby
pwnd_nsfw has joined #ruby
Devalo has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 245 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
whathappens has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
Devalo has quit [Ping timeout: 245 seconds]
solocshaw has joined #ruby
tristanp has quit [Remote host closed the connection]
tristanp has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
ag4ve_ has quit [Ping timeout: 250 seconds]
tyang_ has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
BubonicPestilenc has joined #ruby
<BubonicPestilenc> hey all
jaguarmagenta has joined #ruby
<BubonicPestilenc> Question: Are there anyway to display current working window when using (capybara + poltergeist + phantomjs) ? currently doing .save_screenshot to check state; And yes, i already asked on #phantomjs
tyang has quit [Ping timeout: 260 seconds]
yeticry has quit [Ping timeout: 244 seconds]
tvw has quit [Ping timeout: 250 seconds]
Silthias has joined #ruby
bronson has joined #ruby
Rodya_ has joined #ruby
Silthias1 has quit [Ping timeout: 252 seconds]
pokalyis has quit [Ping timeout: 268 seconds]
pokalyis_ has joined #ruby
rismoney1 has quit [Ping timeout: 268 seconds]
bronson has quit [Ping timeout: 250 seconds]
AndrewIs_ has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
hakunin has joined #ruby
Jayson_Virissimo has joined #ruby
toretore has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
AndrewIsHere has quit [Ping timeout: 260 seconds]
shmuli has quit [Remote host closed the connection]
railssmith has joined #ruby
palms has quit [Ping timeout: 260 seconds]
d^sh_ has joined #ruby
d^sh has quit [Ping timeout: 268 seconds]
palms has joined #ruby
hahuang61 has joined #ruby
tyang has joined #ruby
shmuli has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
palms has quit [Ping timeout: 260 seconds]
d0nn1e has joined #ruby
tyang_ has quit [Ping timeout: 260 seconds]
palms has joined #ruby
elenatanasoiu has joined #ruby
eljimmy has joined #ruby
CloCkWeRX has quit [Ping timeout: 250 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
optiz0r has quit [Ping timeout: 252 seconds]
CloCkWeRX has joined #ruby
misterpink has quit [Ping timeout: 250 seconds]
aaronds has joined #ruby
elenatanasoiu has quit [Ping timeout: 260 seconds]
JoshS has quit [Ping timeout: 268 seconds]
mim1k|wo1k has joined #ruby
shmuli has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
aaronds has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
aibot has quit [Remote host closed the connection]
aibot has joined #ruby
mim1k|work has quit [Ping timeout: 265 seconds]
Rodya_ has joined #ruby
trif has quit [Ping timeout: 248 seconds]
Littlemyu has quit [Quit: Leaving]
rkazak has quit [Quit: Sleep.....ing....]
solocshaw has quit [Ping timeout: 250 seconds]
SteenJobs has quit [Quit: SteenJobs]
User458764 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
whathappens has joined #ruby
govg has quit [Ping timeout: 265 seconds]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby
whathappens has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
_djbkd has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
jaguarmagenta has joined #ruby
yeticry has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hanmac has quit [Ping timeout: 260 seconds]
christiandsg has joined #ruby
hutch34 has joined #ruby
NeverTired has joined #ruby
webguynow has quit [Ping timeout: 250 seconds]
webguynow has joined #ruby
flashpoint9 has joined #ruby
nchambers is now known as god
flashpoint9 has quit [Ping timeout: 250 seconds]
webguynow has quit [Ping timeout: 260 seconds]
webguynow has joined #ruby
hutch34 has quit [Ping timeout: 265 seconds]
palms has quit [Ping timeout: 260 seconds]
revlit has joined #ruby
red_tail has joined #ruby
Rodya_ has quit [Quit: Leaving...]
hanmac has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
oyes_ has joined #ruby
oyes has quit [Ping timeout: 252 seconds]
oyes_ has quit [Ping timeout: 250 seconds]
skweek has quit [Ping timeout: 265 seconds]
jwang has quit [Ping timeout: 250 seconds]
optiz0r has joined #ruby
pwnd_nsfw` has joined #ruby
biox has quit [Quit: brb servers are ded]
Jayson_Virissimo has quit []
pwnd_nsfw has quit [Ping timeout: 260 seconds]
tristanp has joined #ruby
igniting has quit [Ping timeout: 260 seconds]
postmodern has quit [Quit: Leaving]
aaronds has joined #ruby
biox has joined #ruby
gix has quit [Ping timeout: 250 seconds]
twistedpixels has joined #ruby
twistedpixels has quit [Changing host]
twistedpixels has joined #ruby
christiandsg has quit [Quit: Leaving...]
tristanp has quit [Ping timeout: 265 seconds]
aaronds has quit [Ping timeout: 256 seconds]
gix has joined #ruby
pawnbox has joined #ruby
AndrewIsHere has joined #ruby
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
AndrewIsHere has quit [Ping timeout: 260 seconds]
igniting has joined #ruby
JoshS has joined #ruby
PaulCapestany has quit [Quit: .]
whathappens has joined #ruby
PaulCapestany has joined #ruby
kent\n has joined #ruby
whathappens has quit [Ping timeout: 265 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gusrub has joined #ruby
igniting has quit [Ping timeout: 250 seconds]
Cohedrin has joined #ruby
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 260 seconds]
revlit has quit [Quit: Bye]
rkazak has joined #ruby
hammed has quit [Read error: Connection reset by peer]
Cohedrin has quit [Ping timeout: 256 seconds]
tristanp has joined #ruby
hutch34 has joined #ruby
SCHAAP137 has joined #ruby
aibot has quit [Remote host closed the connection]
ur5us_ has joined #ruby
ur5us has quit [Read error: No route to host]
aibot has joined #ruby
aibot has quit [Remote host closed the connection]
igniting has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
aibot has joined #ruby
Capela has quit [Remote host closed the connection]
Mrgoose3 has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
hammed has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
igniting has quit [Ping timeout: 250 seconds]
Cohedrin has joined #ruby
red_tail has quit [Read error: Connection reset by peer]
rkazak has quit [Quit: Sleep.....ing....]
sepp2k1 has quit [Read error: Connection reset by peer]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
pawnbox has quit [Remote host closed the connection]
nchambers^ has joined #ruby
_djbkd has joined #ruby
User458764 has joined #ruby
pawnbox has joined #ruby
god has quit [Ping timeout: 248 seconds]
hahuang61 has joined #ruby
CloCkWeRX has joined #ruby
ben______ has quit [Remote host closed the connection]
ben__ has joined #ruby
Mrgoose3 has quit [Remote host closed the connection]
igniting has joined #ruby
ben__ has quit [Remote host closed the connection]
elenatanasoiu has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
dgncn has quit [Quit: ^^]
crankharder has quit [Ping timeout: 250 seconds]
gix has quit [Ping timeout: 252 seconds]
elenatanasoiu has quit [Ping timeout: 250 seconds]
aaronds has joined #ruby
crankharder has joined #ruby
gix has joined #ruby
tdy has joined #ruby
aaronds has quit [Ping timeout: 260 seconds]
kent\n has quit [Ping timeout: 245 seconds]
igniting has quit [Ping timeout: 256 seconds]
astrobunny has joined #ruby
muelleme has joined #ruby
nchambers^ has quit [Ping timeout: 248 seconds]
nchambers has joined #ruby
ur5us_ has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
muelleme has quit [Ping timeout: 244 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
igniting has joined #ruby
rkazak has joined #ruby
flashpoint9 has joined #ruby
User458764 has joined #ruby
flashpoint9 has quit [Ping timeout: 260 seconds]
ngrin has joined #ruby
eizua has joined #ruby
hahuang61 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Immune_ has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
amclain_ has quit [Quit: Leaving]
<BubonicPestilenc> Question: Are there anyway to display current working window when using (capybara + poltergeist + phantomjs) ? currently doing .save_screenshot to check state;
Immune_ has quit [Ping timeout: 260 seconds]
elenatanasoiu has joined #ruby
troys has joined #ruby
grh has joined #ruby
elenatanasoiu has quit [Ping timeout: 252 seconds]
Immune has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
rkazak has quit [Quit: Sleep.....ing....]
aaronds has joined #ruby
rkazak has joined #ruby
aaronds has quit [Ping timeout: 245 seconds]
AndrewIsHere has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
User458764 has joined #ruby
AndrewIsHere has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
Devalo has joined #ruby
nchambers has quit [Ping timeout: 248 seconds]
Immune has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
whathappens has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
Devalo has quit [Ping timeout: 245 seconds]
nchambers has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 268 seconds]
rkazak has quit [Quit: Sleep.....ing....]
ur5us has joined #ruby
hutch34 has joined #ruby
lxsameer has joined #ruby
shmuli has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
Terens has quit [Disconnected by services]
muelleme has joined #ruby
Terens has joined #ruby
troys is now known as troys_
hutch34 has quit [Ping timeout: 265 seconds]
djellemah_ has joined #ruby
muelleme has quit [Ping timeout: 250 seconds]
u39 has joined #ruby
ngrin has quit [Quit: Leaving]
LoneHermit has joined #ruby
LoneHermit has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
nchambers has quit [Ping timeout: 248 seconds]
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dminuoso_ has joined #ruby
jaguarmagenta has joined #ruby
yardenbar has joined #ruby
<u39> what should you do after reading well grounded rubyist?
LoneHerm_ has quit [Ping timeout: 256 seconds]
harfangk has joined #ruby
<dminuoso_> u39: Eloquent Ruby is a great read.
<u39> i thought it was just like well grounded rubyist
<u39> ?
<u39> i never reaad it
<u39> read*
jenrzzz has quit [Ping timeout: 265 seconds]
<dminuoso_> u39: It focuses more on patterns.
<dminuoso_> Idioms
<u39> ooh
<u39> what should i read after that?
<u39> i just bought it
<u39> uploading it to my kindle
grh has quit [Ping timeout: 256 seconds]
<dminuoso_> u39: You should start writing Ruby.
<dminuoso_> u39: Just reading books will not make you proficient.
davix has quit [Quit: WeeChat 1.6]
<u39> i wish there was a book with pure exercises
<u39> like those coding challenge sites but in a book
<dminuoso_> u39: There is.
<dminuoso_> It's called github.
<u39> no i mean in a book
<u39> github is different
<dminuoso_> ;)
<u39> still valuable
<dminuoso_> Just github don't worry too much.
bocaneri has joined #ruby
<u39> the reason i would like it in a book form is because authors are generally nice in the sense of giving you specific curated things
<u39> making you "well-grounded"
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso_> u39: You are not well grounded until you have picked up some years of experience.
<u39> i disagree
gusrub has quit [Remote host closed the connection]
<u39> you can learn more in 2 months than someone tried to learn in 2 years
<dminuoso_> Clearly you know better.
<u39> it depends what you're doing
<u39> you could be practicing the same thing over and over again
<dminuoso_> No you will not become proficient/well grounded in any non-trivial language in 2 months.
<u39> or you could be practicing different things over and over again
<u39> it just depends on what you're doing
<dminuoso_> u39: One of the main factors to becoming proficient is knowing library facilities so you don't end up wasting time looking for them (or worse gems or reinvent the wheel to get the same job done). That simply takes times.
<dminuoso_> You cant just "read" and then know it all.
<dminuoso_> Solving problems is what gives you the intuition.
troys_ is now known as troys
<u39> i made the mistake of doing the same thing over and over again like not practicing different things so that's how i know
<dminuoso_> I never told you to repeat the same thing.
<dminuoso_> I told you to practice.
<dminuoso_> Which means write code, and then move on to the next code.
<u39> repetition is practice
mark_66 has joined #ruby
<u39> your code will generally have the same things
<dminuoso_> Right because you develop habits.
troys has quit [Quit: Bye]
<dminuoso_> For example when I write C++ code I always indent the same way: this is fucking useful.
<dminuoso_> It makes code readable.
<u39> like loops for this or input or output and most importantly what algorithm to use if any
<dminuoso_> u39: Im sorry, if you think you know best how to become proficient in Ruby then go ahead.
<dminuoso_> I have better things to do.
ziarkaen has joined #ruby
<u39> i'm not very good at expressing myself
dminuoso_ has quit [Quit: leaving]
dminuoso_ has joined #ruby
lacour has quit [Quit: Leaving]
SJr has quit [Ping timeout: 245 seconds]
aaronds has joined #ruby
ziarkaen has quit [Ping timeout: 252 seconds]
aaronds has quit [Ping timeout: 268 seconds]
<kke> i need to write or find an option parser type of thing (a parser for variable definitions, such as "type: enum, options: cat, dog, bird, default: dog, name: animal). any tips where to look for inspiration?
elifoster has joined #ruby
<dminuoso_> kke: use plain yaml?
muelleme has joined #ruby
<dminuoso_> That's as Rubyesque as it gets I think.
<kke> yaml is where i'm parsing them from
benlieb has quit [Quit: benlieb]
Ishido has joined #ruby
<dminuoso_> kke: Is something like parslet an option for you?
<kke> so i need something a bit like virtus. i like clamp's (cli app framework) option parser. also mutations has some kind of option validator thing.
<dminuoso_> It should be relatively trivial to either handwrite or use a parser/parser generator to parse this.
<kke> you're on the wrong track :) i can just read in the yaml but i need to build objects out of variable definitions and perhaps validate / coerce the values
TomyWork has joined #ruby
dminuoso_ has quit [Ping timeout: 260 seconds]
_djbkd has quit [Quit: My people need me...]
<kke> so that i can do something like field = Field.new(type: :integer, range: (1..30)); field.value = STDIN.read.strip; field.valid?
aryaching has quit [Ping timeout: 252 seconds]
dminuoso_ has joined #ruby
aryaching has joined #ruby
last_staff has joined #ruby
palms has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
firstdayonthejob has joined #ruby
firstdayonthejob has quit [Client Quit]
shmuli has quit [Remote host closed the connection]
djbkd_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
palms has quit [Ping timeout: 260 seconds]
aidalgol has joined #ruby
aidalgol is now known as Guest78117
muelleme has quit [Ping timeout: 260 seconds]
Guest78117 is now known as aidalgol
anisha has joined #ruby
User458764 has joined #ruby
jcao219 has quit [Ping timeout: 252 seconds]
dminuoso_ has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
grh has joined #ruby
mvxlr has joined #ruby
blaxter has joined #ruby
gingray has joined #ruby
dminuoso_ has joined #ruby
xcesariox has joined #ruby
pokalyis_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aaronds has joined #ruby
aaronds has quit [Ping timeout: 250 seconds]
Dimik has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
cdg has joined #ruby
AndrewIsHere has joined #ruby
igniting has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AndrewIsHere has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
charliesome has joined #ruby
whathappens has joined #ruby
claudiuinberlin has joined #ruby
edwinvdgraaf has joined #ruby
dionysus69 has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
ag4ve_ has joined #ruby
edwinvdgraaf has joined #ruby
aganov has joined #ruby
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whathappens has quit [Ping timeout: 260 seconds]
Silthias1 has joined #ruby
mvxlr has joined #ruby
shmuli has joined #ruby
Silthias has quit [Ping timeout: 245 seconds]
quazimodo has quit [Ping timeout: 244 seconds]
igniting has joined #ruby
Fire-Dragon-DoL has joined #ruby
shmuli has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
ag4ve_ has quit [Ping timeout: 256 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
aufi has joined #ruby
hutch34 has joined #ruby
Jameser has quit [Ping timeout: 256 seconds]
<Fire-Dragon-DoL> hello everyone... I was looking into monads implementation libraries in Ruby and found... 10000000000!!!! Any recommendation on which should I aim to? checked "monads", "deterministic", "dry-monads",
bronson has quit [Remote host closed the connection]
<Fire-Dragon-DoL> ... and "monadic" (involuntarily pressed enter), but I'm about to write my own because of such wide choice
<Fire-Dragon-DoL> (yeah, let's add a new one, lol)
djbkd_ has quit [Remote host closed the connection]
u39 has quit [Quit: Page closed]
crissae_ has joined #ruby
ngrin has joined #ruby
djbkd_ has joined #ruby
Robtop__ has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
crissae has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
Guest40679 has quit [Ping timeout: 260 seconds]
bigmac has quit [Ping timeout: 244 seconds]
edwinvdgraaf has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
igniting has quit [Ping timeout: 245 seconds]
Burgestrand has joined #ruby
djbkd_ has quit [Ping timeout: 260 seconds]
elifoster has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Guest53945 has joined #ruby
flying has joined #ruby
lenwood has joined #ruby
cdg_ has joined #ruby
edwinvdgraaf has quit [Ping timeout: 245 seconds]
Chair has joined #ruby
cdg has quit [Ping timeout: 245 seconds]
ur5us has quit [Remote host closed the connection]
quazimodo has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
antgel has joined #ruby
rashomoun has joined #ruby
<rashomoun> is there a better way to do this?
<rashomoun> def hmap(&block)
<rashomoun> Hash[self.map {|k, v| block.call(k,v) }]
<rashomoun> end
<rashomoun> Y
<rashomoun> err, that's wrong.
<rashomoun> self.instance_variables.map(&:to_s).map do |name|
<rashomoun> Hash[name.tr('@', '').to_sym, self.instance_variable_get(name)]
<rashomoun> end.reduce({}, :merge)
edwinvdgraaf has joined #ruby
<rashomoun> that's the case.
LiquidIn1ect has quit [Ping timeout: 250 seconds]
LiquidInsect has joined #ruby
blaxter has quit [Quit: foo]
igniting has joined #ruby
<Burgestrand> rashomoun please put your code in e.g. a github gist, makes it easier to read, and then link to the gist
<rashomoun> Burgestrand: http://vpaste.net/k3dvJ
anisha has quit [Quit: This computer has gone to sleep]
<Burgestrand> rashomoun it's very intrusive to reveal all instance variables of something, I wouldn't recommend doing it at all
<rashomoun> Burgestrand: what's your solution then?
<Burgestrand> rashomoun not doing it at all, why do you need to rip out the internals of something like this?
<blackbombay> 1) why do you assign a local variable that's never used? 2) why map twice? call to_s inside a single map block. 3) sub('@', '') instead of tr. 4) use to_h instead of reduce, it sould be faster: [[1, 2]].to_h => {1 => 2}.
AndChat59136 has joined #ruby
the_drow has joined #ruby
AndChat59136 has quit [Remote host closed the connection]
whathappens has joined #ruby
astrobunny has quit [Remote host closed the connection]
pwnd_nsfw has joined #ruby
<Burgestrand> https://eval.in/669678 as a cleanup, by the way
<hanmac> rashomoun: depending what you want, you can checkout Struct or OpenStruct ... both have a to_h build-in
dionysus69 has joined #ruby
Robtop__ has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
<blackbombay> my take: https://eval.in/669680
whathappens has quit [Ping timeout: 250 seconds]
<hanmac> blackbombay: did you know that Symbol has a #[] method too?
<blackbombay> nope, i did not. id remove the to_s then.
mim1k|wo1k is now known as mim1k|work
quazimodo has quit [Read error: Connection reset by peer]
aaronds has joined #ruby
SJr has joined #ruby
<apeiros> sub('@', '') and tr('@','') do different things. maybe meant gsub?
* apeiros would use .delete('@'), though
aaronds has quit [Ping timeout: 260 seconds]
igniting has quit [Ping timeout: 252 seconds]
<kke> is there any reason to have 2.0, 2.1, 2.2 and 2.3 in travis? if something works on 2.3 and 2.0, can you think of something that would not work in 2.1 or 2.2?
elenatanasoiu has joined #ruby
<ljarvis> kke: absolutely
<ljarvis> if you want to support those versions, they should all be in travis
tomphp has joined #ruby
quazimodo has joined #ruby
gruggo is now known as grug
<kke> just for the fun of it?
<ljarvis> ...
<ljarvis> no, because you want to support them?
<ljarvis> if you don't, don't add them
<kke> has there been a feature that worked in 2.0 and 2.3 but not in 2.1 or 2.2?
<ljarvis> yes, probably quite a few
quazimodo has quit [Read error: Connection reset by peer]
<ljarvis> oh wait in 2.0 and 2.3 but not in the others, probably not
<ljarvis> i read that wrong :)
<kke> well there could have been some temporary bug in 2.1 or 2.2
<Burgestrand> testing is all about how confident you want to be
<ljarvis> right, again it's possible and if you want to support them all then you certainly should add them all
<ljarvis> ^ exactly
<Burgestrand> and how much that confidence costs
jsrn_ has joined #ruby
igniting has joined #ruby
CloCkWeRX has joined #ruby
igniting has quit [Max SendQ exceeded]
igniting has joined #ruby
<blackbombay> apeiros: i think slicing was the better option after all.
nettoweb has joined #ruby
<apeiros> ah, I see. all this was to remove the @ from an ivar name?
<blackbombay> yup
<apeiros> yeah, agreed, sym[1..-1] is IMO best for that.
ziarkaen has joined #ruby
<apeiros> (and in that case, sub instead of gsub was correct too obvs. - I only saw tr vs. sub)
<hanmac> i still think he should checkout Struct and OpenStruct too, because they already have to_h
<apeiros> if they've got stable attributes, they should use Struct over OpenStruct for more than just the to_h :D
<hanmac> hm yeah but he didnt told us where he wanted to use that feature
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
igniting has quit [Ping timeout: 265 seconds]
conta has joined #ruby
manjaroi3 has joined #ruby
manjaroi3 is now known as anon123
anon123 is now known as anon19231231
<anon19231231> hey all
<apeiros> hey anon19231231
Jackneill_ has joined #ruby
tyang_ has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
polysics has joined #ruby
tyang has quit [Ping timeout: 245 seconds]
<kke> do you happen to know anon19231230?
koooge has quit [Quit: Leaving...]
Devalo has joined #ruby
<anon19231231> I will try to explain my situation as best I can. I have to apply order of operations (division, multiplication, addition and subtraction) to an array of elements. I need to loop through the array until one particular operand is not present any more, then move on to the next. I can do this with a series of while loops, is there a better way to do this?
igniting has joined #ruby
<toretore> anon19231231: you mean something like 1) divide all by 6, 2) multiply by 8, 3) add 12 to each, 4) subtract 3 from each ?
jenrzzz has joined #ruby
shmuli has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
cdg_ has quit [Ping timeout: 244 seconds]
<ljarvis> ?code
<ruby[bot]> We can't help you without your code, please post it to https://gist.github.com
<anon19231231> here it is in all its glory: http://pastebin.com/KakmF5qC
<ruby[bot]> anon19231231: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/380443582e8c47941bd44939fb9ccf07
<ruby[bot]> anon19231231: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
jsaak has joined #ruby
<toretore> anon19231231: give an example of what's in `numbers` and `ops` and the intended result
<toretore> oh wait nm
<toretore> yeah result still missing
shmuli has quit [Ping timeout: 245 seconds]
<anon19231231> with the given call on line 37, it returns 0.16666666666666666
<anon19231231> which is what I want
<apeiros> toretore: I'd guess that [1,2,3,4], [:/, :+, :*] translates to 1 / 2 + 3 * 4
<anon19231231> I just want to know how I can make it better
<apeiros> i.e. what they first line does (expression = numbers.zip(ops).flatten.compact)
<anon19231231> its supposed to evaluate the given numbers and operands
<anon19231231> that just merges the two argument arrays
<apeiros> so no RPN it seems
Silthias1 has left #ruby [#ruby]
<anon19231231> sorry what is RPN
<toretore> should be doable with a single inject no?
<apeiros> reverse polish notation
<apeiros> anon19231231: you could do it with a single iteration per operator precedence.
bruce_lee has joined #ruby
<apeiros> i.e. one for :* and :/, and one for :+ and :-
<apeiros> also note that Array#index is a loop too, even if hidden.
croberts has quit [Remote host closed the connection]
mvxlr has joined #ruby
<toretore> oh right precedence
<anon19231231> so that would reduce the while loops to 2
<apeiros> it'd reduce the overall number of loops from 24 to 2 ;-)
<anon19231231> that would be great
<anon19231231> what would I need to change to achieve that
<apeiros> difficult to answer. it seems like homework, so I don't want to spill the solution.
<Burgestrand> This was fun
<apeiros> say you have [1, :*, 2, :*, 3], you know every odd element is an operator
<apeiros> and you know once you've performed an operation, 3 elements will become 1, so still every odd element is an operator
<Burgestrand> How is this different from an RPN though?
<apeiros> say you're at 1, :*, 2 - the result will become the new left-hand side for the next operation (if it's of the same precedence). hth :)
<Burgestrand> With a stack of 1, 2, 3 and the operations / and /, you get 0.166…, no?
flashpoint9 has joined #ruby
<apeiros> Burgestrand: the notation order is different? or did you manage to solve this one with a stack machine too?
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<apeiros> I mean with rpn, you don't have to care about precedence. here you do.
<Burgestrand> apeiros the example given, yeah, not sure about the general case
matp has joined #ruby
<anon19231231> it's not homework just to be clear
<anon19231231> found it in a code test repo
<anon19231231> was interested
<anon19231231> i can paste the question if you guys are interested
lenwood has quit [Ping timeout: 260 seconds]
<apeiros> hm, keeping numbers and operators separate might actually indeed be easier.
<apeiros> Burgestrand: I think your implementation would fail due to operator precedence, no?
aaronds has joined #ruby
* apeiros didn't test, just conjecture.
<Burgestrand> apeiros it depends if you consider [1, :*, 2, :+, 3] as "1 * 2 + 3" or, well, as the RPN equivalent :)
<Burgestrand> Wups, messed up the order
<apeiros> Burgestrand: true. anon19231231 - is the result of [1, :+, 2, :*, 3] 7 or 9?
<hanmac> hm i did something with each_slice and inject
foooobear has joined #ruby
null_ref has quit [Read error: Connection reset by peer]
edwinvdgraaf has quit [Ping timeout: 256 seconds]
<anon19231231> from the question: Your equations
<anon19231231> should honour standard operator precedence (e.g. multiplication before addition) and do not need
<anon19231231> to consider bracketed subexpressions (e.g. `(1 + 2) * (3 + 4)`).
<apeiros> ok, so result would be 7, and Burgestrand's solution sadly incorrect.
<Burgestrand> Yeah, in that case my solution is not the one
<anon19231231> so that means it should be 7
aaronds has quit [Ping timeout: 245 seconds]
aidalgol has quit [Quit: zZzZZzzzzzzz]
<anon19231231> what is your opinion of using eval here
<anon19231231> bad move?
<apeiros> hot needle code. wouldn't be surprised if it's got a bug or two :D
<apeiros> if you can use eval, you can simply convert it to code. that'd be cheating ;-p
edwinvdgraaf has joined #ruby
lenwood has joined #ruby
ldnunes has joined #ruby
anuxivm has joined #ruby
<apeiros> >> nums,ops = [1,2,3], [:+, :*]; eval "#{nums.shift}#{ops.zip(nums).join}"
<ruby[bot]> apeiros: # => 7 (https://eval.in/669701)
<apeiros> it's reasonably simple to whitelist the operands and operators, so I wouldn't consider it a security hazard.
jenrzzz has quit [Ping timeout: 260 seconds]
<anon19231231> right
<apeiros> (ops - allowed_ops).empty?, and nums.all? { |n| n.is_a?(Numeric) }
<anon19231231> reading through your non eval solution
<anon19231231> thanks all for your help
User458764 has joined #ruby
M-shine has quit [Remote host closed the connection]
MuffinPimp[m] has quit [Remote host closed the connection]
Silke[m] has quit [Remote host closed the connection]
M-mistake has quit [Remote host closed the connection]
bascht has quit [Remote host closed the connection]
davix[matrix] has quit [Remote host closed the connection]
laithshadeed[m] has quit [Read error: Connection reset by peer]
Luca[m] has quit [Read error: Connection reset by peer]
eliotk[m] has quit [Write error: Connection reset by peer]
meaggan[m] has quit [Remote host closed the connection]
cpfeilschifter[m has quit [Write error: Connection reset by peer]
velu_aon[m] has quit [Write error: Connection reset by peer]
serah[m] has quit [Remote host closed the connection]
fladson[m] has quit [Write error: Connection reset by peer]
M-manveru has quit [Write error: Connection reset by peer]
GodFather has joined #ruby
workmad3 has joined #ruby
ghostlight has quit [Ping timeout: 250 seconds]
ghostlight has joined #ruby
polysics has quit []
GodFather has quit [Remote host closed the connection]
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mhib has joined #ruby
aaronds has joined #ruby
ngrin_ has joined #ruby
GodFather has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ngrin has quit [Remote host closed the connection]
kent\n has joined #ruby
hutch34 has joined #ruby
bronson has joined #ruby
ngrin_ has quit [Client Quit]
c3553eb has joined #ruby
ngrin has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
bronson has quit [Ping timeout: 256 seconds]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
nikivi has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AndChat59136 has joined #ruby
shmuli has joined #ruby
Silthias has joined #ruby
mostlybadfly has joined #ruby
<Silthias> Morning all, I'm still a newbie when it comes to ruby and I'm trying in vain to setup argument parsing for a script that allows me to set verbose/debug logging. Based on if i pass the argument of '-v' or '-vv'. I'v made it work by using '-d' instead of '-vv', but thats not what I'd like to use ideally. The code I'm using is: https://gist.github.com/anonymous/573f607efc7509c49eff202ff1725020 Anyone able to point me in the direction of w
shmuli has quit [Ping timeout: 245 seconds]
Silke[m] has joined #ruby
davix[matrix] has joined #ruby
M-shine has joined #ruby
bascht has joined #ruby
M-manveru has joined #ruby
MuffinPimp[m] has joined #ruby
Luca[m] has joined #ruby
serah[m] has joined #ruby
laithshadeed[m] has joined #ruby
velu_aon[m] has joined #ruby
meaggan[m] has joined #ruby
eliotk[m] has joined #ruby
fladson[m] has joined #ruby
cpfeilschifter[m has joined #ruby
M-mistake has joined #ruby
AndChat59136 has quit [Ping timeout: 256 seconds]
<jsaak> it is against convention, that is why it is not supported i guess
<jsaak> you can do a parameter with an argument like --debug-level=2
<Silthias> Thats fair enough then, wasnt aware of that being the case. Thanks
yeticry has quit [Ping timeout: 250 seconds]
conta has quit [Ping timeout: 250 seconds]
yeticry has joined #ruby
conta has joined #ruby
<jsaak> (without the = sign)
humlereader has joined #ruby
JeanCarloMachado has joined #ruby
Immune_ has joined #ruby
_whitelogger has joined #ruby
<ljarvis> let me know if you get stuck (or just open an issue, usually i'll fix stuff pretty quickly)
JeanCarloMachado has quit [Ping timeout: 252 seconds]
grh has quit [Ping timeout: 252 seconds]
gregf_ has joined #ruby
Immune_ has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Ping timeout: 260 seconds]
AndChat59136 has joined #ruby
JeanCarloMachado has joined #ruby
malconis has quit [Ping timeout: 250 seconds]
M-mistake has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
MuffinPimp[m] has quit [Remote host closed the connection]
davix[matrix] has quit [Remote host closed the connection]
Silke[m] has quit [Remote host closed the connection]
bascht has quit [Remote host closed the connection]
laithshadeed[m] has quit [Read error: Connection reset by peer]
M-manveru has quit [Read error: Connection reset by peer]
eliotk[m] has quit [Read error: Connection reset by peer]
cpfeilschifter[m has quit [Read error: Connection reset by peer]
fladson[m] has quit [Read error: Connection reset by peer]
Luca[m] has quit [Read error: Connection reset by peer]
velu_aon[m] has quit [Read error: Connection reset by peer]
meaggan[m] has quit [Read error: Connection reset by peer]
serah[m] has quit [Read error: Connection reset by peer]
eggoez has joined #ruby
malconis has joined #ruby
gizless has joined #ruby
gizmore has quit [Ping timeout: 265 seconds]
bluOxigen has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
minimalism has joined #ruby
User458764 has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
Silke[m] has joined #ruby
davix[matrix] has joined #ruby
Luca[m] has joined #ruby
M-shine has joined #ruby
bascht has joined #ruby
MuffinPimp[m] has joined #ruby
M-manveru has joined #ruby
laithshadeed[m] has joined #ruby
serah[m] has joined #ruby
meaggan[m] has joined #ruby
grh has joined #ruby
fladson[m] has joined #ruby
eliotk[m] has joined #ruby
velu_aon[m] has joined #ruby
cpfeilschifter[m has joined #ruby
M-mistake has joined #ruby
ziarkaen has quit [Ping timeout: 252 seconds]
kent\n has quit [Read error: Connection reset by peer]
kent\n has joined #ruby
cariveri has joined #ruby
<cariveri> Hi. is there a database for ruby gems? In this case Im looking for a bootstrap gem
<dminuoso_> cariveri: rubygems.org - gem can also search for you
meth has joined #ruby
bronson has joined #ruby
ziarkaen has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
augcesar has joined #ruby
claudiuinberlin has joined #ruby
sparch has joined #ruby
Vingador has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
igniting has quit [Quit: Ex-Chat]
igniting has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
fmcgeough has joined #ruby
claudiuinberlin has quit [Ping timeout: 260 seconds]
_sfiguser has quit [Ping timeout: 245 seconds]
BubonicPestilenc has quit [Quit: BubonicPestilenc]
harfangk has joined #ruby
_sfiguser has joined #ruby
AndChat59136 has quit [Ping timeout: 260 seconds]
anon19231231 has quit [Quit: leaving]
Immune has joined #ruby
nadir has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
User458764 has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Madplatypus has quit [Quit: Connection closed for inactivity]
nopolitica has joined #ruby
johnmilton has joined #ruby
whathappens has joined #ruby
tk__ has joined #ruby
synthroid has joined #ruby
whathappens has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
fnux has quit [Quit: Bye ~]
fnux has joined #ruby
Rinella has left #ruby [#ruby]
mvxlr has joined #ruby
AndrewIsHere has joined #ruby
Pazzaz has joined #ruby
sparch has quit [Ping timeout: 260 seconds]
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
matp has quit [Remote host closed the connection]
AndrewIsHere has quit [Ping timeout: 245 seconds]
matp has joined #ruby
anuxivm has quit [Quit: Leaving.]
maloik10 has joined #ruby
Mia has quit [Ping timeout: 244 seconds]
hutch34 has joined #ruby
edwinvdg_ has joined #ruby
maloik has quit [Ping timeout: 268 seconds]
edwinvdg_ has quit [Read error: Connection reset by peer]
edwinvdg_ has joined #ruby
edwinvdgraaf has quit [Ping timeout: 265 seconds]
grh has quit [Ping timeout: 268 seconds]
nikivi has quit [Quit: irc]
houhoulis has joined #ruby
solocshaw has joined #ruby
sparch has joined #ruby
sparch has joined #ruby
sparch has quit [Changing host]
meth has quit [Quit: Leaving]
jackjackdripper has joined #ruby
bronson has joined #ruby
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
ruby-lang308 has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
ruby-lang308 has quit [Client Quit]
grh has joined #ruby
whiteline has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 260 seconds]
optiz0r has quit [Ping timeout: 265 seconds]
whiteline has joined #ruby
claudiuinberlin has joined #ruby
submitnine has joined #ruby
jhack has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
nikivi has joined #ruby
sdothum has joined #ruby
malconis has quit [Quit: Textual IRC Client: www.textualapp.com]
tyang_ has quit [Ping timeout: 260 seconds]
alireza has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
rashomoun has quit [Remote host closed the connection]
pawnbox has joined #ruby
<sheepman> just looking at the Unirest gem (https://github.com/Mashape/unirest-ruby) and I'm trying to set the user_agent but failing... I think I must be doing something wrong can someone explain how to use it? The documenation just states Unirest.user_agent("test") but that errors
minimalism has quit [Quit: minimalism]
pawnbox_ has joined #ruby
ben__ has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
<blackbombay> sheepman: what's the error? why did you choose that gem over, say, net/http?
<sheepman> blackbombay: actually i think i just found the problem as there is an issue raised in Github for it
<sheepman> should of checked there first really.
<sheepman> sorry.
<blackbombay> np.
<blackbombay> fwiw Unipost.get '..', headers: {'User-Agent' => '...'} should work, if the gem works at all :)
Immune has joined #ruby
edwinvdg_ has quit [Ping timeout: 260 seconds]
ben__ has quit [Ping timeout: 260 seconds]
<sheepman> blackbombay: in the end i needed to bundle the version from github as it differs from the one in rubygems for some reason :/
<blackbombay> why are you using that gem?
<sheepman> blackbombay: I've used it before but never needed to set the user agent :) worked fine for me in the past!
Immune has quit [Ping timeout: 260 seconds]
<blackbombay> alright. it could be worth the time to learn how to use net/http as well, it works well too.
hanmac has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
Ishido has joined #ruby
aaronds_ has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
Ishido has quit [Client Quit]
aaronds has quit [Read error: Connection reset by peer]
Ishido has joined #ruby
<soahccc> I use net-ssh to sometimes cat contents. Why is it that the encoding of the result string is not utf-8 while $LANG is set to utf8 inside the ssh env?
Capela has joined #ruby
minimalism has joined #ruby
aaronds_ has quit [Ping timeout: 244 seconds]
aaronds has joined #ruby
ramortegui has joined #ruby
dionysus69 has joined #ruby
<vktec> How can I explicitly delete a variable?
edwinvdgraaf has joined #ruby
<soahccc> vktec: local variable?
<vktec> Yes
<soahccc> I think there is no way
<vktec> :-/
<vktec> What about globals?
<soahccc> you can just set it to nil
jrafanie has joined #ruby
<soahccc> vktec: what are you doing? :D globals sounds horrible
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<soahccc> that is why you can't really "delete" a local variable
<vktec> I may actually be looking for the wrong thing... I'm trying to call the destructor method on a foreign Rust struct from mruby
hanmac has joined #ruby
jhack has quit [Quit: jhack]
ben__ has joined #ruby
<dminuoso_> vktec: What bindings are you using?
<vktec> mrusty
<dminuoso_> vktec: Without looking deeply I'd expect the GC to take care of this for you.
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vktec> The issue may be elsewhere then
<vktec> Thanks for your help
jhack has joined #ruby
User458764 has joined #ruby
optiz0r has joined #ruby
<soahccc> So what is going on here? How do you get utf-8 content via ssh? :D https://gist.github.com/2called-chaos/8329ed8e8055c940e48f3a2bd0b0e7bb
<vktec> dminuoso_: Yep, the error was elsewhere, thanks for the help
<dminuoso_> apeiros: linky linky to your gisty gisty for soahccc?
<dminuoso_> vktec: o/
crissae_ has quit [Quit: Leaving]
<soahccc> dminuoso_: I don't have to get that right? :)
<dminuoso_> soahccc: The immediate issue is this: The string is assumed to have the encoding of ASCII-8BIT, but \xC3 is not a valid ASCII-8BIT codepoint - so the encoding fails.
<dminuoso_> soahccc: There's an immediate fix which requires using force_encoding - but that's just a hotfix. The real issue is somewhere else.
<soahccc> The question is at which point the encoding changes since all chains are aligned to utf-8 :D
ben__ has quit [Read error: Connection reset by peer]
<dminuoso_> (force_encoding is like saying "I know you think this is ascii-8bit but it's actually utf-8 codepoints")
ben__ has joined #ruby
<dminuoso_> soahccc: what library are you using?
<soahccc> dminuoso: host.exec uses net/ssh
<dminuoso_> soahccc: strangely SO has the answer.
mostlybadfly has quit [Quit: Connection closed for inactivity]
<soahccc> dminuoso_: well they basically do force_encoding or did I pick the wrong solution?
<soahccc> One does .force_encoding('ASCII-8BIT').encode('UTF-8') but that doesn't work, I just have to force_encoding("utf-8") but it seems wrong
tyang has joined #ruby
tk__ has quit [Quit: ばいばい]
Capela has quit [Remote host closed the connection]
Capela has joined #ruby
cdg has joined #ruby
<dminuoso_> soahccc: Ive done some searching on japanese websites, it seems like net-ssh has been plagued a while with this - the fact that its not really actively maintained does not help.
<soahccc> Hmm well I guess I stick with force_encoding for now. I personally only use utf-8 everywhere so it should work out
ziarkaen has quit [Ping timeout: 260 seconds]
d10n-work has joined #ruby
Burgestrand has joined #ruby
gigetoo_ has joined #ruby
ziarkaen has joined #ruby
igniting has quit [Ping timeout: 250 seconds]
Gasher has joined #ruby
igniting has joined #ruby
houhoulis has quit [Ping timeout: 250 seconds]
gigetoo has quit [Ping timeout: 245 seconds]
gigetoo_ is now known as gigetoo
houhoulis has joined #ruby
GinoManWrx has joined #ruby
GinoManWrx has quit [Read error: Connection reset by peer]
GinoManWrx has joined #ruby
GinoManWrx has quit [Read error: Connection reset by peer]
GinoManWrx has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
houhoulis has quit [Ping timeout: 260 seconds]
GinoManWorks has quit [Ping timeout: 268 seconds]
Axy has quit [Ping timeout: 260 seconds]
meth has joined #ruby
grh has quit [Ping timeout: 260 seconds]
Immune has joined #ruby
nikivi has quit [Quit: zzz]
grh has joined #ruby
cpruitt has joined #ruby
tuxaddicted has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Immune has quit [Ping timeout: 260 seconds]
cpruitt has quit [Read error: Connection reset by peer]
aaronds_ has joined #ruby
cpruitt has joined #ruby
aaronds has quit [Ping timeout: 260 seconds]
ChiefAlexander has joined #ruby
chouhoulis has joined #ruby
dminuoso_ has quit [Ping timeout: 260 seconds]
rodfersou has joined #ruby
whathappens has joined #ruby
aaronds has joined #ruby
jhack has quit [Quit: jhack]
alireza has quit [Ping timeout: 250 seconds]
igniting has quit [Ping timeout: 250 seconds]
riddley has joined #ruby
Gasher has quit [Ping timeout: 265 seconds]
aaronds_ has quit [Ping timeout: 260 seconds]
Uranio has joined #ruby
<riddley> I have an app that examines versioned data. The versioning works with Gem::Version, but I don't see a good way with Gem::Version to specify bigger ranges for example "this code works for versions 1.4.0 to 4.0.0. Does anyone have a good solution for this?
jhack has joined #ruby
lenwood has quit [Ping timeout: 250 seconds]
whathappens has quit [Ping timeout: 260 seconds]
dminuoso_ has joined #ruby
ta_ has quit [Remote host closed the connection]
jottr has joined #ruby
alireza has joined #ruby
edwinvdgraaf has quit [Ping timeout: 260 seconds]
ziarkaen has quit [Ping timeout: 260 seconds]
djellemah_ has quit [Ping timeout: 250 seconds]
SteenJobs has joined #ruby
<cariveri> Whats a good traversable structure to store aribtrary number of rows and columns ? (not a grid)
SteenJobs has quit [Client Quit]
creat has quit [Ping timeout: 244 seconds]
SteenJobs has joined #ruby
mim1k|work has quit [Ping timeout: 245 seconds]
edwinvdgraaf has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
riddley has left #ruby ["Ex-Chat"]
edwinvdgraaf has joined #ruby
igniting has joined #ruby
Uranio has quit [Quit: while you read this, a kitty dies]
Gasher has joined #ruby
SCHAAP137 has joined #ruby
grh has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
alireza has quit [Ping timeout: 250 seconds]
grh has joined #ruby
nikivi has joined #ruby
GodFather has quit [Ping timeout: 265 seconds]
mhib_ has joined #ruby
Xentil has joined #ruby
vuoto has joined #ruby
<vktec> How should I go about defining a foreign function in the root namespace using mruby?
mhib_ has quit [Client Quit]
JeanCarloMachado has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Remote host closed the connection]
gnufied has joined #ruby
ule has quit [Quit: leaving]
sepp2k has joined #ruby
chouhoul_ has joined #ruby
igniting has quit [Ping timeout: 256 seconds]
ule has joined #ruby
harfangk has joined #ruby
demio has joined #ruby
dminuoso_ has quit [Remote host closed the connection]
houhoulis has joined #ruby
bronson has joined #ruby
Kendos-Kenlen has joined #ruby
dviola has joined #ruby
nikivi has quit [Quit: zzz]
lenwood has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
rfoust_ is now known as rfoust
GodFather has joined #ruby
dn` has joined #ruby
jottr has quit [Quit: WeeChat 1.5]
millerti has joined #ruby
flashpoi_ has joined #ruby
gix has quit [Ping timeout: 260 seconds]
igniting has joined #ruby
shmuli has joined #ruby
jottr has joined #ruby
flashpoint9 has quit [Ping timeout: 265 seconds]
nikivi has joined #ruby
ule has quit [Quit: leaving]
polishdub has joined #ruby
gix has joined #ruby
jottr has quit [Client Quit]
<mvxlr> any good way write `false || nil` so that it returns false ?
<vktec> mvxlr: What should it return nil for?
<mvxlr> false
<vktec> Wait, what?
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<loincloth> o.O
Silthias has quit [Quit: Leaving.]
<vktec> You want it to return false if it's false, but nil if it's false?
<mvxlr> starts_midmonth?(month) || ends_midmonth?(month)
<mvxlr> the first returns false, the seconds returns nil
shmuli has quit [Ping timeout: 252 seconds]
<mvxlr> the end result is nil
<mvxlr> i want it to eval to false
flashpoi_ has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
<loincloth> so fix ends_midmonth ??
<vktec> a || b || false
<loincloth> or just don't worry about it...
<vktec> ^
<mvxlr> vktec: thanks !
<loincloth> what situation does it actually matter for?
shinnya has joined #ruby
<mvxlr> unit tests.
<mvxlr> i'm expecting to get a nil for this test cas
<mvxlr> case.
<loincloth> maybe if you cant fix your assertion lib either i guess ;)
<loincloth> but you shoudl be able to deal reasonably with 'truthy' values
<loincloth> anyway i guess you have options... RUBYYY
igniting has quit [Ping timeout: 252 seconds]
<mvxlr> vktec isn't false | nil better then false || nil || false ?
vuoto has quit [Quit: Lost terminal]
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jaguarmagenta has joined #ruby
<vktec> mvxlr: Define "better"
ziarkaen has joined #ruby
<mvxlr> works and is shorter
jottr has joined #ruby
jordanm has joined #ruby
<mvxlr> "prettier"
<demio> hi,, anyone with experience in mongo can give me a hand here?
aaronds_ has joined #ruby
aaronds has quit [Read error: Connection reset by peer]
<vktec> mvxlr: Depends on your taste. Personally, I find false || nil || false clearer, but it's up to you
<mvxlr> sure, thanks !
pokalyis has joined #ruby
rippa has joined #ruby
<vktec> That's the thing with Ruby: there's almost always more than one way of doing something :P
aryaching has joined #ruby
jaguarmagenta has quit [Ping timeout: 268 seconds]
pwnd_nsfw` has joined #ruby
JeanCarloMachado has joined #ruby
<ljarvis> mvxlr: you're changing the return type for your test suite?
aaronds_ has quit [Ping timeout: 250 seconds]
<mvxlr> ljarvis what do you mean?
aaronds has joined #ruby
<ljarvis> "i'm expecting to get a nil for this test cas"
<ljarvis> why expect a nil vs false? or vice versa
ta_ has joined #ruby
mhib has quit [Quit: Leaving]
pwnd_nsfw has quit [Ping timeout: 260 seconds]
grh has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
igniting has joined #ruby
SCHAAP137 has quit [Ping timeout: 268 seconds]
pawnbox_ has quit [Ping timeout: 252 seconds]
pawnbox has joined #ruby
phantompain has quit [Ping timeout: 256 seconds]
meth has quit [Quit: Leaving]
<cariveri> alias TN Tree::TreeNode => unexpected :: ? why?
<toretore> what did you expect?
<toretore> (alias is for methods only)
<toretore> TN = Tree::TreeNode
<cariveri> toretore: Tree::TreeNode.new is a method still the same error
<ljarvis> that's not how alias works
gizless has quit [Ping timeout: 260 seconds]
<ljarvis> &ri alias
AndrewIsHere has joined #ruby
<ljarvis> ugh really?
Jayson_Virissimo has joined #ruby
edwinvdg_ has joined #ruby
edwinvdg_ has quit [Read error: Connection reset by peer]
<toretore> cariveri: provide more information
edwinvdg_ has joined #ruby
<vktec> Oh, on that note, is it better to use alias or alias_method?
edwinvdgraaf has quit [Ping timeout: 252 seconds]
gizless has joined #ruby
<cariveri> toretore: the explicit cll to the function I want to call is Tree:TreeNode.new(a,b) and thats far too long. How cn I shorten it.? TN = Tree:: ... did not work by the wy
ocbtec has joined #ruby
cpruitt has quit [Quit: cpruitt]
ocbtec has quit [Client Quit]
cpruitt has joined #ruby
ocbtec has joined #ruby
<apeiros> dminuoso: what what what? which link?
foooobear has quit [Quit: (null)]
<toretore> cariveri: gist your code
<toretore> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<vktec> cariveri: That's hardly very long...
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sparch has quit [Ping timeout: 260 seconds]
<cariveri> you must kidding.
SCHAAP137 has joined #ruby
SCHAAP137 has quit [Max SendQ exceeded]
<cariveri> toretore: that is the code: <% TN = Tree::TreeNode %> and it resolves to the error: dynamic constant assignment TN = Tree::TreeNode ^
<vktec> Well, how often are you calling it?
igniting has quit [Ping timeout: 252 seconds]
<cariveri> vktec: check this out http://rubytree.anupamsg.me/rdoc/index.html
<toretore> cariveri: don't be a smartass. you ask because we know more than you, so when we ask you to provide more information you should trust that it's for a good reason. i don't have enough context to answer your question, so i'm asking you to provide more.
<cariveri> thank you toretore
<cariveri> vktec: can you see what long means in there?
skweek has joined #ruby
Guest57477 has joined #ruby
<vktec> cariveri: From that link, I assume you're calling it a lot?
<cariveri> THere is this line where you construct the tree and the methodname does render it unreadable, as you may assume the real world tree is much more complex.. dont you think?
mvxlr has joined #ruby
<vktec> cariveri: Well, put 'include Tree' in your file, which will shorten it to TreeNode.new, and then use backslashes and indentation
Silthias has joined #ruby
phantompain has joined #ruby
<vktec> That's what I'd do
<vktec> Anyway, I'll be back later
<vktec> o/
Silthias1 has joined #ruby
<toretore> cariveri: the solution to your problem is most likely not at all what you think. if you provide the necessary information you will get a much better one.
ec\ has quit [Quit: Lost terminal]
Silthias1 has quit [Client Quit]
<mvxlr> say I have a class that does some fancy time calculations, and I want to put it somewhere within my rails app. Where would be a good place following rails conventions to put something like this: https://gist.github.com/maximveksler/05ddf74cc4c7bdeb58ad4ac53bd5fe80
<mvxlr> ?
jeremyhall has joined #ruby
Silthias has quit [Ping timeout: 260 seconds]
mikecmpb_ has joined #ruby
Silthias1 has joined #ruby
<toretore> mvxlr: in lib
<toretore> and you should namespace it: module MyApp; module DurationCalc
tau has joined #ruby
sparch has joined #ruby
sparch has joined #ruby
sparch has quit [Changing host]
mikecmpbll has quit [Ping timeout: 256 seconds]
<mvxlr> hmmm, namesapce it how? and why?
igniting has joined #ruby
<toretore> i just showed you. because you should namespace everything in your app. which is because you want to avoid having things in the top level global namespace. which is to avoid collisions with other code
sepp2k has quit [Ping timeout: 244 seconds]
wildleaf has quit [Disconnected by services]
<mvxlr> but then when I want to use it in my code I would call MyApp::DurationCalc.years_within ?
<toretore> not most of the time, because most of the time you will be in the scope of MyApp anyway, because you put everything there
houhoulis has quit [Remote host closed the connection]
<toretore> your rails app already has a namespace like this if it was generated
<mvxlr> where is the scope of my app defined?
<mvxlr> you can probally tell i'm new to rails (and ruby for that matter)
djellemah_ has joined #ruby
<mvxlr> i want to verify which scope to use
ta_ has quit [Remote host closed the connection]
<mvxlr> ok found it, application.rb
<mvxlr> :)
<toretore> yes
shmuli has joined #ruby
SeepingN has joined #ruby
ec\ has joined #ruby
Ankhers has quit [Quit: Leaving]
terens has quit [Ping timeout: 256 seconds]
<mvxlr> did it, but now rspec is unable to find it
<mvxlr> LoadError: Unable to autoload constant DurationCalc, expected /Users/mveksler/Developer/referral-web/lib/duration_calc.rb to define it
<mvxlr> ./spec/lib/duration_calc_spec.rb:42:in `block (2 levels) in <top (required)>'
dionysus69 has joined #ruby
<mvxlr> -e:1:in `<main>'
<mvxlr> and in the specified path I did define the module
<mvxlr> module ReferralWeb
<mvxlr> module DurationCalc
<ljarvis> lib/referral_web/duration_calc.rb
<toretore> make a directory lib/referral_web and put all namespaced files in there
aufi has quit [Ping timeout: 244 seconds]
nettoweb has joined #ruby
shmuli has quit [Ping timeout: 245 seconds]
sepp2k has joined #ruby
frmendes has joined #ruby
aaronds_ has joined #ruby
aaronds has quit [Ping timeout: 260 seconds]
aaronds has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
aaronds_ has quit [Ping timeout: 250 seconds]
CoderFrank has quit [Remote host closed the connection]
shmuli has joined #ruby
amclain has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
Capela has quit [Remote host closed the connection]
speakingcode has joined #ruby
lenwood has quit [Ping timeout: 250 seconds]
creat has joined #ruby
Kendos-Kenlen has quit [Ping timeout: 252 seconds]
Kendos-Kenlen_ has joined #ruby
lenwood has joined #ruby
[Butch] has joined #ruby
ziarkaen has quit [Ping timeout: 252 seconds]
jeanlinux has joined #ruby
Kendos-Kenlen_ has quit [Client Quit]
ramfjord has joined #ruby
whathappens has joined #ruby
ziarkaen has joined #ruby
atmosx_ has joined #ruby
boxrick1_ has quit [Ping timeout: 260 seconds]
rfoust_ has joined #ruby
electrostat has quit [Quit: uwotm8]
Lord_of_Life has quit [Excess Flood]
electrostat has joined #ruby
PaulCape_ has joined #ruby
Rush has quit [Quit: No Ping reply in 180 seconds.]
Lewix has quit [Ping timeout: 260 seconds]
rideh has quit [Ping timeout: 260 seconds]
zero7 has quit [Ping timeout: 260 seconds]
darthvorik has quit [Ping timeout: 260 seconds]
heyimwill has quit [Ping timeout: 260 seconds]
im0b has quit [Ping timeout: 260 seconds]
atmosx has quit [Ping timeout: 260 seconds]
jeanlinux has quit [Client Quit]
darthvorik has joined #ruby
alamar has quit [Ping timeout: 260 seconds]
LyndsySimon has quit [Ping timeout: 260 seconds]
Guest57477 has quit [Remote host closed the connection]
alamar has joined #ruby
zero7 has joined #ruby
boxrick1_ has joined #ruby
Rush has joined #ruby
rfoust has quit [Ping timeout: 260 seconds]
Qommand0r has quit [Ping timeout: 260 seconds]
edwinvdg_ has quit [Ping timeout: 265 seconds]
Lewix has joined #ruby
alamar is now known as Guest34862
Lewix has quit [Changing host]
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
PaulCapestany has quit [Ping timeout: 260 seconds]
rideh has joined #ruby
im0b has joined #ruby
LyndsySimon has joined #ruby
Lord_of_Life has joined #ruby
flying has quit []
whathappens has quit [Ping timeout: 265 seconds]
SCHAAP137 has joined #ruby
phantompain has quit [Ping timeout: 260 seconds]
<soahccc> It's not trivial to test UDP ports for reachability right? I have a socket and send stuff but I guess I have to wait for a response
shmuli has quit [Remote host closed the connection]
Devalo has joined #ruby
ohcibi has quit [Remote host closed the connection]
ohcibi has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rtail has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
Lord_of_Life has quit [Excess Flood]
Silthias1 has quit [Quit: Leaving.]
heyimwill has joined #ruby
araujo has quit [Ping timeout: 244 seconds]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
Lord_of_Life has joined #ruby
nettoweb has joined #ruby
derpson has joined #ruby
phantompain has joined #ruby
acamargo has joined #ruby
tuxaddicted has quit [Ping timeout: 260 seconds]
<cariveri> gem install rubytree ; added require 'tree' in helper.rb ; include 'Tree' ; but as soon as I use Tree::Treenode.new there is an error:ActionView::Template::Error (uninitialized constant Tree::Treenode)
radic has quit [Quit: ZNC - http://znc.in]
<soahccc> So when I recv I get ECONNREFUSED when the port is closed but when it's open it waits forever. So I timout and when it raises timeouterror I assume it works? :S
aganov has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
radic has joined #ruby
harai has quit [Ping timeout: 250 seconds]
igniting has quit [Ping timeout: 250 seconds]
igniting has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
mark_66 has quit [Remote host closed the connection]
aaronds has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
aaronds has joined #ruby
Qommand0r has joined #ruby
lenwood has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
Burgestrand has joined #ruby
nankyokusei has quit [Remote host closed the connection]
Burgestrand has quit [Client Quit]
jhack has quit [Quit: jhack]
last_staff has quit [Quit: last_staff]
nitric has joined #ruby
<soahccc> cariveri: rails project? don't you add it to your bundle?
bronson has quit [Ping timeout: 265 seconds]
Brisr has joined #ruby
nankyokusei has joined #ruby
<Brisr> Newbie to Ruby. Trying to run this https://gist.github.com/bascht/a80669400e856357590d downloaded, run with: ruby --File--
<Brisr> /usr/lib/ruby/2.1.0/open-uri.rb:36:in `open': no implicit conversion of nil into String (TypeError)
<Brisr> from /usr/lib/ruby/2.1.0/open-uri.rb:36:in `open'
<Brisr> from ruby:22:in `<main>'
<Brisr> Guess I need to give it a URL? How do I do this please?
mrwn has joined #ruby
arup_r has joined #ruby
nikivi has quit [Quit: irc]
<toretore> Brisr: you're not giving it a url
<toretore> oh
<toretore> second argument is url
railssmith has quit [Ping timeout: 260 seconds]
nanoz has joined #ruby
<arup_r> Hi, I need 1 help from you people. I have added erb templates in odt files. Like "Hi, <%= @user.name %>" So, I want to fill it now, using ERB code. So with .odt how should I do it.
<arup_r> ?
<Brisr> So should read: require 'example.com' ?
[Butch] has quit [Quit: I'm out . . .]
<arup_r> if you guys have dome such work before, can you give me some hints?
<derpson> hey, why does Time.strptime(date_time, "%Y-%m-%d-%H:%M-%Z") convert time correctly if given "-CET" or "-PST" but not for "-JST" (japanese time) or others?
<vktec> arup_r: You'll need to parse the odt file, probably
<Brisr> toretore, so how do I feed it my required url?
flashpoint9 has quit [Remote host closed the connection]
<derpson> for JST it just returns the input in the server's time zone
<toretore> Brisr: ruby filename.rb url
<Brisr> Ah :)
flashpoint9 has joined #ruby
<toretore> derpson: it probably doesn't know what JST is
Capela has joined #ruby
<cariveri> soahccc: I added rubytree to the Gemfile also.
alireza has joined #ruby
<toretore> cariveri: you are still wasting yours and others' time by not providing enough information
<cariveri> soahccc: or rather 'tree'
tuxaddicted has joined #ruby
<toretore> arup_r: the erb docs should tell you how to load a template and render it
shmuli has joined #ruby
<arup_r> That's what I am using. But something wrong, let me spend some more times
SteenJobs has joined #ruby
<toretore> arup_r: code plz
finisherr has joined #ruby
<arup_r> yes sure. Let me put some more efforts
<arup_r> :)
<toretore> you are probably not using the appropriately scoped binding
nikivi has joined #ruby
aaronds_ has joined #ruby
Silthias has joined #ruby
flashpoint9 has quit [Ping timeout: 245 seconds]
whathappens has joined #ruby
malconis has joined #ruby
shmuli has quit [Ping timeout: 245 seconds]
aaronds has quit [Ping timeout: 260 seconds]
lenwood has joined #ruby
jsrn_ has quit [Quit: Leaving]
rcvalle has joined #ruby
Silthias1 has joined #ruby
cdg has quit [Remote host closed the connection]
Silthias has quit [Ping timeout: 252 seconds]
whathappens has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
derpson has quit [Quit: 晚安]
shmuli has joined #ruby
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tuxaddicted has quit [Quit: Lost terminal]
<arup_r> toretore: https://gist.github.com/aruprakshit/a93cd296a935d8cd329fea21dfd9444a here is the small code. After this code runs, I open the doc and see nothing changed.
nankyokusei has quit [Remote host closed the connection]
<toretore> arup_r: and you have <%= @x %> somewhere in test.odt ?
<arup_r> yes
<arup_r> just that line of code I have for simplicity.
<arup_r> I was checking if I can write into odt file using ERB. So no big logic right now I have.
hahuang61 has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
jshjsh has joined #ruby
<toretore> arup_r: don't try to do everything at once, work in smaller steps. first, check that you understand how erb works
<arup_r> ok
yardenbar has quit [Ping timeout: 252 seconds]
whathappens has joined #ruby
<toretore> >> require 'erb'; t = ERB.new '<%= @x %>', nil, "%"; @x = 10; t.result binding
<ruby[bot]> toretore: # => "10" (https://eval.in/669908)
lenwood has quit [Quit: Konversation terminated!]
tomphp has quit [Ping timeout: 245 seconds]
<toretore> so: erb works as you think it does; something else doesn't
nankyokusei has joined #ruby
lenwood has joined #ruby
<arup_r> ok so what is wrong in my case? because I have the exact code you have here. And <%= @x %> inside the odt doc.
Gasher has quit [Quit: Leaving]
JoshS has quit [Ping timeout: 268 seconds]
[Butch] has joined #ruby
chrisja has joined #ruby
flashpoint9 has joined #ruby
benlieb has joined #ruby
Chair has quit [Ping timeout: 265 seconds]
submitnine has quit [Remote host closed the connection]
shmuli has quit [Remote host closed the connection]
User458764 has joined #ruby
terens has joined #ruby
hahuang61 has quit [Read error: Connection timed out]
aufi has joined #ruby
hahuang61 has joined #ruby
nikivi has quit [Quit: irc]
jshjsh has quit [Ping timeout: 268 seconds]
jberkhahn has joined #ruby
claudiuinberlin has quit []
arup_r has quit [Remote host closed the connection]
shmuli has joined #ruby
rodfersou is now known as rodfersou|afk
conta has quit [Ping timeout: 268 seconds]
pragmaticus has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
<jberkhahn> Is there any sort of ETA for a 2.3.2 release? encountering issues with:: https://bugs.ruby-lang.org/issues/12292 and trying to determine a workaround.
lenwood has quit [Ping timeout: 250 seconds]
Lord_of_Life has quit [Excess Flood]
chouhoulis has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
antgel has quit [Ping timeout: 268 seconds]
Lord_of_Life has joined #ruby
anisha has joined #ruby
anisha has quit [Remote host closed the connection]
jcao219 has joined #ruby
harai has joined #ruby
splud_ has joined #ruby
ixti has joined #ruby
hutch34 has joined #ruby
_djbkd has joined #ruby
arup_r has joined #ruby
jhack has joined #ruby
cdg has joined #ruby
JeanCarloMachado has quit [Ping timeout: 244 seconds]
<baweaver> You might hit the mailing list or comment on that thread. Most of the core devs tend to watch it.
shmuli has quit [Remote host closed the connection]
mikecmpb_ has quit [Quit: inabit. zz.]
creat has quit [Quit: Leaving]
vuoto has joined #ruby
benlieb has quit [Quit: benlieb]
tvw has quit [Remote host closed the connection]
<arup_r> sorry i got disconnected toretore
jenrzzz has joined #ruby
ddffg has joined #ruby
raatiniemi has joined #ruby
aaronds has joined #ruby
aaronds_ has quit [Ping timeout: 265 seconds]
yardenbar has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
hutch34 has quit [Ping timeout: 268 seconds]
arup_r has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 256 seconds]
mniip has quit [Ping timeout: 608 seconds]
jcao219 has quit [Ping timeout: 268 seconds]
lenwood has joined #ruby
u39 has joined #ruby
marxarelli has joined #ruby
<terens> hello
mrwn has quit [Remote host closed the connection]
hotpancakes has joined #ruby
Lord_of_Life has quit [Excess Flood]
arup_r has joined #ruby
[Butch] has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
tirej has joined #ruby
[Butch] has joined #ruby
benlieb has joined #ruby
Lord_of_Life has joined #ruby
<alexandernst> is there a way I can tell if a variable is an instance of something (whatever class) or if the variable just points to a class?
shmuli has joined #ruby
<alexandernst> meaning, a = Foo a.is_instance? ==> false
<alexandernst> a = Foo.new a.is_instance? => true
<ciawal> a.instance_of?(Class)
<ciawal> maybe
<alexandernst> no, I don't know the class
<alexandernst> I just want to check if it's an instance of whatever class
ych has joined #ruby
Lord_of_Life has quit [Excess Flood]
smlocal has joined #ruby
<ych> hey , i'm building a ruby based CLI app. i have lib/ bin/ etc.. but whenever i call bin/myfile (which is executable) i get cannot load such file "myfile" which refers to the line in bin/myfile => require "myfile"
Devalo has quit [Remote host closed the connection]
Lord_of_Life has joined #ruby
Devalo has joined #ruby
hutch34 has joined #ruby
Vingador has quit [Remote host closed the connection]
[Butch] has quit [Quit: I'm out . . .]
Devalo has quit [Ping timeout: 250 seconds]
aufi has quit [Ping timeout: 260 seconds]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
elenatanasoiu has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
ych has quit [Quit: Textual IRC Client: www.textualapp.com]
claudiuinberlin has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
[Butch] has joined #ruby
symm- has joined #ruby
flashpoint9 has quit [Ping timeout: 245 seconds]
ngrin has quit [Quit: Leaving]
bocaneri has quit [Remote host closed the connection]
aaronds has quit [Ping timeout: 252 seconds]
flak has joined #ruby
mrwn has joined #ruby
aaronds has joined #ruby
rippa has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
kareelee has joined #ruby
toretore has quit [Ping timeout: 244 seconds]
Lord_of_Life has quit [Excess Flood]
Devalo has joined #ruby
TomyWork has quit [Ping timeout: 256 seconds]
gusrub has joined #ruby
eizua has quit [Remote host closed the connection]
mrwn has quit [Remote host closed the connection]
bronson has joined #ruby
gusrub has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
gusrub has joined #ruby
GodFather has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 250 seconds]
aaronds has quit [Ping timeout: 260 seconds]
vuoto has quit [Quit: Lost terminal]
aaronds has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
muelleme has joined #ruby
vikaton has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
zeroDi has joined #ruby
cdg has quit [Remote host closed the connection]
claudiuinberlin has quit [Remote host closed the connection]
lenwood has quit [Ping timeout: 250 seconds]
lacour has joined #ruby
ElFerna has joined #ruby
Guest34862 is now known as alamar
flashpoint9 has quit [Ping timeout: 260 seconds]
nanoz has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
ziarkaen has quit [Ping timeout: 260 seconds]
ChiefAlexander has quit [Quit: Leaving...]
chouhoul_ has joined #ruby
xall has joined #ruby
claudiuinberlin has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
gusrub has quit []
matp_ has joined #ruby
TomyLobo has joined #ruby
_djbkd has quit [Remote host closed the connection]
gusrub has joined #ruby
_djbkd has joined #ruby
mikecmpbll has joined #ruby
matp has quit [Ping timeout: 260 seconds]
tau has quit [Remote host closed the connection]
nanoz has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
_djbkd has quit [Ping timeout: 244 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
gusrub has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
mkinkles has joined #ruby
mvxlr has joined #ruby
_djbkd has joined #ruby
gusrub has quit [Remote host closed the connection]
houhoulis has joined #ruby
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
alcy has joined #ruby
hutch34 has joined #ruby
gusrub has joined #ruby
cdg has joined #ruby
llua has quit [Quit: Your ideas are intriguing to me, and I wish to subscribe to your newsletter.]
tristanp has joined #ruby
johnmilton has quit [Remote host closed the connection]
Dimik has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
Brisr has quit [Ping timeout: 256 seconds]
AndrewIsHere has joined #ruby
tvw has joined #ruby
AndrewIsHere has quit [Read error: Connection reset by peer]
AndrewIsHere has joined #ruby
rodfersou|afk is now known as rodfersou
acamargo has quit [Quit: Leaving]
dionysus69 has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
Renich has joined #ruby
nicoulaj has joined #ruby
mkinkles has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ta_ has joined #ruby
nicoulaj_ has joined #ruby
nicoulaj has quit [Read error: Connection reset by peer]
nicoulaj_ has quit [Remote host closed the connection]
nicoulaj has joined #ruby
dnicole_ has joined #ruby
xall has quit [Ping timeout: 250 seconds]
terens_ has joined #ruby
grh has joined #ruby
whathappens has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 268 seconds]
dnicole has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
ElFerna has quit [Quit: Textual IRC Client: www.textualapp.com]
alcy has quit [Ping timeout: 252 seconds]
whathappens has joined #ruby
Technodrome has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
muelleme has quit [Ping timeout: 244 seconds]
hotpancakes has quit [Remote host closed the connection]
pawnbox has joined #ruby
hotpancakes has joined #ruby
nettoweb1 has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
dionysus69 has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
nettoweb has quit [Ping timeout: 250 seconds]
hotpancakes has quit [Ping timeout: 260 seconds]
igniting has quit [Ping timeout: 260 seconds]
cariveri has quit [Quit: leaving]
muelleme has joined #ruby
terens_ has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
mooe has joined #ruby
u39 has quit [Ping timeout: 260 seconds]
whathappens has quit [Remote host closed the connection]
arup_r has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
renderfu_ has quit [Read error: Connection reset by peer]
renderful has joined #ruby
alcy has joined #ruby
Brisr has joined #ruby
Immune has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
muelleme has quit [Ping timeout: 265 seconds]
ta__ has joined #ruby
gusrub has quit [Remote host closed the connection]
sergey_makagon has joined #ruby
gusrub has joined #ruby
gizless has quit [Ping timeout: 260 seconds]
alcy has quit [Ping timeout: 260 seconds]
ta_ has quit [Ping timeout: 245 seconds]
gizless has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
ramfjord has joined #ruby
sparch has quit [Ping timeout: 252 seconds]
qguv has quit [Ping timeout: 245 seconds]
JoshS has joined #ruby
alcy has joined #ruby
chouhoul_ has quit []
hotpancakes has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Renich has quit [Quit: leaving]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
phantompain has quit [Ping timeout: 260 seconds]
qguv has joined #ruby
nopolitica has quit [Ping timeout: 268 seconds]
railssmith has joined #ruby
Brisr has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
Immune_ has joined #ruby
jottr has joined #ruby
whathappens has joined #ruby
Qommand0r has quit [Quit: WeeChat 1.6]
houhoulis has quit [Remote host closed the connection]
evidex has joined #ruby
thegunbuster has joined #ruby
thegunbuster has quit [Changing host]
thegunbuster has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
jhack has quit [Quit: jhack]
Qommand0r has joined #ruby
whathappens has quit [Ping timeout: 268 seconds]
jottr has quit [Ping timeout: 252 seconds]
thegunbuster has quit [Client Quit]
ocbtec has quit [Quit: leaving]
SteenJobs has quit [Read error: Connection reset by peer]
tvw has quit [Remote host closed the connection]
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
jenrzzz has quit [Ping timeout: 260 seconds]
phantompain has joined #ruby
nankyokusei has joined #ruby
nanoz has quit [Quit: <3]
rcvalle has quit [Quit: rcvalle]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
houhoulis has joined #ruby
jhack has joined #ruby
tyang_ has joined #ruby
sergey_makagon has quit []
hightower2 has joined #ruby
nankyokusei has quit [Ping timeout: 245 seconds]
alcy has quit [Quit: leaving]
tyang has quit [Ping timeout: 244 seconds]
houhoulis has quit [Client Quit]
mhib has joined #ruby
xall has joined #ruby
tyang_ has quit [Ping timeout: 256 seconds]
crankharder has joined #ruby
benlieb has quit [Quit: benlieb]
mhib has quit [Client Quit]
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
bronson has joined #ruby
mhib has joined #ruby
JeanCarloMachado has joined #ruby
kitikonti has joined #ruby
flashpoint9 has joined #ruby
Salih has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
Immune_ has quit [Ping timeout: 260 seconds]
ldnunes has quit [Quit: Leaving]
mhib has quit [Quit: Leaving]
tummy has joined #ruby
jeremyhall has quit [Read error: Connection reset by peer]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
eljimmy has quit [Ping timeout: 245 seconds]
synthroid has quit []
hahuang61 has quit [Ping timeout: 250 seconds]
Devalo has quit [Ping timeout: 260 seconds]
swills has quit [Remote host closed the connection]
xall has quit [Ping timeout: 260 seconds]
rodfersou is now known as rodfersou|afk
oyes has joined #ruby
GodFather has joined #ruby
Salih has quit [Quit: BitchX Official IRC Channel -- #BitchX on EFNet]
phantompain has quit [Ping timeout: 250 seconds]
sepp2k has quit [Quit: Leaving.]
Immune has joined #ruby
bmurt has joined #ruby
swills has joined #ruby
eljimmy has joined #ruby
oyes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
ramfjord has joined #ruby
last_staff has joined #ruby
cschneid_ has joined #ruby
tyang has joined #ruby
jhack has quit [Quit: jhack]
claudiuinberlin has quit []
rkazak has joined #ruby
jyaworski has quit [Quit: ZNC - http://znc.in]
jyaworski has joined #ruby
tummy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rodfersou|afk is now known as rodfersou
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
elenatanasoiu has joined #ruby
nicoulaj has quit [Ping timeout: 250 seconds]
tomphp has joined #ruby
lmc has joined #ruby
<lmc> Can I ask questions aboud rbenv and bundler here?
derpson has joined #ruby
gusrub has quit [Remote host closed the connection]
<lmc> I'm getting an error message like "Your bundle is locked to…" while attempting to initialize bundle in a clean project directory with a Gemfile and Gemfile.lock files. Pretty much all my coworkers are able to run the bundle command without issue, so I suppose I'm doing something wrong.
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lmc> Would one of you be kind enough to help me figuring it out?
gusrub has joined #ruby
<lmc> My complete error message is the sentence "Your bundle is locked to rake (10.5.0), but that version could not be found in any of the sources listed in your Gemfile."
<lmc> And the command that triggers it is "bundle install --path=.bundle
moei has quit [Quit: Leaving...]
doyle has joined #ruby
jshjsh has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
whathappens has joined #ruby
millerti has joined #ruby
crankharder has quit [Ping timeout: 260 seconds]
JoshS has quit [Ping timeout: 245 seconds]
rodferso1 has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
cajone has left #ruby [#ruby]
ramfjord has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
rodfersou has quit [Ping timeout: 250 seconds]
hotpancakes has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrwn has joined #ruby
tomphp has joined #ruby
Guest43 has joined #ruby
Guest43 has joined #ruby
Guest43 has quit [Changing host]
derpson has quit [Quit: 晚安]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhack has joined #ruby
pokalyis_ has joined #ruby
last_staff has quit [Quit: last_staff]
pokalyis has quit [Ping timeout: 252 seconds]
pokalyis_ has quit [Client Quit]
jordanm has quit [Quit: Konversation terminated!]
pokalyis has joined #ruby
gingray has quit [Ping timeout: 256 seconds]
ramortegui has quit [Quit: Ex-Chat]
nopolitica has joined #ruby
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PsionTheory has joined #ruby
rodferso1 is now known as rodfersou|dinner
ramfjord has joined #ruby
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cajone has joined #ruby
d0nn1e has quit [Ping timeout: 265 seconds]
djellemah_ has quit [Ping timeout: 260 seconds]
mrwn has quit [Remote host closed the connection]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
d0nn1e has joined #ruby
Felipe__ has joined #ruby
anuxivm has joined #ruby
pokalyis has quit [Read error: Connection reset by peer]
ziarkaen has joined #ruby
pokalyis has joined #ruby
SeepingN has joined #ruby
muelleme has joined #ruby
pokalyis has quit [Client Quit]
pokalyis has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
SeepingN has quit [Read error: Connection reset by peer]
elenatanasoiu has quit [Ping timeout: 260 seconds]
ziarkaen has quit [Ping timeout: 260 seconds]
grh has quit [Ping timeout: 244 seconds]
PsionTheory has quit [Read error: Connection reset by peer]
Frankenstein is now known as nchambers
blackwind_123 has quit [Ping timeout: 260 seconds]
Fichtenstein has quit [Quit: Fichtenstein]
Felipe__ has quit [Quit: Leaving]
ghormoon has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
blackwind_123 has joined #ruby
augcesar has quit [Quit: Connection closed for inactivity]
muelleme has quit [Ping timeout: 245 seconds]
mooe has quit [Quit: Connection closed for inactivity]
ghormoon has joined #ruby
firstdayonthejob has joined #ruby
jcao219 has joined #ruby
gusrub has quit [Remote host closed the connection]
hotpancakes has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
elenatanasoiu has joined #ruby
marr has joined #ruby
Felipe__ has joined #ruby
crankharder has joined #ruby
<lmc> Would any of you advise me against specifying my Rake version in my Gemfile? Would this cause issues with Bundler?
Madplatypus has joined #ruby
fmcgeough has joined #ruby
c3553eb has quit [Quit: Connection closed for inactivity]
brianpWins has quit [Quit: brianpWins]
edwinvdgraaf has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
aaronds has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
sdothum has joined #ruby
lanr has joined #ruby
moei has joined #ruby
aaronds has joined #ruby
nankyokusei has joined #ruby
hutch34 has joined #ruby
tyang_ has joined #ruby
Jackneill_ has quit [Remote host closed the connection]
SuperLag has quit [Quit: Lost terminal]
E7F3RN4 has joined #ruby
elastix has joined #ruby
xall has joined #ruby
tyang has quit [Ping timeout: 260 seconds]
shmuli has quit [Read error: Connection reset by peer]
shmuli has joined #ruby
nankyokusei has quit [Ping timeout: 245 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyLobo has quit [Ping timeout: 260 seconds]
kareelee has quit []
xall has quit [Ping timeout: 256 seconds]
fmcgeough has quit [Quit: fmcgeough]
boombox_ has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
nfsnobody has quit [Changing host]
nfsnobody has joined #ruby
shmuli_ has joined #ruby
polishdub has quit [Quit: Leaving]
shmuli has quit [Ping timeout: 244 seconds]
hotpancakes has quit [Remote host closed the connection]
c3553eb has joined #ruby
c3553eb is now known as c3553e3b
hotpancakes has joined #ruby
pragmaticus has quit [Remote host closed the connection]
demio has quit [Quit: Textual IRC Client: www.textualapp.com]
shmuli_ has quit [Ping timeout: 244 seconds]
NeverTired is now known as YJLTG
Immune has joined #ruby
tirej has quit [Quit: Leaving]
YJLTG is now known as YJLTGatWork
hotpancakes has quit [Ping timeout: 260 seconds]
YJLTGatWork is now known as YJLTG
YJLTG is now known as NeverTired
ahrs has joined #ruby
boombox_ has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 260 seconds]
lanr has quit [Quit: Leaving]
Pazzaz has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smlocal has quit [Remote host closed the connection]
Pazzaz has joined #ruby
aaronds has quit [Ping timeout: 244 seconds]
binaryplease has joined #ruby
jhack has quit [Quit: jhack]
whathappens has quit [Ping timeout: 265 seconds]
tristanp has quit [Ping timeout: 260 seconds]
elastix has quit [Quit: Leaving]
Guest43 has quit [Ping timeout: 244 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
aaronds has joined #ruby
Rubyenthusiast has joined #ruby
<Rubyenthusiast> Hi
justinmcp has quit [Remote host closed the connection]
justinmcp has joined #ruby
whathappens has joined #ruby
tristanp has joined #ruby
<Rubyenthusiast> I had a question... I don't know if the book I'm reading is dated but I typed a bit of code directly in irb (from the book) and I'm getting errors
<Rubyenthusiast> I'm trying to preload rbconfig into irb
<Rubyenthusiast> how does one do this?
Jayson_Virissimo has quit []
malconis has quit [Read error: Connection reset by peer]
<Rubyenthusiast> here is what I was instructed to use
<Rubyenthusiast> $ irb --simple-prompt -rrbconfig
cschneid_ has quit [Remote host closed the connection]
quazimodo has joined #ruby
nekcode has joined #ruby
nekcode has quit [Client Quit]
<apeiros> Rubyenthusiast: you typed that into irb?
<Rubyenthusiast> yeah
<apeiros> uh yeah, wrong place.
<apeiros> the $ indicates your shell prompt. not irb.
malconis has joined #ruby
<Rubyenthusiast> I see, I was never able to run anything with $ in irb...
<apeiros> so in your shell, you type `irb --simple-prompt -rrbconfig`, and to be clear, that's without the `
SeepingN has joined #ruby
weemsledeux has joined #ruby
<Rubyenthusiast> I haven't tried it yet
dionysus69 has quit [Ping timeout: 256 seconds]
mkinkles has joined #ruby
tyang has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
mkinkles has left #ruby [#ruby]
elenatanasoiu has quit [Ping timeout: 268 seconds]
bluOxigen has joined #ruby
justinmcp has quit [Read error: Connection reset by peer]
frmendes has quit [Quit: cya...]
justinmcp has joined #ruby
tyang_ has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
<Rubyenthusiast> hey apeiros, sry for the long delay was rudely interrupted...
<Rubyenthusiast> how do I run the ruby shell?
evidex has quit [Ping timeout: 265 seconds]
<apeiros> not the ruby shell. your shell. bash or whatever it is you're using.
ben_____ has joined #ruby
<Rubyenthusiast> i dont understand, I'm running ruby via cmd with ruby
<Rubyenthusiast> I wrote the code I want to execute in notepad++
<Rubyenthusiast> and execute the file, I launch irb through the ruby + cmd prompt
whathappens has quit [Read error: Connection reset by peer]
<apeiros> how did you start irb?
<Rubyenthusiast> windows command prompt
<Rubyenthusiast> with ruby addition
<apeiros> that's your shell.
Azure|dc is now known as Azure
<Rubyenthusiast> so are you suggesting I just put the aforemention code in that?
<Rubyenthusiast> without launching irb?
<apeiros> irb --simple-prompt -rrbconfig *is* launching irb
<Rubyenthusiast> okay got it
<apeiros> at least in a sane shell
<Rubyenthusiast> i'm dumb sry
<Rubyenthusiast> it did exactly what I wanted
evidex has joined #ruby
<Rubyenthusiast> located all ruby files on my drive
<Rubyenthusiast> ...!
<Rubyenthusiast> so any command with the $ is run natively through the shell then right?
ben__ has quit [Ping timeout: 256 seconds]
symm- has quit [Ping timeout: 244 seconds]
rodfersou|dinner has quit [Quit: leaving]
ben_____ has quit [Ping timeout: 256 seconds]
last_staff has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
ben__ has joined #ruby
whathappens has joined #ruby
benlieb has quit [Quit: benlieb]
UserJosh has joined #ruby
tristanp_ has joined #ruby
flashpoint9 has joined #ruby
tristanp has quit [Ping timeout: 268 seconds]
yaewa has joined #ruby
yaewa has quit [Client Quit]
jshjsh has quit [Ping timeout: 265 seconds]
jshjsh has joined #ruby
flashpoint9 has quit [Ping timeout: 245 seconds]
ben__ has quit [Remote host closed the connection]
marxarelli has joined #ruby
finisherr has quit [Quit: finisherr]
Rubyenthusiast has quit [Ping timeout: 260 seconds]
UserJosh has quit [Ping timeout: 260 seconds]
marxarelli has quit [Client Quit]
Lord_of_Life has joined #ruby
marxarelli has joined #ruby
benlieb has joined #ruby
wnd has quit [Excess Flood]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
benlieb has quit [Client Quit]
firstdayonthejob has quit [Ping timeout: 265 seconds]
wnd has joined #ruby
aaronds_ has joined #ruby
aaronds has quit [Ping timeout: 256 seconds]
SuperLag has joined #ruby
benlieb has joined #ruby
brianpWins has joined #ruby
benlieb has quit [Client Quit]
brent__ has joined #ruby
gix has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
koooge has joined #ruby
Lord_of_Life has quit [Excess Flood]
gusrub has quit [Read error: Connection reset by peer]
franknat2vidad has joined #ruby
gusrub has joined #ruby
last_staff has quit [Quit: last_staff]
terens_ has joined #ruby
gusrub__ has joined #ruby
Lord_of_Life has joined #ruby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
aibot has quit [Remote host closed the connection]
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
hahuang61 has joined #ruby
gix has joined #ruby
dnicole_ has quit [Remote host closed the connection]
dnicole has joined #ruby
gusrub has quit [Ping timeout: 265 seconds]
gusrub__ has quit [Remote host closed the connection]
terens_ has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
jshjsh is now known as JoshS
ziarkaen has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
SeepingN has joined #ruby
dnicole has quit [Ping timeout: 260 seconds]