havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
jusa has quit [Ping timeout: 260 seconds]
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
spheric has quit [Ping timeout: 255 seconds]
username has quit [Quit: Lost terminal]
ecuanaso has joined #ruby
Guest21136 is now known as Radar
Radar has quit [Changing host]
Radar has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
snockerton has quit [Quit: Leaving.]
jackjackdripper1 has quit [Client Quit]
eightlimbed has quit [Ping timeout: 240 seconds]
DLSteve has joined #ruby
GodFather_ has joined #ruby
GodFather_ has quit [Ping timeout: 260 seconds]
Axy has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
patr0clus has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
cadillac__ has quit [Ping timeout: 246 seconds]
nitric has quit [Ping timeout: 245 seconds]
plujon has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
djbkd has quit [Remote host closed the connection]
ddffg has quit [Ping timeout: 260 seconds]
gusrub has quit []
segmond has quit [Quit: l8r]
djbkd has joined #ruby
brent__ has joined #ruby
djbkd has quit [Ping timeout: 260 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brent__ has quit [Ping timeout: 255 seconds]
brent___ is now known as brent__
duderonomy has quit [Ping timeout: 245 seconds]
herbmillerjr has quit [Remote host closed the connection]
ur5us has joined #ruby
sarbs has quit [Ping timeout: 240 seconds]
Cohedrin has quit [Read error: Connection reset by peer]
stee_3 has joined #ruby
sarbs has joined #ruby
bkxd has joined #ruby
Cohedrin has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
stee_3_ has quit [Ping timeout: 240 seconds]
Cohedrin has quit [Client Quit]
bkxd has quit [Ping timeout: 240 seconds]
james99 has joined #ruby
PorcoRex has joined #ruby
<PorcoRex> Good evening.
patarr has joined #ruby
sneakerhax has joined #ruby
choke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
jgt2 has joined #ruby
hfp_work has quit [Quit: bye]
hfp has quit [Quit: bye]
choke has joined #ruby
mathys has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 260 seconds]
mathys has joined #ruby
hfp has joined #ruby
<t-recx> evening PorcoRex
hfp_work has joined #ruby
jgt2 has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
choke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<PorcoRex> t-recx, :) Family.
GodFather_ has joined #ruby
<t-recx> ^^
bkxd_ has joined #ruby
etehtsea has quit [Ping timeout: 260 seconds]
yokel has quit [Quit: Lost terminal]
bkxd has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
dcunit3d has joined #ruby
apparition has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
bruce_lee has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
scott__ has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
__Yiota has joined #ruby
_whitelogger has joined #ruby
jenrzzz_ has joined #ruby
d^sh has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
ecuanaso has joined #ruby
d^sh has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
rkazak has joined #ruby
djbkd has quit [Remote host closed the connection]
cschneid_ has quit [Remote host closed the connection]
djbkd has joined #ruby
cschneid_ has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ZacNoMore has quit [Ping timeout: 255 seconds]
djbkd has quit [Ping timeout: 268 seconds]
cschneid_ has quit [Ping timeout: 260 seconds]
dcunit3d has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
cschneid_ has joined #ruby
gizmore|2 has joined #ruby
kobain has joined #ruby
gizmore has quit [Ping timeout: 255 seconds]
jusa has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
dcunit3d has joined #ruby
duderonomy has joined #ruby
jusa has quit [Ping timeout: 255 seconds]
djbkd has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd_ has quit [Ping timeout: 245 seconds]
mochiyoda has joined #ruby
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
jgnagy has quit [Remote host closed the connection]
mochiyoda_ has quit [Ping timeout: 246 seconds]
apparition has quit [Quit: Bye]
Trynemjoel has quit [Ping timeout: 245 seconds]
herbmillerjr has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Trynemjoel has joined #ruby
genpaku has quit [Remote host closed the connection]
genpaku has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
ecuanaso has joined #ruby
jameser has joined #ruby
FastJack_ has quit [Ping timeout: 260 seconds]
ascarter_ has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
FastJack has joined #ruby
shinnya has quit [Ping timeout: 245 seconds]
ascarter_ has quit [Ping timeout: 255 seconds]
benlieb has quit [Quit: benlieb]
ascarter_ has joined #ruby
enterprisey has joined #ruby
arescorpio has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davidmichaelkarr has joined #ruby
t-recx has quit [Quit: t-recx]
PaulCapestany has quit [Quit: .]
ur5us has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
Puppet_ has quit [Quit: Leaving]
dcunit3d has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
GinoMan has quit [Ping timeout: 255 seconds]
ascarter_ has quit [Ping timeout: 240 seconds]
kegster has joined #ruby
HoierM has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
ascarter_ has joined #ruby
jgt2 has joined #ruby
eightlimbed has joined #ruby
eightlimbed has quit [Remote host closed the connection]
KeyJoo has quit [Read error: Connection reset by peer]
eightlimbed has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
brent__ has quit [Quit: Connection closed for inactivity]
jgt2 has quit [Ping timeout: 240 seconds]
gizmore|2 has quit [Ping timeout: 260 seconds]
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
ascarter_ has quit [Ping timeout: 245 seconds]
xulf has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
gix has quit [Ping timeout: 240 seconds]
GinoMan has joined #ruby
gix has joined #ruby
jusa has joined #ruby
scott__ has quit [Ping timeout: 260 seconds]
xulf has quit [Quit: goodnight]
GinoMan2440 has joined #ruby
jusa has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
GinoMan has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
quazimodo has quit [Read error: Connection reset by peer]
taurgal has joined #ruby
troys_ is now known as troys
mim1k has joined #ruby
Trynemjoel has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
cschneid_ has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
patarr has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
jgnagy has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
djbkd has quit [Remote host closed the connection]
jgnagy has quit [Ping timeout: 260 seconds]
jameser has joined #ruby
segmond has joined #ruby
jameser has quit [Client Quit]
nowhere_man has quit [Remote host closed the connection]
PaulCapestany has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
shinnya has joined #ruby
quobo has joined #ruby
jshjsh has joined #ruby
JoshS has quit [Ping timeout: 255 seconds]
rkazak has quit [Quit: Sleep.....ing....]
GinoMan2440 has quit [Ping timeout: 260 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AKPWD has joined #ruby
shinnya has quit [Ping timeout: 245 seconds]
amclain has quit [Quit: Leaving]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
nofxxx has joined #ruby
GinoMan2440 has joined #ruby
nofxxxx has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
jgt2 has joined #ruby
JoshS has joined #ruby
jshjsh has quit [Ping timeout: 268 seconds]
jgt2 has quit [Ping timeout: 260 seconds]
eightlimbed has quit [Ping timeout: 245 seconds]
Bock has joined #ruby
blackwind_123 has quit [Ping timeout: 255 seconds]
blackwind_123 has joined #ruby
Phanes has joined #ruby
<Phanes> so has anyone figured out how basic dependency tree installation can be accomplished yet?
<Phanes> or are we all passing around docker containers
blackwind_123 has quit [Ping timeout: 260 seconds]
Ansible has joined #ruby
<PorcoRex> Phanes, could you give some context to your question?
<Ansible> Hello
<Phanes> i had a missingf depdendency during installation of gitlab's rubygem dependencies and now ive got a lock file that is reporting missing things that aren't missing, and im in ruby dependency management hell and want to clear all of the lock files and try to build again
<Ansible> Hey Phanes
<Phanes> and then when i am done i am never touching ruby again
<Ansible> haha, yeah, I've never been so turned off before as I have since working with Ruby/Rails
<Ansible> Have to hold my nose
<Phanes> i can't say my thoughts i just want to fix it so i can not be messing with ruby
<PorcoRex> Phanes, ok. But in the meantime, what error are you getting? And how does Ruby exactly interacts with Docker containers?
<Phanes> PorcoRex, the going joke is that because this issue is so prevelant with so many projects with ruby deps that people who make ruby projects just pass vm appliances instead of bundles
<Phanes> ill get a paste of the error
<PorcoRex> Phanes, please do.
<Phanes> 2000 line output for a single error. I'm just sickened. http://paste.silogroup.org/vekasegonu.sql
xall_ has joined #ruby
xall has quit [Ping timeout: 245 seconds]
xall_ has quit [Client Quit]
AnoHito has joined #ruby
AnoHito_ has quit [Ping timeout: 240 seconds]
<Phanes> i know im never gonna get this time back in my life but i need to get through the ruby section of this. do you know how i can clear any previous build attempts and lockfiles so everything is regenerated?
<PorcoRex> Phanes, I had a similar problem before. Did you try following the output "running `bundle update omniauth-google-oauth2` should fix the problem." ?
<Phanes> it is...in the paste
AnoHito has quit [Read error: Connection reset by peer]
<Phanes> no it did not fix the issue
AnoHito has joined #ruby
<Phanes> that effort starts on line 266
<PorcoRex> Phanes, right, but did you try updating omniauth-google-oauth2 ?
arescorpio has quit [Quit: Leaving.]
ddffg has joined #ruby
<PorcoRex> I understand the output, but did you update the Gemfile.lock by running "bundle update omniauth-google-oauth2" ?
charliesome has joined #ruby
<Phanes> PorcoRex, L266: [git@source gitlab-ce-9.2.2]$ bundle update omniauth-google-oauth2 <<--- !!!
<PorcoRex> Did that update your Gemfile.lock?
<Phanes> no it did not
<Phanes> is there a way to clear the gemfile.lock
<Phanes> all of them
<Phanes> i dont want build cache
<PorcoRex> Are you refering to Docker's cache?
<Phanes> it needs to be regenerated
<Phanes> no, im talki
<Phanes> are you trolling me or are you really this stupid?
<PorcoRex> Phanes, I assure you sir. I'm really this stupid.
<Phanes> i believe it
<Phanes> does any sadist here know how i can clear out any associated gemfile.locks in a bundle install?
<PorcoRex> Any takers?
<Phanes> this is seriously the most broken dependency mgmt system i've ever seen
benlieb has joined #ruby
<PorcoRex> Phanes, I hope what you're doing is a hobby project, because if it isn't, you'll certainly not find a solution in time.
<Phanes> why is that
<Phanes> Your lockfile was created by an old Bundler that left some things out. <-- how do i clear out any existing lockfiles?
<Phanes> it doesn't seem to check if they need regenerated
<PorcoRex> Phanes, you can remove them, but the you'll say I'm dumb because removing lockfiles is not the smartest thing to do.
<PorcoRex> So if I recommend removing them I would be dumb, and in turn you would be dumb as well.
jane_booty_doe has joined #ruby
<Phanes> if have any constructive instructions at all, i mean any, please actually say them instead of grasping on to that fleeting feeling of being smart by witholding information after antagonizing someone by pretending not to know what they're trying to do
<PorcoRex> Phanes, can we start this all over again? No hard feelings?
<Phanes> i would love that
<PorcoRex> Phanes, ok, what is your problem?
stupidsenpai has joined #ruby
<PorcoRex> Gee... That's a pretty long error Phanes.
jamesaxl has joined #ruby
<Ansible> Yeah, I can't believe adults choose to use rails
<Phanes> PorcoRex, final error is "fatal: No live threads left. Deadlock?" but tracing it back it looks like omniauth-google-oauth2 is failing to install due to a lockfile in place from a previous build attempt where there were missing deps.
mim1k has joined #ruby
cfec0b8d has joined #ruby
<PorcoRex> Phanes, no, that's not it.
<Phanes> ok so what is it
<PorcoRex> Phanes, "Downloading omniauth-google-oauth2-0.4.1 revealed dependencies not in the API or the lockfile (omniauth-oauth2 (>= 1.3.1), jwt (~>
<PorcoRex> 1.5.2))."
latemus has joined #ruby
<PorcoRex> Phanes, can we have that complete Gemfile line?
<Phanes> what line number is that
nanoz has joined #ruby
<PorcoRex> Phanes, 260-
<Phanes> the gemfile is intact in the paste
nanoz has quit [Changing host]
nanoz has joined #ruby
<PorcoRex> Phanes, how about the Gemfile.lock?
AnoHito_ has joined #ruby
<Phanes> L967
<PorcoRex> Gee, that's scrappy. Alright...
<Phanes> ok so those two deps are missing and are for omniauth-google-oauth2, and bundle update omniauth-google-oauth2 is failing to install them
^mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
troys is now known as troys_
<PorcoRex> Phanes, I didn't say that. Did you try and fail to bundle update that gem?
<Phanes> yes there were previous attempts
AnoHito has quit [Ping timeout: 260 seconds]
<PorcoRex> Ok... Let's check it...
mim1k has quit [Ping timeout: 255 seconds]
<PorcoRex> Phanes, what version of bundler are you using?
nanoz has left #ruby ["Leaving"]
<Phanes> 1.15.1
gnarf has quit [Ping timeout: 255 seconds]
shinnya has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 255 seconds]
zeroDivisible has quit [Ping timeout: 255 seconds]
taurgal has quit [Ping timeout: 260 seconds]
jane_booty_doe has quit [Quit: Leaving]
ytti_ has quit [Ping timeout: 255 seconds]
tohuw has quit [Ping timeout: 255 seconds]
mathys has quit [Remote host closed the connection]
ytti has joined #ruby
mathys has joined #ruby
Rabbit_ has quit [Ping timeout: 255 seconds]
Rabbit_ has joined #ruby
<PorcoRex> Phanes, could you try using bundler v1.15.0.pre.3 instead?
akkad has quit [Ping timeout: 255 seconds]
<Phanes> PorcoRex, `gem install bundler --version '1.15.0.pre.3' --no-ri --no-rdoc` completed succesfuly
<PorcoRex> Good first step.
Emmanuel_Chanel has joined #ruby
zeroDivisible has joined #ruby
<Phanes> no change in behaviour
<PorcoRex> Phanes, could you provide the output?
azwieg103 has quit [Ping timeout: 255 seconds]
azwieg103 has joined #ruby
gnarf has joined #ruby
jane_booty_doe has joined #ruby
segmond has quit [Quit: l8r]
tohuw has joined #ruby
tohuw is now known as Guest52354
tristanp has quit [Remote host closed the connection]
<PorcoRex> Phanes, did you try what you tried on line 266?
<PorcoRex> On the previous bundle version?
<Phanes> yes that is the order of events we went over
<PorcoRex> Phanes, what Ruby version are you using?
<Phanes> ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]
<Phanes> am i able to just delete ./.bundle/ and let this generate?
<Phanes> *regenerate
akkad has joined #ruby
<PorcoRex> No.
<Phanes> at some point ruby/bundle generated these lockfiles in an incomplete fashion somewhere in what is assumed by me to be a staging point for temporary data not yet realized. surely there is a way to freshen that?
<PorcoRex> You assume way too much. Locks are intended to lock versions.
Ansible has left #ruby [#ruby]
Axy has quit [Ping timeout: 260 seconds]
<PorcoRex> Phanes, there is a new patch version for the state_machines-activerecord gem. Version 0.4.0 is from May 2016 while version 0.4.1 if newer. Do you think you could update it?
<PorcoRex> is*
Mia has joined #ruby
Kneecaps has left #ruby [#ruby]
bkxd has joined #ruby
<PorcoRex> Phanes, sir?
<PorcoRex> Phanes, sir, where you able to solve your problem?
jackjackdripper has quit [Quit: Leaving.]
<Phanes> sorry one moment, was wiping that directory away and extracting a new archive for gitlab
etehtsea has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
<Phanes> gem install state_machines-activerecord?
<Phanes> it is now installed
<PorcoRex> ¿Version 0.4.1?
<Phanes> 0.4.1
<PorcoRex> Ok. Can we see the error log?
<Phanes> there is no error log yet
<Phanes> we installed state_machines-activerecord
<PorcoRex> I'll wait for it, no worries.
<Phanes> im going to run the bundle install line again
<Phanes> between re-extracting the source dir we were running bundle against and the state_machines-activerecord gem it seems to be going further
<PorcoRex> I'm not too bright. Does that mean good or bad?
ur5us has joined #ruby
nowhere_man has joined #ruby
<Phanes> stopped in the same place but seemed to be much cleaner: http://paste.silogroup.org/uyasacedes.sql
jackjackdripper has joined #ruby
<Phanes> (line 575)
<PorcoRex> Phanes, that does look cleaner. What do you think it means?
<Phanes> no clue. this environment does not make sense to me.
<Phanes> bundle lock --update=omniauth-google-oauth2 seems relevant
ur5us has quit [Ping timeout: 260 seconds]
<PorcoRex> Phanes, yes, I agree. Anyways. I have to go. Have a great weekend everyone.
PorcoRex has left #ruby ["Leaving"]
Silthias has quit [Ping timeout: 255 seconds]
james99 has quit [Remote host closed the connection]
roshanavand has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
enterprisey has quit [Ping timeout: 272 seconds]
<Phanes> that fixed it
<Phanes> locking omniauth-google-oath2 prior to bundle run repaired it
<Phanes> if you already ran the bundle install you have to wipe the stage and try again
<Phanes> or it'll complain that the lockfile is frozen
<Phanes> this is betaware
bkxd has joined #ruby
jgt2 has joined #ruby
jgt2 has quit [Ping timeout: 255 seconds]
stupidsenpai has quit [Remote host closed the connection]
brent__ has quit [Quit: Connection closed for inactivity]
bkxd_ has joined #ruby
futilegames has joined #ruby
futilegames has left #ruby [#ruby]
bkxd has quit [Ping timeout: 260 seconds]
nowhere_man has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
bkxd has joined #ruby
futilegames has joined #ruby
bkxd_ has quit [Ping timeout: 255 seconds]
futilegames has quit [Client Quit]
DoubleMalt has joined #ruby
marr has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
ahrs has quit [Remote host closed the connection]
dionysus69 has joined #ruby
futilegames has joined #ruby
ohcibi has quit [Remote host closed the connection]
ahrs has joined #ruby
ohcibi has joined #ruby
kies has quit [Ping timeout: 255 seconds]
benlieb has quit [Quit: benlieb]
ohcibi has quit [Read error: Connection reset by peer]
ohcibi has joined #ruby
<latemus> BETAWARE
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
^mtkd has joined #ruby
polysics_ has quit [Remote host closed the connection]
polysics has joined #ruby
^mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
_whitelogger has joined #ruby
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
polysics_ has joined #ruby
polysics has quit [Ping timeout: 268 seconds]
mim1k has joined #ruby
kies has joined #ruby
mtkd has quit [Ping timeout: 258 seconds]
mim1k has quit [Ping timeout: 246 seconds]
mtkd has joined #ruby
futilegames has quit [Quit: futilegames]
tristanp has joined #ruby
davic has quit [Quit: Connection closed for inactivity]
tristanp has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
vuoto has joined #ruby
kies has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Read error: Connection reset by peer]
vuoto has quit [Remote host closed the connection]
dionysus69 has joined #ruby
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
roshanavand has quit [Quit: roshanavand]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
ur5us has joined #ruby
roshanavand has joined #ruby
polysics_ has quit [Remote host closed the connection]
polysics has joined #ruby
roshanavand has quit [Quit: roshanavand]
roshanavand has joined #ruby
etehtsea has quit [Ping timeout: 255 seconds]
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
jgt2 has joined #ruby
DoubleMalt has quit [Read error: Connection reset by peer]
doublemalt_ has joined #ruby
jgt2 has quit [Ping timeout: 268 seconds]
lel has quit [Ping timeout: 240 seconds]
Rich_Morin_ has quit [Ping timeout: 268 seconds]
lel has joined #ruby
workmad3 has joined #ruby
bkxd has joined #ruby
Rich_Morin_ has joined #ruby
bkxd_ has quit [Ping timeout: 255 seconds]
nanoz has joined #ruby
tristanp has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
gil_ has quit [Ping timeout: 260 seconds]
ixti has joined #ruby
polysics has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 240 seconds]
ecuanaso has joined #ruby
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
polysics has joined #ruby
jameser has joined #ruby
nanoz has quit [Ping timeout: 255 seconds]
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has quit [Quit: .]
mim1k has joined #ruby
konsolebox has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 268 seconds]
jameser has quit [Ping timeout: 255 seconds]
mtkd has quit [Ping timeout: 255 seconds]
nankyokusei has quit [Remote host closed the connection]
mtkd has joined #ruby
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
fusta has joined #ruby
drcode has joined #ruby
ur5us has quit [Remote host closed the connection]
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
shake001 has joined #ruby
mim1k has joined #ruby
shake001 has left #ruby [#ruby]
foxxx0 has quit [Remote host closed the connection]
foxxx0 has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
opencw has joined #ruby
nowhere_man has joined #ruby
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
jgt2 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
chalkmonster has joined #ruby
jgt2 has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 260 seconds]
oleo has quit [Quit: irc client terminated!]
GodFather_ has quit [Ping timeout: 260 seconds]
tristanp has joined #ruby
tristanp has quit [Ping timeout: 245 seconds]
_whitelogger has joined #ruby
mtkd has joined #ruby
chalkmonster has quit [Quit: Daddy's flown, 'cross the ocean.]
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
mikecmpbll has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jackjackdripper has quit [Quit: Leaving.]
ixti has quit [Quit: WeeChat 1.8]
ixti has joined #ruby
ixti has quit [Client Quit]
ur5us has joined #ruby
ixti has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
yeticry has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
yeticry has joined #ruby
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
yeticry has quit [Ping timeout: 245 seconds]
oleo has joined #ruby
yeticry has joined #ruby
__Yiota has joined #ruby
doublemalt__ has joined #ruby
GodFather_ has joined #ruby
nadir has joined #ruby
doublemalt_ has quit [Ping timeout: 260 seconds]
<MarkBilk> Please, how do I get ri to tell me about Tk. I have Tk built in -- I ran a small program using it.
bkxd has quit [Ping timeout: 255 seconds]
t-recx has joined #ruby
nankyokusei has joined #ruby
polysics has quit [Remote host closed the connection]
polysics has joined #ruby
oleo has quit [Quit: irc client terminated!]
nankyokusei has quit [Ping timeout: 260 seconds]
CacoS has joined #ruby
oleo has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
charliesome has joined #ruby
charliesome has quit [Client Quit]
<hanmac> MarkBilk: how did you install ruby?
<MarkBilk> Installer for Windows.
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
<MarkBilk> ri works for other things, e.g., String.
<hanmac> which ruby version? newer ruby isnt shipped with tk as i know (might be extra gem) i think ri didnt parsed the docs while installing that
jdawgaz has joined #ruby
<MarkBilk> ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]
<MarkBilk> Tk isn't in the gems directory.
chalkmonster has joined #ruby
davic has joined #ruby
nowhere_man has quit [Remote host closed the connection]
__Yiota has joined #ruby
nowhere_man has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
ascarter has joined #ruby
belmoussaoui has joined #ruby
ascarter has quit [Client Quit]
ascarter_ has joined #ruby
ascarter_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MarkBilk> hanmac: Which command should I use from there, considering that ri already works for classes other than Tk?
<MarkBilk> This? gem rdoc --all --ri --no-rdoc
<hanmac> yeah try that
jgt2 has joined #ruby
jane_booty_doe has quit [Quit: Leaving]
<MarkBilk> It parsed the docs for all the gems, but ri Tk or ri tk still gives nothing.
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt2 has quit [Ping timeout: 268 seconds]
nowhere_man has quit [Quit: Konversation terminated!]
nowhere_man has joined #ruby
<MarkBilk> hanmac: the other suggestion is: gem install rdoc-data and then: rdoc-data --install
jusa has joined #ruby
cschneid_ has joined #ruby
kmhn has quit [Ping timeout: 260 seconds]
mtkd has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Ping timeout: 260 seconds]
weathermaker has joined #ruby
chalkmonster has quit [Ping timeout: 255 seconds]
chalkmonster has joined #ruby
weathermaker has quit [Quit: Mutter: www.mutterirc.com]
mtkd has joined #ruby
kmhn has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
<MarkBilk> hanmac: I ran that too. Didn't help.
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
cschneid_ has joined #ruby
bkxd has joined #ruby
ixti has quit [Ping timeout: 255 seconds]
cschneid_ has quit [Ping timeout: 260 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 268 seconds]
chalkmonster has quit [Quit: Daddy's flown, 'cross the ocean.]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
Rich_Morin_ has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Ping timeout: 260 seconds]
mostlybadfly has joined #ruby
Rich_Morin has joined #ruby
shinnya has quit [Ping timeout: 255 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicesignal has quit [Remote host closed the connection]
ecuanaso has joined #ruby
nicesignal has joined #ruby
warrshrik has joined #ruby
<warrshrik> hey
<warrshrik> so this code
<warrshrik> if !(File.exist?("#{Base}#{appname}/#{appname}.yml")) puts "File doesnt exist!" File.open("#{Base}#{appname}/#{appname}.yml", "w") do |file| file.write(YAML::dump(cflArray(appname))) end end
<warrshrik> if .yml doesnt exist the File.open code is destined to run
<warrshrik> but it errors out
<warrshrik> file doesnt exist it says
belmoussaoui has quit [Quit: belmoussaoui]
<warrshrik> i want it to make new file!
<warrshrik> how to fix?
nankyokusei has joined #ruby
belmoussaoui has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
<warrshrik> please help
nankyokusei has quit [Ping timeout: 240 seconds]
<warrshrik> hey
<warrshrik> will File.write work
<konsolebox> warrshrik: yes you can just use File.write
<konsolebox> warrshrik: maybe you should also make sure that the directory where the file would be created exists and is writable
ascarter has joined #ruby
<warrshrik> konsolebox: yup that fixed it
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ecuanaso has joined #ruby
jgnagy has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aswen has joined #ruby
aswen has quit [Client Quit]
sepp2k has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
jgt2 has joined #ruby
roshanavand has quit [Quit: roshanavand]
troys_ is now known as troys
jgt2 has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
haylon has joined #ruby
mikecmpbll has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
konsolebox has joined #ruby
DLSteve has joined #ruby
konsolebox has quit [Remote host closed the connection]
mochiyoda_ has joined #ruby
spk has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
ecuanaso has joined #ruby
mochiyoda has quit [Ping timeout: 260 seconds]
zacts has quit [Ping timeout: 260 seconds]
spk has joined #ruby
zacts has joined #ruby
opencw has quit [Quit: Quantumcommunicationsarray offline]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zacts has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
jgnagy has quit [Remote host closed the connection]
planigan_ is now known as planigan
zacts has joined #ruby
workmad3 has joined #ruby
Cohedrin has joined #ruby
ur5us has joined #ruby
nhhc has joined #ruby
ZacNoMore has joined #ruby
GinoMan2440 has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 268 seconds]
djbkd has joined #ruby
yeticry_ has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
Blaguvest has joined #ruby
erlendf has joined #ruby
__Yiota has joined #ruby
rkazak has joined #ruby
rkazak has quit [Client Quit]
nanoz has joined #ruby
nanoz has joined #ruby
nanoz has quit [Changing host]
roshanavand has joined #ruby
rkazak has joined #ruby
erlend has quit [Ping timeout: 245 seconds]
erlendf is now known as erlend
patr0clus has joined #ruby
gizmore has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
kies has joined #ruby
hfp has quit [Ping timeout: 260 seconds]
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
hfp_work has quit [Ping timeout: 255 seconds]
nankyokusei has joined #ruby
drcode has joined #ruby
djbkd has quit [Remote host closed the connection]
hfp has joined #ruby
hfp_work has joined #ruby
hahuang61 has quit [Read error: Connection reset by peer]
rkazak has quit [Quit: Sleep.....ing....]
drcode has quit [Remote host closed the connection]
ShekharReddy has joined #ruby
jgnagy has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
drcode has joined #ruby
patr0clus has quit [Ping timeout: 255 seconds]
drcode has quit [Remote host closed the connection]
jusa has quit [Ping timeout: 260 seconds]
guardianx has joined #ruby
CacoS has quit [Remote host closed the connection]
drcode has joined #ruby
drcode has quit [Remote host closed the connection]
Beccamorgan has joined #ruby
drcode has joined #ruby
drcode has quit [Remote host closed the connection]
DLSteve has joined #ruby
guardianx has quit [Remote host closed the connection]
guardianx has joined #ruby
horst has quit [Quit: horst]
nhhc has quit [Remote host closed the connection]
drcode has joined #ruby
guardianx has quit [Read error: Connection reset by peer]
shinnya has joined #ruby
drcode has quit [Client Quit]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ShekharReddy has quit []
drcode has joined #ruby
vuoto has quit [Quit: Lost terminal]
Mon_Ouie has quit [Ping timeout: 268 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
<ljarvis> yay more new aliases
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
ltem has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 245 seconds]
drcode has joined #ruby
_joes_ has quit [Remote host closed the connection]
Mia has quit [Ping timeout: 255 seconds]
mtkd has joined #ruby
dasher00 has joined #ruby
jgt2 has joined #ruby
Mon_Ouie has joined #ruby
jgt2 has quit [Ping timeout: 260 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
bilal80 has joined #ruby
jamesaxl has joined #ruby
jolamb has quit [Read error: Connection reset by peer]
nanoz has quit [Read error: Connection reset by peer]
nertzy has quit [Ping timeout: 246 seconds]
jackjackdripper has joined #ruby
jolamb has joined #ruby
jolamb has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
jgnagy has quit [Remote host closed the connection]
kies has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
ecuanaso has joined #ruby
djbkd has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
jgt2 has joined #ruby
tristanp has quit [Ping timeout: 255 seconds]
jolamb has joined #ruby
mtkd has joined #ruby
djbkd has quit [Ping timeout: 255 seconds]
wnd has quit [Excess Flood]
wnd has joined #ruby
nhhc has joined #ruby
jgt2 has quit [Ping timeout: 245 seconds]
troys is now known as troys_
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
cjhowe7 has joined #ruby
Blaguvest has quit []
jgnagy has joined #ruby
pankaj has joined #ruby
jdawgaz has joined #ruby
pankaj has quit [Remote host closed the connection]
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
pankaj has joined #ruby
drcode has joined #ruby
SuperLag_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has quit [Ping timeout: 240 seconds]
SuperLag has quit [Ping timeout: 255 seconds]
Mon_Ouie has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
pankaj has quit [Ping timeout: 272 seconds]
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
doublemalt__ has quit [Ping timeout: 260 seconds]
pankaj has joined #ruby
ur5us has joined #ruby
mtkd has joined #ruby
herbmillerjr has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
drcode has joined #ruby
SuperLag_ is now known as SuperLag
SuperLag has quit [Changing host]
SuperLag has joined #ruby
Mon_Ouie has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drcode has quit [Remote host closed the connection]
pankaj has quit [Ping timeout: 272 seconds]
drcode has joined #ruby
bmurt has joined #ruby
latemus is now known as Fuchs_
Fuchs_ is now known as latemus
dionysus69 has joined #ruby
polysics_ has joined #ruby
polysics has quit [Ping timeout: 255 seconds]
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
latemus is now known as Fuchs_
Fuchs_ is now known as latemus
drcode has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
pankaj has joined #ruby
nankyokusei has joined #ruby
nekomune has joined #ruby
ascarter has joined #ruby
jusa has joined #ruby
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
ascarter has quit [Client Quit]
pen has joined #ruby
drcode has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
nhhc has quit [Quit: Leaving]
ecuanaso has joined #ruby
pankaj has quit [Remote host closed the connection]
jusa has quit [Ping timeout: 246 seconds]
doublemalt__ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haylon_ has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stupidsenpai has joined #ruby
stupidsenpai has quit [Client Quit]
comet23 has joined #ruby
comet23 has quit [Ping timeout: 245 seconds]
psychicist__ has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
<yorickpeterse> ljarvis: To be fair, I think #prepend is better than #unshift
<yorickpeterse> I just hope some of these will get deprecated at some point
<yorickpeterse> but #append is a bit silly
KeyJoo has joined #ruby
yogg-saron has joined #ruby
Rich_Morin has quit [Ping timeout: 240 seconds]
Rich_Morin has joined #ruby
haylon_ has quit [Quit: haylon_]
dionysus69 has joined #ruby
ecuanaso has joined #ruby
Coldblackice has joined #ruby
Rich_Morin has quit [Ping timeout: 255 seconds]
zipace has joined #ruby
bmurt has joined #ruby
Rich_Morin has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
mtkd has quit [Ping timeout: 255 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest80355 is now known as silverdust
herbmillerjr has quit [Quit: Konversation terminated!]
silverdust has quit [Changing host]
silverdust has joined #ruby
jgt2 has joined #ruby
CacoS has joined #ruby
ringrong has joined #ruby
mtkd has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt2 has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
<konsolebox> Ruby is like freedom of speech. Freedom of choices.
<konsolebox> yorickpeterse: why do you think append is silly?
tomphp has joined #ruby
<konsolebox> "And minimalists should stay away." is what I just thought.
bmurt has quit [Client Quit]
mtkd has quit [Ping timeout: 255 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
sajinmp has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
miguelfernandes has joined #ruby
miguelfernandes has quit [Client Quit]
ringrong has quit [Ping timeout: 255 seconds]
cyphase has quit [Ping timeout: 255 seconds]
lxsameer has quit [Ping timeout: 260 seconds]
jdawgaz has joined #ruby
oleo has quit [Quit: irc client terminated!]
dionysus69 has quit [Ping timeout: 240 seconds]
<sajinmp> Hi there. Can anyone help me with this http://rubyfiddle.com/riddles/89bfd/2
cyphase has joined #ruby
<sajinmp> I tried splitting using regex and then converting to hash but it doesn't work properly
<apeiros> sajinmp: can you also upload your try?
_sfiguser has quit [Quit: Leaving]
<sajinmp> Just a second
dionysus69 has joined #ruby
<apeiros> also I'm about a bit fuzzy about what the logic is behind the transformation
<sajinmp> S is the search words and A is where it should be searched for. Based on weightage, the results should be shown as A1, A2 etc
ur5us has joined #ruby
<apeiros> oh, I think I see it now. whitespace is the separator (either space or newline), a single letter is always a key?
ecuanaso has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
<sajinmp> yep
cjhowe7 has quit [Quit: Textual IRC Client: www.textualapp.com]
polysics has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
<sajinmp> apeiros: I have updated fiddle with my trials. I got a way of doing it but I think its too roundabout. http://rubyfiddle.com/riddles/89bfd/3
<sajinmp> apeiros: After adding a special character to the space after S or A, I can split it and make it to hash but I was wondering if there is a better way.
<apeiros> oh hi darix! been a while :D
cdg has joined #ruby
polysics_ has quit [Ping timeout: 240 seconds]
<apeiros> sajinmp: does your text only consist of A-Za-z?
<apeiros> or can it contain other characters?
lxsameer has joined #ruby
<sajinmp> Just A-Za-z, space and newline
cdg has quit [Read error: Connection reset by peer]
cdg has joined #ruby
<apeiros> input.split(/[ \n]?([AS])[ \n]/).tap(&:shift).each_slice(2).map { |k,v| [k,v.split(/[ \n]/)] }
<apeiros> now all remains to do is add the weights and call to_h on the result
<apeiros> darix: wow, ouch re link. agree with the tweeter. not that persons fault.
<Nilium> Production DB tweet?
<Nilium> Yep, production DB tweet.
<apeiros> darix: why u no #ruby-offtopic? :)
<darix> i am tinkering with openvswitch!
<apeiros> more reason for #ruby-offtopic!
<sajinmp> aperios: Woah... Thanks. I'm still lacking
<apeiros> ?tabnick sajinmp
<ruby[bot]> sajinmp: pro-tip - use tab completion for nicks. avoids typos in nicks.
<darix> apeiros: my client doesnt support tab completion. what to do?
<apeiros> darix: get a real client instead of logging in via TCPSocket
<sajinmp> apeiros: didn't know that as well. thanks D
<sajinmp> apeiros: didn't know that as well. thanks :D
Sembei has joined #ruby
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has joined #ruby
sajinmp has quit [Quit: Leaving]
rohitpaulk has joined #ruby
<apeiros> alternative: input.split(/\s/).slice_before { |value| ["A","S"].include?(value) }.to_a
<apeiros> probably more readable
<apeiros> needs slightly different processing, but mostly the same. map it to add the weight and get a [key, values] array, then call to_h on the result
zacts has quit [Ping timeout: 255 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt2 has joined #ruby
rohitpaulk has quit [Ping timeout: 255 seconds]
jusa has joined #ruby
zacts has joined #ruby
jusa has quit [Ping timeout: 255 seconds]
jgt2 has quit [Ping timeout: 240 seconds]
belmoussaoui_ has joined #ruby
belmoussaoui has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
cdg_ has joined #ruby
herbmillerjr has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
tristanp has joined #ruby
doublemalt__ has quit [Ping timeout: 260 seconds]
herbmillerjr has quit [Remote host closed the connection]
Some-body_ has joined #ruby
DarthGandalf has quit [Ping timeout: 240 seconds]
Some-body_ is now known as DarthGandalf
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
haylon has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
adgtl has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rapha has joined #ruby
<rapha> hi!
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rapha> why would "ruby -r blah/blah.rb" work, but "irb -r blah/blah.rb" complain "LoadError: cannot load such file -- blah/blah.rb"?
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
jdawgaz has joined #ruby
<rapha> (the file in question requires pathname and ostruct and contains one OpenStruct - i don't see what would be problematic about that)
jdawgaz has quit [Client Quit]
mtkd has quit [Ping timeout: 255 seconds]
tristanp has quit [Remote host closed the connection]
mtkd has joined #ruby
warrshrik has quit [Ping timeout: 260 seconds]
ltem has quit [Quit: Leaving]
cdg_ has quit [Remote host closed the connection]
sepp2k has joined #ruby
adgtl has joined #ruby
Phanes has left #ruby ["Leaving"]
psychicist__ has quit [Ping timeout: 260 seconds]
CacoS has quit [Remote host closed the connection]
marr has joined #ruby
<rapha> okay i just tried the same with a file containing "puts 'blah'" and it doesnt work either. wtf?
<apeiros> rapha: ruby -e 'puts $LOAD_PATH' and in irb, run the same code. compare the output.
<rapha> apeiros: same exact output, save for irb's '=> nil' ... bad?
Bob8989 has joined #ruby
<apeiros> is blah/blah.rb part of an installed gem?
<rapha> apeiros: nope. and like i wrote above, "irb -r" doesn't work with a file _only_ containing "puts 'blah'" either.
<apeiros> well, for plain files, the only relevant info is $LOAD_PATH
<apeiros> so if they're truly the same, I'm at a loss why it'd work with ruby but not irb
<rapha> actually i'm not sure if it does work with ruby. should i see the output produced by "puts 'blah'" when doing "ruby -r test.rb"?
<apeiros> I'd not name it test.rb
<Mon_Ouie> Are you giving an input file to Ruby? Or code to run with -e?
<rapha> apeiros: same if it's named "meh.rb"
<rapha> Mon_Ouie: an input file containing "puts 'meh'"
<Mon_Ouie> Otherwise ruby is just going to be waiting for input
<apeiros> Mon_Ouie: oh, stuck on stdinput?
<rapha> aha
<apeiros> didn't think of that
<rapha> indeed! once i press enter, i get /home/jrs/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- meh.rb (LoadError) again.
<rapha> which is what i originally wanted to fix with irb..
<apeiros> rapha: let me guess, the file is in the same working directory as where you start irb/ruby?
<apeiros> . (working directory) is not part of $LOAD_PATH, which is why it's not found. you can temporarily add it via -I (upcase i): ruby -I. -rblah/blah
<rapha> apeiros: yes, but the error remains the same once i put it into a subdir.
<apeiros> d'uh
<rapha> o_O
<apeiros> the subdir is also in the working directory
<rapha> omg
<rapha> i'm sorry to have gotten on your nerves with something so profane :(
<apeiros> relative paths, how do they work? :-p
<rapha> :P
<apeiros> anyway, your require must be relative to one path in $LOAD_PATH. that's the whole magic.
<apeiros> (or part of an installed gem, but that's another story)
<rapha> apeiros: the -I trick works just fine in this specific case. I just needed a Rake task to give me a console of my Sinatra app.
jackjackdripper1 has joined #ruby
ecuanaso has joined #ruby
jackjackdripper has quit [Ping timeout: 240 seconds]
<rapha> apeiros: oh, do you know a trick to suppress a single command's return value in pry?
<apeiros> ;
<rapha> hah! perfect! thank you!
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
Rich_Morin_ has joined #ruby
Rich_Morin has quit [Ping timeout: 255 seconds]
Rich_Morin_ is now known as Rich_Morin
GinoMan2440 has joined #ruby
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
patr0clus has joined #ruby
jgt2 has joined #ruby
cfec0b8d has quit [Quit: Leaving]
Rich_Morin has quit [Ping timeout: 240 seconds]
jgt2 has quit [Ping timeout: 245 seconds]
Rich_Morin has joined #ruby
matthewhill has joined #ruby
matthewhill has quit [Client Quit]
Lyubo1 has quit [Ping timeout: 260 seconds]
fusta has quit [Quit: Leaving]
Rich_Morin has quit [Ping timeout: 240 seconds]
Lyubo1 has joined #ruby
stupidsenpai has joined #ruby
stupidsenpai has quit [Client Quit]
Rich_Morin_ has joined #ruby
agent_white has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
tristanp has joined #ruby
hays has joined #ruby
hays has quit [Changing host]
hays has joined #ruby
bkxd has joined #ruby
hays_ has quit [Ping timeout: 245 seconds]
mathys has quit [Remote host closed the connection]
mathys has joined #ruby
Rich_Morin__ has joined #ruby
Rich_Morin_ has quit [Ping timeout: 268 seconds]
tristanp has quit [Remote host closed the connection]
Rich_Morin__ has quit [Ping timeout: 260 seconds]
armguy has quit [Remote host closed the connection]
Rich_Morin has joined #ruby
DLSteve has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Rich_Morin has quit [Ping timeout: 240 seconds]
Rich_Morin_ has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
jdawgaz has joined #ruby
Rich_Morin_ has quit [Ping timeout: 255 seconds]
Rich_Morin_ has joined #ruby
jgt2 has joined #ruby
Rich_Morin_ has quit [Ping timeout: 260 seconds]
zipace has quit [Ping timeout: 258 seconds]
Rich_Morin_ has joined #ruby
bkxd has joined #ruby
Rich_Morin_ has quit [Ping timeout: 260 seconds]
Rich_Morin_ has joined #ruby
roshanavand has quit [Quit: roshanavand]
zipace has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
Rich_Morin_ has quit [Ping timeout: 240 seconds]
Rich_Morin_ has joined #ruby