nadir has quit [Quit: Connection closed for inactivity]
blackmesa has quit [Ping timeout: 258 seconds]
moei has quit [Quit: Leaving...]
Torrone has quit [Client Quit]
Devalo has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
Torrone has joined #ruby
bmurt has joined #ruby
nster has joined #ruby
Devalo has quit [Ping timeout: 258 seconds]
cyphase has joined #ruby
douglascorrea has quit [Remote host closed the connection]
douglascorrea has joined #ruby
djbkd has quit [Quit: My people need me...]
nando293921 has quit [Ping timeout: 260 seconds]
neanderslob has quit [Ping timeout: 264 seconds]
paradisaeidae_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Chris3y_RubyNewb has quit [Ping timeout: 276 seconds]
hahuang61 has joined #ruby
moei has joined #ruby
Gasher has quit [Quit: Leaving]
agent_white has quit [Quit: gooooohnhome]
JesseH has joined #ruby
KevinFrench has joined #ruby
BillSussman has quit [Ping timeout: 250 seconds]
chip_ has quit [Quit: Quitte]
Torrone has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
macsteps has quit [Remote host closed the connection]
macsteps has joined #ruby
Torrone has joined #ruby
Chris3y_RubyNewb has joined #ruby
ec0 has quit [Read error: Connection reset by peer]
ec0 has joined #ruby
douglascorrea has quit []
jaguarmagenta has joined #ruby
nster has quit [Quit: Leaving]
macsteps has quit [Ping timeout: 240 seconds]
pipework has quit [Ping timeout: 258 seconds]
charliesome has joined #ruby
Rodya_ has joined #ruby
douglasc_ has joined #ruby
douglasc_ has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 244 seconds]
sneakers has quit [Ping timeout: 276 seconds]
Rodya_ has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
Dimik-- has quit [Ping timeout: 250 seconds]
TheWhip has quit [Remote host closed the connection]
TheWhip has joined #ruby
Davedev28_ has quit [Remote host closed the connection]
djdarkbeat has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
Moosashi has joined #ruby
TheWhip has quit [Ping timeout: 264 seconds]
yonatankoren has quit [Quit: ZNC 1.6.1 - http://znc.in]
Spami has quit [Quit: This computer has gone to sleep]
zacts has quit [Ping timeout: 252 seconds]
Alayde has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
exadeci has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
furiavento has joined #ruby
craysiii has joined #ruby
biox has left #ruby ["WeeChat 1.4"]
swills has quit [Remote host closed the connection]
furiavento has quit [Read error: Connection reset by peer]
Torrone has quit [Ping timeout: 250 seconds]
brace_space has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
Yzguy has joined #ruby
P_R_Deltoid has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
<P_R_Deltoid>
I am trying to make a simple toggle function to start/stop a program, but for some reason the "running" variable keeps resetting to False after I set it to True in a class method
JeanCarloMachado has quit [Ping timeout: 244 seconds]
nando293921 has quit [Read error: Connection reset by peer]
nando294021 has joined #ruby
vdamewood has joined #ruby
TheWhip has joined #ruby
madsa_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
k3rn31 has quit [Ping timeout: 240 seconds]
Moosashi has quit [Quit: Moosashi]
madsa has joined #ruby
madsa has quit [Client Quit]
diegoviola has quit [Quit: WeeChat 1.5]
rubie has quit [Remote host closed the connection]
Channel6 has joined #ruby
yos has joined #ruby
Moosashi has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
Alayde has joined #ruby
tubuliferous has joined #ruby
Coldblackice_ has joined #ruby
Coldblackice has quit [Ping timeout: 264 seconds]
seap has joined #ruby
yoongkang has joined #ruby
Alayde has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Quit: Lost terminal]
tubuliferous has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
blackgoat_ has quit [Ping timeout: 260 seconds]
Coldblackice has joined #ruby
yoongkang has quit [Ping timeout: 252 seconds]
ramfjord has joined #ruby
Coldblackice_ has quit [Ping timeout: 260 seconds]
mikejw has quit [Ping timeout: 258 seconds]
mikejw has joined #ruby
jenrzzz has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Client Quit]
pawnbox has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
nando294021 has quit [Ping timeout: 276 seconds]
enterprisey has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
djbkd has joined #ruby
qguv has quit [Quit: bye]
sumobob has joined #ruby
qguv has joined #ruby
jaguarmagenta has joined #ruby
pawnbox has quit [Remote host closed the connection]
jaguarma_ has quit [Ping timeout: 265 seconds]
Moosashi has quit [Quit: Moosashi]
rubie has joined #ruby
madsa has joined #ruby
TheWhip has quit [Remote host closed the connection]
dunpeal has quit [Ping timeout: 250 seconds]
madsa has quit [Client Quit]
seap has quit [Quit: WeeChat 1.5]
alfiemax has quit [Ping timeout: 276 seconds]
conta has joined #ruby
Moosashi has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
astrobun_ has joined #ruby
agent_white has joined #ruby
blackmesa has joined #ruby
Channel6 has quit [Quit: Leaving]
Devalo has joined #ruby
barajasfab has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
Moosashi has quit [Quit: Moosashi]
Devalo has quit [Ping timeout: 250 seconds]
kies has joined #ruby
RegulationD has joined #ruby
nizzlefritz has quit [Quit: Ex-Chat]
Moosashi has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
Es0teric has joined #ruby
pawnbox has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 244 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
barajasfab has quit [Ping timeout: 250 seconds]
madsa has joined #ruby
madsa has quit [Client Quit]
Moosashi has quit [Quit: Moosashi]
conta has quit [Ping timeout: 264 seconds]
yardenbar has joined #ruby
l4v2 has quit [Quit: l4v2]
etehtsea has joined #ruby
duderonomy has joined #ruby
rubie has quit [Remote host closed the connection]
Sammichmaker has quit [Ping timeout: 258 seconds]
yoongkang has joined #ruby
TheWhip has joined #ruby
Moosashi has joined #ruby
jaguarma_ has joined #ruby
djdarkbeat has joined #ruby
conta has joined #ruby
yardenbar has quit [Ping timeout: 240 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
CloCkWeRX has quit [Quit: Leaving.]
yoongkang has quit [Ping timeout: 252 seconds]
symm- has joined #ruby
skade has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 264 seconds]
Limix has joined #ruby
hk238 has joined #ruby
rubie has joined #ruby
<duderonomy>
Hi! can someone by so kind enough to help with a line parsing scenario. Parsing a log file with format made my another programmer; e.g. not apache. Trying to model/copy code from Apache Log Regex.
<ceegee>
shevy: yesterday I tried different ways to pass the array to my class but none of them worked
jaguarmagenta has joined #ruby
<shevy>
how does the class you wrote look like?
<shevy>
cam you put this on a pastie
yfeldblum has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
<ceegee>
of course
Torrone has joined #ruby
<ceegee>
shevy: some context: the used class is for installing tomcat, sometimes the tomcat user must be in more than one additional group so I need to pass an array with groups from my node manifest to the tomcat class
<shevy>
oh
<shevy>
from your description alone, this sounds like non-ruby code
<ceegee>
and the groups parameter needs an array to work
LoneHerm_ has quit [Remote host closed the connection]
hannelita has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
flying has joined #ruby
symm- has joined #ruby
A_Drone has joined #ruby
yfeldblum has joined #ruby
workmad3 has joined #ruby
hannelita has quit [Ping timeout: 260 seconds]
Moosashi has joined #ruby
workmad3 has quit [Ping timeout: 258 seconds]
workmad3_ has joined #ruby
Tharbakim has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
pawnbox has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TheWhip has joined #ruby
domgetter has quit [Ping timeout: 260 seconds]
Snowy has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
cibs has joined #ruby
workmad3 has joined #ruby
workmad3_ has quit [Ping timeout: 258 seconds]
Guest48905 has quit [Ping timeout: 276 seconds]
Derperperd has quit [Quit: Derperperd]
Derperperd has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
Derperperd has quit [Ping timeout: 258 seconds]
charliesome has joined #ruby
Derperperd has joined #ruby
Guest48905 has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
<atom_>
is there an opoposite command to `bundle install`? if I want to get rid of the gems a certain project installed as deps, how do I do it?
conta has quit [Quit: conta]
joonty has joined #ruby
Synthead has quit [Ping timeout: 276 seconds]
<ljarvis>
gem uninstall gem names
<ljarvis>
i dont think you can uninstall "just the gems in this bundle"
blackmesa has quit [Ping timeout: 260 seconds]
rafadc has quit [Remote host closed the connection]
elifoster has quit [Quit: sleep]
anisha has quit [Quit: This computer has gone to sleep]
conta has joined #ruby
Derperperd has quit [Quit: Derperperd]
tulak has joined #ruby
Derperperd has joined #ruby
Tharbakim has joined #ruby
Derperperd has quit [Client Quit]
Derperperd has joined #ruby
tubuliferous has joined #ruby
Synthead has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
teclator has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
blackmesa has joined #ruby
alfiemax has quit [Ping timeout: 250 seconds]
minotep has quit [Ping timeout: 240 seconds]
tubuliferous has quit [Ping timeout: 258 seconds]
Moosashi has quit [Quit: Moosashi]
rafadc has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
yoongkang has joined #ruby
hannelita has joined #ruby
anisha has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marr has joined #ruby
hannelita has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
A_Drone has quit [Remote host closed the connection]
hwcomcn has joined #ruby
sdothum has joined #ruby
hutch34_ has joined #ruby
blackmesa has joined #ruby
A_Drone has joined #ruby
fanantoxa has quit [Ping timeout: 265 seconds]
blackgoat_ has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hobogrammer has joined #ruby
alfiemax has joined #ruby
weckl has joined #ruby
tlarevo has joined #ruby
koooge has quit [Quit: Leaving...]
hutch34_ has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
freerobby has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
killerkamel has joined #ruby
<Radar>
atom_: remove them from your gemfile if you don't want them\
openstruct has joined #ruby
masterkorp has left #ruby ["WeeChat 1.0.1"]
killerkamel has quit [Ping timeout: 276 seconds]
ddffg has joined #ruby
RegulationD has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
minotep has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
craigp has joined #ruby
cibs has joined #ruby
tlarevo has left #ruby [#ruby]
<atom_>
Radar: that was so obvious I didn't even think of it lol
Pupeno has quit [Ping timeout: 258 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
ponga has joined #ruby
Pupeno has joined #ruby
spudowiar has joined #ruby
Pupeno has quit [Remote host closed the connection]
Azure has quit [Quit: Oops.]
TheWhip has quit [Remote host closed the connection]
blackmesa has joined #ruby
nhhc has joined #ruby
pawnbox has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
jaruga___ has quit [Ping timeout: 258 seconds]
tlarevo_ has joined #ruby
killerkamel has joined #ruby
rafadc has quit [Remote host closed the connection]
rafadc has joined #ruby
charliesome has joined #ruby
AciD` has joined #ruby
<AciD`>
hi, I'm trying to run scss from the command line (after having done a `gem install sass`, but I keep getting this error message : "/usr/bin/ruby1.9.1: Permission denied -- /usr/local/bin/scss (LoadError)". Any idea why?
GodFather has joined #ruby
killerkamel has quit [Ping timeout: 258 seconds]
Hyuk has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
hannelita has joined #ruby
the_drow has joined #ruby
rodfersou has joined #ruby
jaruga___ has joined #ruby
Guest48905 has quit [Ping timeout: 264 seconds]
the_drow has quit [Client Quit]
Guest48905 has joined #ruby
ec0 has quit [Ping timeout: 250 seconds]
hannelita has quit [Ping timeout: 260 seconds]
adl has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
skade has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
cibs has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
TheWhip has joined #ruby
adl has quit [Ping timeout: 250 seconds]
cibs has joined #ruby
leitz has joined #ruby
Moosashi has joined #ruby
<AciD`>
ok, looks like the scss/sass/rake executables in /usr/local/bin all had their permission set to -rwxr-x--x root root
c355e3b has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrobun_ has quit [Remote host closed the connection]
hutch34_ has quit [Ping timeout: 244 seconds]
rodfersou has quit [Ping timeout: 258 seconds]
rafadc has quit [Remote host closed the connection]
HammyJammy has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
Davedev28 has joined #ruby
the_drow has joined #ruby
Moosashi has quit [Quit: Moosashi]
karapetyan has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 264 seconds]
openstruct has quit [Remote host closed the connection]
karapetyan has joined #ruby
mark_661 has quit [Quit: Leaving.]
mark_661 has joined #ruby
JammyHammy has joined #ruby
Moosashi has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
hanmac has quit [Ping timeout: 258 seconds]
rodfersou has joined #ruby
jrafanie has joined #ruby
umdstu has joined #ruby
jrafanie has quit [Client Quit]
postmodern has quit [Quit: Leaving]
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
jrafanie has joined #ruby
JeanCarloMachado has joined #ruby
<leitz>
Hesitant. I am refactoring a pet project and afriad to move forward in case some mythical person is using the old code. For a while things will break seriously and the code isn't backwards compatible.
<xpitr>
git branch
tlarevo_ has quit [Read error: Connection reset by peer]
jrafanie has quit [Client Quit]
<xpitr>
make "oldstable" or something out of current version
<leitz>
xpitr, I am. Trying to push myself to merge before I have replicated the old functionality.
<leitz>
Ah, let me look at that.
nobitanobi has quit [Ping timeout: 244 seconds]
<xpitr>
well if someone relies on old version they will just get "oldstable" branch
<xpitr>
and mark that in docs
yfeldblum has quit [Ping timeout: 250 seconds]
tlarevo has joined #ruby
karapetyan has quit [Remote host closed the connection]
hanmac has joined #ruby
openstruct has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Moosashi has quit [Quit: Moosashi]
spudowiar has quit [Ping timeout: 258 seconds]
spudowiar1 has joined #ruby
hannelita has joined #ruby
spudowiar1 is now known as spudowiar
tubuliferous has joined #ruby
duncannz has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
Ishido has quit [Remote host closed the connection]
hannelita has quit [Ping timeout: 264 seconds]
Ishido has joined #ruby
Pupeno has joined #ruby
spudowiar has quit [Quit: Leaving.]
tubuliferous has quit [Ping timeout: 258 seconds]
skade has joined #ruby
<leitz>
xpitr, thanks. In one sentence you dispelled hours of mental anguish. :)
skade has quit [Client Quit]
joonty has quit [Quit: This computer has gone to sleep]
<xpitr>
heh nice :P
saneax is now known as saneax_AFK
yos has quit [Ping timeout: 244 seconds]
yos has joined #ruby
blackmesa has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
Mon_Ouie has joined #ruby
tlarevo has quit [Remote host closed the connection]
Mia has joined #ruby
tlarevo has joined #ruby
TheWhip has quit [Read error: Connection reset by peer]
futilegames has quit [Ping timeout: 250 seconds]
futilegames has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
LinuxHippie has quit [Quit: Connection closed for inactivity]
TheWhip has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
AndrewIsHere has joined #ruby
Hyuk has joined #ruby
joonty has joined #ruby
Hyuk has quit [Client Quit]
GodFather has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
rubyist has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
<rubyist>
Hi all, i have the following question: Is it possible to split the initialisation of an OptionParser across multiple files? I have a Ruby script which loads additional modules and I would like certain options to only become available when the module is loaded. i.e. in the output of "-h"
<ljarvis>
yep
hwcomcn has quit [Ping timeout: 264 seconds]
rafadc has quit [Remote host closed the connection]
<rubyist>
ljarvis: Could you eleborate please?
<ljarvis>
rubyist: what would you like to know? you should instantiate an OptionParser instance and then you can mutate that in your other modules
TheWhip has joined #ruby
<rubyist>
It is currently defined as follows: opts = OptionParser.new do |opts|
<rubyist>
Followed by a long list of opts.on(...)
<rubyist>
How would I be able to access opts from the other modules and append options to it?
byteflame has quit [Ping timeout: 244 seconds]
hannelita has quit [Remote host closed the connection]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ljarvis>
you'll need to make opts global (or at least, accessible to those other modules). If you have a parent module you could store it as an attribute on the module. Alternatively you could use a single module to "build" the parser instance, and then include that module into your other modules and use the "included" module hook
ych has joined #ruby
GodFather has joined #ruby
<ljarvis>
although what do you mean by "only become available when the module is loaded"
<ljarvis>
are you dynamically loading modules, and if so, how?
RegulationD has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
glcx has joined #ruby
glcx has joined #ruby
glcx has quit [Changing host]
<rubyist>
I'm currently using a begin/rescue block where I catch LoadError and then set a boolean to see of the module was successfuly loaded
<rubyist>
I need to have the main program as slim as possible as far as LoC go
<rubyist>
For example, if webrick is not present on the system, certain modules will not work and I don't want options related to those modules to be shown in the help output for example
swills has quit [Ping timeout: 244 seconds]
blackgoat_ has joined #ruby
nobitanobi has joined #ruby
blackgoat_ has quit [Client Quit]
hannelita has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
killerkamel has joined #ruby
banisterfiend has joined #ruby
shinnya has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roshanavand has quit [Read error: Connection reset by peer]
roshanavnad_ has joined #ruby
blackmesa has joined #ruby
charliesome has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
Torrone has joined #ruby
killerkamel has quit [Ping timeout: 244 seconds]
mhenrixon_ has joined #ruby
nobitanobi has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
mhenrixon_ has quit [Remote host closed the connection]
nobitanobi has joined #ruby
blackmesa has joined #ruby
rafadc has joined #ruby
TheWhip has quit [Remote host closed the connection]
mhenrixon_ has joined #ruby
ramortegui has joined #ruby
bhaak has quit [Ping timeout: 240 seconds]
hutch34_ has joined #ruby
ramortegui has quit [Client Quit]
alebatt has joined #ruby
alebatt has quit [Quit: WeeChat 1.5]
mhenrixo- has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpb_ has joined #ruby
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
Silthias has left #ruby [#ruby]
malconis has joined #ruby
Didac has joined #ruby
GorillaApe has joined #ruby
hk238 has quit [Ping timeout: 258 seconds]
simbalion has left #ruby ["WeeChat 1.5"]
mikecmpbll has quit [Ping timeout: 258 seconds]
ChiefAlexander has joined #ruby
kedare_ has quit [Quit: Leaving]
jaguarmagenta has joined #ruby
rubie has joined #ruby
bhaak has joined #ruby
roshanavand__ has joined #ruby
Xiti has joined #ruby
Silthias has joined #ruby
roshanavand__ has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
roshanavnad_ has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
byteflame has joined #ruby
yoongkang has quit [Remote host closed the connection]
aupadhye has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
jrafanie has joined #ruby
nobitanobi has quit [Read error: Connection reset by peer]
Es0teric has joined #ruby
nobitanobi has joined #ruby
glcx has quit [Ping timeout: 276 seconds]
l4v2 has joined #ruby
mikecmpbll has joined #ruby
yoongkang has joined #ruby
swills has joined #ruby
nerium has joined #ruby
johnmilton has joined #ruby
hannelita has quit [Remote host closed the connection]
glcx has joined #ruby
mikecmpb_ has quit [Ping timeout: 244 seconds]
banisterfiend has joined #ruby
fmcgeough has joined #ruby
pawnbox has joined #ruby
eGGshke has joined #ruby
hannelita has joined #ruby
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest48905 has quit [Ping timeout: 250 seconds]
hk238 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest48905 has joined #ruby
johnmilton has quit [Ping timeout: 250 seconds]
cibs has quit [Ping timeout: 240 seconds]
dsea has joined #ruby
tubuliferous has joined #ruby
cibs has joined #ruby
Torrone has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
charliesome has joined #ruby
chouhoulis has joined #ruby
charliesome has quit [Client Quit]
Limix has joined #ruby
XflyingX has joined #ruby
roshanavand__ has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
srtufano has joined #ruby
flying has quit [Ping timeout: 240 seconds]
aupadhye has quit [Ping timeout: 265 seconds]
macsteps has joined #ruby
TheWhip has joined #ruby
roshanavand__ has quit [Quit: This computer has gone to sleep]
dionysus69 has quit [Ping timeout: 244 seconds]
Derperperd has quit [Quit: Derperperd]
johnmilton has joined #ruby
killerkamel has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
kedare has joined #ruby
pawnbox has joined #ruby
tulak has quit [Remote host closed the connection]
ddffg has quit [Quit: Leaving]
tulak has joined #ruby
BLuEGoD has joined #ruby
<BLuEGoD>
hi
XflyingX has quit []
flying has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
blandflakes has joined #ruby
macsteps has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
ffgghhj has joined #ruby
barajasfab has joined #ruby
LoneHermit has joined #ruby
<BLuEGoD>
I have some sort of timing issue copying a file with FileUtils.copy_entry and immediately after triggering a sidekiq job that uncompresses the file. For some reason the file is missing when the worker runs, however I can see the file is there... Any idea why this is happening?
Torrone has joined #ruby
anisha_ has joined #ruby
anisha has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
flying has quit []
jud has joined #ruby
Pupeno_ has quit [Remote host closed the connection]
mikecmpb_ has joined #ruby
axl_ has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
theunraveler has joined #ruby
mikecmpbll has quit [Ping timeout: 258 seconds]
axl_ has quit [Client Quit]
shinnya has quit [Ping timeout: 244 seconds]
Limix has joined #ruby
Pupeno has joined #ruby
Limix has quit [Client Quit]
axl_ has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
macsteps has joined #ruby
sdwrage has joined #ruby
solars has quit [Ping timeout: 244 seconds]
ChiefAlexander has joined #ruby
SilverKey has joined #ruby
adl has joined #ruby
hutch34_ has quit [Ping timeout: 250 seconds]
Torrone has quit [Quit: This computer has gone to sleep]
freerobby has quit [Read error: Connection reset by peer]
kobain has joined #ruby
freerobby has joined #ruby
cr3 has joined #ruby
domgetter has joined #ruby
<cr3>
hi folks, I'm getting this error installing devise but I can see version 3.2.0 on rubygems.org specified at the top of my Gemfile: Bundler::GemNotFound: Could not find gem 'devise (~> 3.2.0)' in any of the gem sources listed in your Gemfile or available on this machine.
blackmesa has quit [Ping timeout: 258 seconds]
adl has quit [Ping timeout: 250 seconds]
domgetter has quit [Client Quit]
polishdub has joined #ruby
jishankai has quit [Ping timeout: 265 seconds]
last_staff has quit [Quit: last_staff]
yoongkang has quit [Remote host closed the connection]
rgiscard has quit [Quit: Cheers]
SilverKey has quit [Quit: Halted.]
rgiscard has joined #ruby
tulak has quit []
Pupeno has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
mikecmpb_ has quit [Ping timeout: 276 seconds]
tjbiddle has joined #ruby
SilverKey has joined #ruby
pawnbox_ has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
duckpuppy has joined #ruby
rafadc has quit [Remote host closed the connection]
dionysus69 has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Sou|cutter>
cr3: based on the information given you should not get that error. I suspect there's something amiss in your Gemfile though
The_Phoenix has joined #ruby
leitz has quit [Quit: Nappy time]
rippa has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
flying has joined #ruby
<cr3>
Sou|cutter: I'm running ruby 1.9.3 and I suspect the problem might be that rubocop, another dependency in my Gemfile, no longer supports my ruby version so I might have to pin the version of rubocop
<adaedra>
cr3: what command do you do that outputs this?
<cr3>
adaedra: bundle update
<cr3>
Sou|cutter: that was it! man, that was a crappy error message :(
dunpeal has quit [Ping timeout: 244 seconds]
<Sou|cutter>
I wonder if you upgraded your bundler if that would have given a better message
<Sou|cutter>
sounds like you're on some pretty old versions
nando293921 has joined #ruby
<adaedra>
1.9.3 is supposed to be dead now :|
Torrone has joined #ruby
rafadc has joined #ruby
rafadc has quit [Remote host closed the connection]
<cr3>
Sou|cutter: I do `gem install bundler` at the beginning of my process to make sure I have the latest
macsteps has quit [Remote host closed the connection]
triangles has quit [Quit: Leaving]
<Sou|cutter>
Does your bundler -v match the latest version?
<Sou|cutter>
always possible there are PATH issues
rubyist has quit [Quit: Page closed]
Macaveli has joined #ruby
<cr3>
Sou|cutter: yep, I just double checked: 1.12.5
<Sou|cutter>
or it could just be a bad message in the current version
<Sou|cutter>
welp, at least you figured it out :)
Macaveli has quit [Client Quit]
<cr3>
Sou|cutter: rubocop failed much higher in my output and I get a stack trace about devise in the bottom, it's weird but I'll remember that things aren't always what they seem :)
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Torrone has quit [Read error: Connection reset by peer]
blandflakes has joined #ruby
weckl_ has joined #ruby
dionysus69 has quit [Quit: dionysus69]
Davedev28 has quit [Remote host closed the connection]
weckl has quit [Ping timeout: 260 seconds]
openstruct has quit []
chip_ has quit [Quit: Quitte]
conta has quit [Ping timeout: 240 seconds]
aganov has quit [Remote host closed the connection]
Torrone_1 has joined #ruby
Torrone_ has quit [Ping timeout: 276 seconds]
kavanagh has joined #ruby
TheWhip_ has joined #ruby
dionysus69 has joined #ruby
TheWhip has quit [Ping timeout: 260 seconds]
dANOKELOFF has quit [Quit: Ex-Chat]
sdwrage has joined #ruby
Puck6633 has joined #ruby
AndrewIsHere has joined #ruby
<Puck6633>
Hey, just wondering if anyone has any resources on embedding on Windows with gxx/mingw. I have the latest rubyinstaller/devkit and source, but I'm not finding any resources on compiling with mingw and no config.h exists in the rubyinstaller version.
mark_661 has quit [Quit: Leaving.]
Davedev28 has joined #ruby
cb_ has joined #ruby
cb_ has quit [Client Quit]
weckl__ has joined #ruby
Snowy has quit [Quit: ragequit]
teclator has quit [Ping timeout: 258 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pandaant has quit [Remote host closed the connection]
rafadc has quit [Remote host closed the connection]
ur5us has joined #ruby
rafadc has joined #ruby
<fear0fmusic>
wouldn't it be wonderful if browsers supported ruby instead of javascript
jackjackdripper has joined #ruby
<fear0fmusic>
my new job is full stack js and i'm ready to rip my hair out
Pupeno has joined #ruby
<fear0fmusic>
all of these new ES6 features are just crap versions of features that have been staples of any decent language with functional support
<fear0fmusic>
i just find ruby to be the easiest language for expressing my thoughts in code
shinnya has quit [Ping timeout: 244 seconds]
seap has quit [Quit: WeeChat 1.5]
<fear0fmusic>
there is minimal disconnect between thought and implementation
madsa has joined #ruby
p0p0pr37_ has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
minotep has joined #ruby
pawnbox has joined #ruby
rafadc has quit [Ping timeout: 244 seconds]
[Butch] has joined #ruby
Torrone_1 has quit [Ping timeout: 265 seconds]
Torrone has joined #ruby
Pupeno has quit [Ping timeout: 276 seconds]
kedare has quit [Quit: Leaving]
p0p0pr37 has quit [Ping timeout: 265 seconds]
p0p0pr37_ is now known as p0p0pr37
senayar has quit []
SilverKey has quit [Quit: Halted.]
jaruga___ has quit [Quit: jaruga___]
Torrone_ has joined #ruby
TomyWork has joined #ruby
Torrone has quit [Ping timeout: 264 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
Alayde has joined #ruby
Torrone_ has quit [Read error: Connection reset by peer]
Torrone_1 has joined #ruby
bluOxigen has joined #ruby
czerasz has joined #ruby
yardenbar has quit [Ping timeout: 240 seconds]
CloCkWeRX has quit [Remote host closed the connection]
joonty has quit [Quit: Leaving]
mikecmpbll has quit [Ping timeout: 265 seconds]
rodfersou is now known as rodfersou|lunch
Torrone_ has joined #ruby
djdarkbeat has quit [Quit: djdarkbeat]
Torrone_1 has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 260 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
griffindy has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
cschnei__ has joined #ruby
alfiemax has joined #ruby
SCHAAP137 has joined #ruby
ldnunes has joined #ruby
glcx has quit [Quit: Quitte]
GorillaApe has quit [Remote host closed the connection]
Devalo has joined #ruby
vuoto has joined #ruby
AgentVenom has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
aep-shoutlet has joined #ruby
Guest48905 has quit [Ping timeout: 260 seconds]
etehtsea has joined #ruby
SilverKey has joined #ruby
Couch has quit [Ping timeout: 260 seconds]
atom_ has quit [Ping timeout: 258 seconds]
hutch34_ has quit [Read error: Connection reset by peer]
etehtsea has quit [Client Quit]
BLuEGoD has quit [Quit: WeeChat 1.4]
KaliLinuxGR has quit [Remote host closed the connection]
Guest48905 has joined #ruby
conta has joined #ruby
cdg has quit [Ping timeout: 244 seconds]
czerasz has quit [Ping timeout: 244 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
Pupeno has joined #ruby
andikr has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
sdwrage has joined #ruby
cdg has joined #ruby
chepee has joined #ruby
Pupeno has quit [Ping timeout: 244 seconds]
bweston92 has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
chepee has quit [Client Quit]
SCHAAP137 has joined #ruby
blackmesa has joined #ruby
ruby-newby123 has joined #ruby
tlarevo has joined #ruby
<ruby-newby123>
urrghh, just when I thought I was starting to like ruby I ran up against this bug and want to give up forever
TheWhip_ has quit [Remote host closed the connection]
<ruby-newby123>
anyone want to try and solve it? Now before I get going, I will say this projectis a bit of a mess, needs a bit of refactoring and I let a non-dev lose on it today so this might be something trivial I'm missing but before refactoring, I would love to understand how this problem occurs as I think it's really key to understanding the language...
TheWhip has joined #ruby
<adaedra>
If you stop liking languages when you encounter "bugs", you're not going to program much.
<adaedra>
Otherwise, if you have a problem, we need a good description of the problem (code, error message, expected/actual output)
KaliLinuxGR has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
<ruby-newby123>
So, if you try this game at https://repl.it/CfZu/156 - choose, a name, choose the AXE, CROSS the drawbridge, then ATTACK the troll, you will see it it uses the talks about swinging the PLACEHOLDER at the troll. but then if you type "player" you can see the weapon selection took
ramfjord has quit [Ping timeout: 240 seconds]
tlarevo has quit [Ping timeout: 244 seconds]
yoongkang has joined #ruby
<ruby-newby123>
now, I suspect this is down to ruby's "pass values by values which are references" thing which I thought I understood. Different variables, same object. So I instanciate the player with placeholder, then pass it to game, which then modifies it but I cannot understand why it reverts back to the original 2placeholder" value
TheWhip has quit [Ping timeout: 260 seconds]
TheWhip has joined #ruby
<ruby-newby123>
adaedra: I'm kidding, just being hyperbolic. Going through the slow process of completely new paradigms isn't fun for me until I understand them is all :)
ramfjord has joined #ruby
<adaedra>
there would be no fun if everything went working the first time
JeanCarloMachado has quit [Remote host closed the connection]
<adaedra>
sorry, can't look right now, eval.in is broken for me and I've to commute, but maybe someone else can look
<adaedra>
err, repl.it
Torrone_ has quit [Ping timeout: 244 seconds]
<ruby-newby123>
But I thought I come out understanding it. Which was that ruby technically passes by value but what is passes is actually a reference to the same object. Yet my example appears to counter that
<ruby-newby123>
it's all very confusing
<adaedra>
Ruby always passes references to objects, yes
conta has quit [Ping timeout: 264 seconds]
yoongkang has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
weckl_ has joined #ruby
Rickmasta has joined #ruby
<ruby-newby123>
But it doesn't truly pass the reference, it passes a copy of the reference correct? I'm not sure if that means there's any practical differences beyond what happens internally
<ruby-newby123>
either way, my game seems to be passing the object as a value, I can't figure out why but would love to understand it better
Cohedrin has joined #ruby
madsa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Torrone_1 has quit [Read error: Connection reset by peer]
weckl__ has quit [Ping timeout: 260 seconds]
madsa has joined #ruby
tubuliferous has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Torrone_1 has joined #ruby
vuoto has quit [Remote host closed the connection]
Torrone_ has quit [Read error: Connection reset by peer]
vuoto has joined #ruby
SilverKey has quit [Quit: Halted.]
vuoto has quit [Remote host closed the connection]
last_staff has joined #ruby
<ruby-newby123>
well I'm heading home, if any kind soul who's brave enough to tackle that bug and could explain why it happens is out there, please ping my home machine Chris3y_RubyNewb
<ruby-newby123>
laters
ruby-newby123 has quit [Quit: Page closed]
SilverKey has joined #ruby
hutch34_ has joined #ruby
jaiks1 has joined #ruby
roshanavand__ has joined #ruby
weckl_ has quit [Quit: Leaving]
tubuliferous has quit [Ping timeout: 258 seconds]
Torrone_ has joined #ruby
mattwashere has joined #ruby
flying has joined #ruby
SilverKey has quit [Client Quit]
Torrone_1 has quit [Ping timeout: 258 seconds]
minotep has quit [Ping timeout: 260 seconds]
_djbkd has joined #ruby
polysics has quit []
tomchapin has joined #ruby
Dysp has joined #ruby
<Dysp>
Hi there, fellas!
<Dysp>
Using rubyXL gem and reading the documentation, it says: "It can also operate on StringIO objects, thus eliminating the need to save the xlsx file to disk. This capability comes in handy for web servers."
<Puck6633>
Chris3y_RubyNewb: I'm not sure if you edited it since then but this is what I got - http://i.imgur.com/4tbwHjE.png
rodfersou|lunch is now known as rodfersou
pawnbox has quit [Remote host closed the connection]
vuoto has joined #ruby
pawnbox has joined #ruby
aupadhye has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
craigp has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
rcvalle has joined #ruby
vuoto has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 250 seconds]
JeanCarloMachado has joined #ruby
karapetyan has joined #ruby
pmyjavec has joined #ruby
marxarelli has joined #ruby
shinnya has joined #ruby
Devalo has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
Es0teric has joined #ruby
karapetyan has quit [Remote host closed the connection]
rafadc has quit []
karapetyan has joined #ruby
freeman1337 has joined #ruby
blackmesa has joined #ruby
daivyk has joined #ruby
karapetyan has quit [Remote host closed the connection]
<freeman1337>
When working with ActiveRecord::Base, is there a way to remove the default table from the query. (i.e. Select * vs Select `table`.*
Devalo has quit [Ping timeout: 260 seconds]
huypn12 has joined #ruby
jaiks1 has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
symm- has quit [Ping timeout: 252 seconds]
SuperLag has joined #ruby
roshanavand__ has quit [Read error: Connection reset by peer]
roshanavand__ has joined #ruby
mostlybadfly has joined #ruby
yoongkang has joined #ruby
Torrone_ has quit [Ping timeout: 252 seconds]
Torrone_ has joined #ruby
Pupeno has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
guacamole has quit [Quit: leaving]
yoongkang has quit [Read error: Connection reset by peer]
yoongkang has joined #ruby
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djdarkbeat has joined #ruby
Torrone_ has quit [Ping timeout: 260 seconds]
Torrone has joined #ruby
skweek has joined #ruby
Dimik has joined #ruby
dunpeal has joined #ruby
ChiefAlexander has joined #ruby
huypn12 has quit [Quit: Konversation terminated!]
[_huypn12_] has joined #ruby
karapetyan has joined #ruby
dionysus69 has quit [Quit: dionysus69]
Torrone has quit [Read error: Connection reset by peer]
yoongkang has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
Torrone has joined #ruby
guacamole has joined #ruby
Moosashi has quit [Quit: Moosashi]
<Chris3y_RubyNewb>
Puck6633, that site is weird with versioning sometimes but yeah, in your screenshot, the problem is still apparent. So the weapon is "substantial axe" but it swings the "massive-axe" (which was the original value in there as a placeholder
yfeldblum has joined #ruby
dunpeal has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
roshanavand__ has quit [Read error: Connection reset by peer]
roshanavand__ has joined #ruby
Torrone_ has joined #ruby
Torrone has quit [Ping timeout: 244 seconds]
aupadhye has quit [Quit: Leaving]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdwrage has quit [Ping timeout: 250 seconds]
<drbrain>
Chris3y_RubyNewb: on line 171 you set player.weapon = "Massive-Axe"
sdwrage has joined #ruby
<Chris3y_RubyNewb>
yes
<Chris3y_RubyNewb>
but that object is then passed into methods that change that
<drbrain>
on line 234 you reference player.weapon
<drbrain>
On line 252 you start the game
<drbrain>
which calls choose_player_weapon on 79
<drbrain>
which sets player.weapon to "Substantial AXE" on line 125
<drbrain>
you have to do more tracking of where the source came from to make sure you won't accidentally change it for a second play-through
Allamann has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
roshanavand__ has quit [Read error: Connection reset by peer]
duncannz has joined #ruby
roshanavand__ has joined #ruby
eGGshke has quit [Quit: Leaving...]
Rickmasta has joined #ruby
Moosashi has joined #ruby
banisterfiend has joined #ruby
SuperLag has quit [Quit: leaving]
nando293921 has quit [Quit: Lost terminal]
SuperLag has joined #ruby
nando293921 has joined #ruby
<Chris3y_RubyNewb>
lol. I read your last sentence and though "oh, makes sense" and then I read it again, then again and again and now it's lost all meaning. Forgive my stupidity here: Could you elaborate?
<Chris3y_RubyNewb>
*thought
conta has joined #ruby
nanoz has joined #ruby
<drbrain>
sure
Moosashi has quit [Quit: Moosashi]
<drbrain>
for the bridge troll attack you know you need to show the player's chosen weapon
<drbrain>
that's going to be in player.weapon when you're ready to print it out
<drbrain>
and you know you can use sprintf to stick the weapon in the string in the right spot
<drbrain>
so you'll need to pass both the sprintf format string and the argument list to sprintf before printing
<drbrain>
you can set all that up on line 234 as-is
Xiti` has joined #ruby
<drbrain>
hint: you can "splat" an array of arguments into a method
<apeiros>
assert_raises ArgumentError (@instance.kincom(INVALID_FILE, OPTIONS)) would be assert_raises(ArgumentError((@instance.kincom(INVALID_FILE, OPTIONS)))
<Dysp>
I see. Okay! Understood.
duckpuppy has joined #ruby
SilverKey has quit [Client Quit]
yardenbar has joined #ruby
adl has joined #ruby
SilverKey has joined #ruby
dionysus69 has quit [Remote host closed the connection]
Derperperd has quit [Quit: Derperperd]
djbkd_ has quit [Remote host closed the connection]
_djbkd has joined #ruby
__void has quit [Ping timeout: 276 seconds]
Torrone has quit [Quit: This computer has gone to sleep]
nanoz has quit [Ping timeout: 265 seconds]
_djbkd has quit [Ping timeout: 244 seconds]
Derperperd has joined #ruby
ramfjord has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
bluOxigen has quit [Ping timeout: 244 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
bluOxigen has joined #ruby
solars has joined #ruby
binaryplease1 has joined #ruby
macsteps has quit [Remote host closed the connection]
Pupeno has joined #ruby
blackmesa has joined #ruby
binaryplease has quit [Ping timeout: 265 seconds]
fanantoxa has joined #ruby
xue has quit [Ping timeout: 244 seconds]
fanantoxa has quit [Read error: Connection reset by peer]
minotep has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
dionysus69 has joined #ruby
sagax has quit [Ping timeout: 260 seconds]
memorasus has joined #ruby
Pupeno has quit [Remote host closed the connection]
sid_fules has joined #ruby
vuoto has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
KCmetro has joined #ruby
duckpuppy has quit [Read error: Connection reset by peer]