<Radar>
I would hope your colleagues would suggest an alternative rather than just dismissing it.
Cohedrin has quit [Ping timeout: 264 seconds]
jroess has joined #ruby
bairyn has joined #ruby
marr has quit [Remote host closed the connection]
JoshS has joined #ruby
NeoMalachi has quit [Ping timeout: 260 seconds]
cagomez has quit []
gusrub has joined #ruby
eb0t has quit [Quit: WeeChat 1.4]
herbmillerjr has joined #ruby
bronson has quit [Remote host closed the connection]
bataii has joined #ruby
rkellermeyer has joined #ruby
bataii has quit [Client Quit]
Puffball has joined #ruby
Jayson_Virissimo has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
amclain has quit [Quit: Leaving]
mim1k has joined #ruby
mjora7 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
GodFather_ has quit [Ping timeout: 240 seconds]
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
cdg has quit [Remote host closed the connection]
skade_ has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
tvw has quit [Remote host closed the connection]
brent__ has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
randomguy has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
skade_ has quit [Ping timeout: 240 seconds]
gusrub has quit [Remote host closed the connection]
Guest96 has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
bronson has joined #ruby
Guest96 has joined #ruby
antib has quit [Ping timeout: 240 seconds]
gusrub has joined #ruby
cschneid_ has joined #ruby
User458764 has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
destroy`` has quit [Ping timeout: 245 seconds]
Cohedri__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
d^sh has quit [Ping timeout: 260 seconds]
TreyG has quit [Ping timeout: 268 seconds]
Mia has quit [Read error: Connection reset by peer]
TreyG has joined #ruby
d^sh has joined #ruby
oleo has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
patr0clus has quit [Read error: Connection reset by peer]
patr0clus has joined #ruby
bronson has quit [Remote host closed the connection]
TreyG has quit [Ping timeout: 268 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
marxarelli is now known as marxarelli|afk
Jayson_Virissimo has quit []
Bock has joined #ruby
Bock has quit [Max SendQ exceeded]
Bock has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
patr0clus has quit [Quit: WeeChat 1.4]
bataii has joined #ruby
bataii has quit [Client Quit]
c_nick has joined #ruby
<c_nick>
Hi .. I used Ruby 2.3.3 and installed the sqlite3 gem, the gem gets installed but it fails for sqlite3_adapter, i have downloaded the libsqlite3.dll from sqlite3 website and copied it in the C:\WIndows directory. When i try with Ruby 2.0 everything works fine. Even Ruby 2.2.6 does not work
jcao219 has quit [Ping timeout: 260 seconds]
<c_nick>
Note: This is on WIndows'
gusrub has quit []
Lucky_ABA has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
VladGh_ has joined #ruby
VladGh has quit [Read error: Connection reset by peer]
t-recx has quit [Quit: t-recx]
brent__ has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
skade_ has joined #ruby
Pumukel has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Quit: Lost terminal]
jenrzzz has joined #ruby
skade_ has quit [Ping timeout: 264 seconds]
Guest96 has quit [Remote host closed the connection]
Azure|dc is now known as Azure
banisterfiend has joined #ruby
gizmore has joined #ruby
Guest96 has joined #ruby
patarr has joined #ruby
cschneid_ has joined #ruby
gizmore|2 has quit [Ping timeout: 240 seconds]
<banisterfiend>
anone here familiar with oauth 1.0 ?
jcao219 has joined #ruby
codefromhell has quit [Ping timeout: 260 seconds]
jroess has quit [Remote host closed the connection]
libastral has joined #ruby
rkellermeyer has quit [Ping timeout: 240 seconds]
y2mq37 has joined #ruby
iliketurtles has joined #ruby
enterprisey has joined #ruby
Channel6 has joined #ruby
jameser has joined #ruby
grymmjack has quit [Quit: Going offline, see ya! (www.adiirc.com)]
skweek has joined #ruby
genpaku has quit [Remote host closed the connection]
bronson has joined #ruby
genpaku has joined #ruby
patarr has quit [Ping timeout: 268 seconds]
bronson has quit [Ping timeout: 240 seconds]
enterprisey has quit [Quit: Leaving]
haylon has quit [Quit: haylon]
__Yiota has joined #ruby
TreyG has joined #ruby
__Yiota has quit [Client Quit]
mim1k has joined #ruby
bataii has joined #ruby
juiko has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
JeanCarloMachado has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
skade_ has joined #ruby
__Yiota has joined #ruby
TreyG has quit [Ping timeout: 240 seconds]
gaucheph has quit [Quit: Zzzz...]
skade_ has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
skweek has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
destroy`` has joined #ruby
Puffball has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
Puffball has joined #ruby
JeanCarloMachado has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
__Yiota has quit [Client Quit]
c_nick has quit [Quit: ciaos]
xall has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
Silthias has joined #ruby
bronson has joined #ruby
Silthias1 has quit [Ping timeout: 268 seconds]
skweek has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
Silthias has quit [Ping timeout: 268 seconds]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
jhack_ has quit [Quit: Leaving]
QpQ4__ has joined #ruby
Silthias has joined #ruby
patarr has joined #ruby
mim1k has joined #ruby
Pumukel has joined #ruby
TreyG has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
patarr has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
skade_ has joined #ruby
perniciouscaffei has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
skade_ has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
JeanCarloMachado has joined #ruby
sp4rrow has joined #ruby
sp4rrow has quit [Client Quit]
sp4rrow has joined #ruby
destroy`` has quit [Ping timeout: 245 seconds]
gix has quit [Ping timeout: 240 seconds]
tohuw has joined #ruby
tohuw has joined #ruby
tohuw has quit [Changing host]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
bataii has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
gix has joined #ruby
JeanCarloMachado has joined #ruby
drcode has quit [Ping timeout: 260 seconds]
rkazak has joined #ruby
patarr has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
JeanCarloMachado has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
Jayson_Virissimo has joined #ruby
drcode has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
eljimbo has joined #ruby
wheatand has quit [Quit: Leaving.]
Ellimist has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
conta has quit [Read error: Connection reset by peer]
conta has joined #ruby
y2mq37 has quit [Read error: Connection reset by peer]
y2mq37 has joined #ruby
Channel6 has quit [Quit: Leaving]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
enterprisey has joined #ruby
Ellimist has joined #ruby
Guest96 has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
Ellimist has quit [Remote host closed the connection]
Guest96 has joined #ruby
juiko has quit [Remote host closed the connection]
skade_ has joined #ruby
QpQ4__ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
QpQ4 has joined #ruby
mniip has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
JeanCarloMachado has quit [Ping timeout: 264 seconds]
skade_ has quit [Ping timeout: 264 seconds]
bronson has quit [Remote host closed the connection]
Jayson_Virissimo has quit []
JeanCarloMachado has joined #ruby
skade_ has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
omarek has joined #ruby
skade_ has quit [Ping timeout: 246 seconds]
Silthias1 has joined #ruby
JeanCarloMachado has joined #ruby
charliesome has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
charliesome has quit [Client Quit]
enterprisey has quit [Remote host closed the connection]
nesoi has joined #ruby
<nesoi>
hello, how do I install a local gem file in ruby (on windows if that matters)?
<nesoi>
it's actually an update to an existing gem file that I have installed
<baweaver>
What have you tried?
JeanCarloMachado has quit [Ping timeout: 240 seconds]
<nesoi>
gem install —local ./gemname
Silthias1 has quit [Ping timeout: 240 seconds]
<nesoi>
while in the root directory of the gem
<baweaver>
and that didn't work?
<nesoi>
ERROR: Could not find a valid gem './gem-name' (>=0) in any repository
<baweaver>
look at that error
<baweaver>
those are two different names
<nesoi>
I am not a ruby guy so it isn't informative to me
<nesoi>
sorry
<baweaver>
gemname vs gem-name
<nesoi>
I mistyped
<baweaver>
gotcha
<nesoi>
it was gem-name in both cases
<baweaver>
making sure
<baweaver>
gem install --user-install gem_name
<nesoi>
not gem-name.gemspec right?
<baweaver>
have you built it at all?
<baweaver>
gem build gemspec
<baweaver>
gem install name-0.0.1.gem
<nesoi>
I got it from a repo that has it built already
<nesoi>
so there is a .gemspec file there
<baweaver>
gem != gemspec
<nesoi>
it's a directory with subdirectories bin lib and spec
<baweaver>
?
<nesoi>
gem install seems to be searching the internet not looking locally
<nesoi>
it came back with alternatives from other repos
<KrzaQ>
too bad such a common name is restricted like that
blackmesa has joined #ruby
jcao219 has joined #ruby
<herwin>
JustJosh: `make` creates an executable that you can use without installing, so something like `make && bin/ruby -I lib/whatever test/test.rb`
<herwin>
not sure about the paths
postmodern has quit [Quit: Leaving]
rkellermeyer has joined #ruby
<JustJosh>
Thanks, herwin
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
tweezer has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rkellermeyer has quit [Ping timeout: 268 seconds]
Silthias has joined #ruby
tweezer has quit [Client Quit]
jameser has joined #ruby
skweek has joined #ruby
<herwin>
there might be smarter solutions, but this works and i haven't spent enough time in the mri-source to be bothered by it
jeyraof^mbpr has quit [Quit: Leaving]
<JustJosh>
I'll probably just alias what you sent me and stick with that for now.
bronson has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bweston92 has joined #ruby
ddffg has joined #ruby
mikecmpbll has joined #ruby
Silthias has quit [Ping timeout: 268 seconds]
bronson has quit [Ping timeout: 258 seconds]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
guardianJ has joined #ruby
JeanCarloMachado has joined #ruby
Dimik has quit [Ping timeout: 264 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
perniciouscaffei has joined #ruby
skade_ has joined #ruby
jameser has joined #ruby
TreyG has quit [Ping timeout: 240 seconds]
Silthias has joined #ruby
JeanCarloMachado has quit [Ping timeout: 268 seconds]
JeanCarloMachado has joined #ruby
jsrn_ has joined #ruby
TreyG has joined #ruby
flying has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Silthias has quit [Ping timeout: 268 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Silthias has joined #ruby
jaruga has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
mjora7 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
arch___ has joined #ruby
arch___ has quit [Excess Flood]
arch___ has joined #ruby
arch___ has quit [Excess Flood]
tomphp has joined #ruby
jameser has joined #ruby
arch___ has joined #ruby
interki has quit [Ping timeout: 264 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
TreyG has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
vali has quit [Remote host closed the connection]
vali has joined #ruby
Mia has joined #ruby
BTRE has quit [Quit: Leaving]
tomphp has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
nadir has joined #ruby
xenops has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aep has quit [Ping timeout: 240 seconds]
jcao219 has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
jcao219 has joined #ruby
Burgestrand has joined #ruby
aufi has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
marr has joined #ruby
JeanCarloMachado has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
Pumukel has quit [Read error: No route to host]
User458764 has joined #ruby
cgfbee has joined #ruby
Pumukel has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
grh has quit [Remote host closed the connection]
lxsameer has joined #ruby
aupadhye has joined #ruby
Guest96 has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Guest96 has joined #ruby
jgnagy has joined #ruby
Burgestrand has quit [Quit: Good bye and have a nice day!]
jgnagy has quit [Ping timeout: 240 seconds]
esObe_ has joined #ruby
pandaant has joined #ruby
rory has joined #ruby
patarr has joined #ruby
anisha has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 246 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 268 seconds]
jameser has joined #ruby
kegster has quit [Ping timeout: 260 seconds]
rory has left #ruby [#ruby]
kegster has joined #ruby
scrooloose has quit [Quit: WeeChat 1.4]
scrooloose has joined #ruby
hs366 has joined #ruby
antib has joined #ruby
quobo has joined #ruby
mim1k has joined #ruby
hs366 has quit [Client Quit]
<al2o3-cr>
why? #<RuntimeError: implicit argument passing of super from method defined by define_method() is not supported. Specify all arguments explicitly.>
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
omarek has joined #ruby
__Yiota has joined #ruby
minimalism has quit [Quit: minimalism]
Pip_ has joined #ruby
rkellermeyer has joined #ruby
scrooloose has quit [Quit: WeeChat 1.4]
scrooloose has joined #ruby
nertzy2 has quit [Ping timeout: 268 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nertzy2 has joined #ruby
randomguy has joined #ruby
stoffus has quit [Quit: leaving]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Read error: Connection reset by peer]
minimalism has joined #ruby
linetrac1 has joined #ruby
helpa-bot has joined #ruby
DeeJayh_ has quit [Ping timeout: 240 seconds]
arch____ has joined #ruby
jsrn__ has joined #ruby
Pisuke has joined #ruby
Mia has joined #ruby
Pip_ has quit [Ping timeout: 240 seconds]
dn`_ has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa-bot has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa-bot has joined #ruby
genpaku_ has joined #ruby
krandi has joined #ruby
omarek has quit [Ping timeout: 264 seconds]
helpa-bot has quit [Remote host closed the connection]
helpa-bot has joined #ruby
helpa-bot has quit [Remote host closed the connection]
mlehrer_ has joined #ruby
helpa-bot has joined #ruby
jgnagy has joined #ruby
sepp2k has quit [*.net *.split]
ldnunes has quit [*.net *.split]
mortimer has quit [*.net *.split]
helpa has quit [*.net *.split]
dn` has quit [*.net *.split]
Axy has quit [*.net *.split]
d^sh has quit [*.net *.split]
aupadhye has quit [*.net *.split]
arch___ has quit [*.net *.split]
jsrn_ has quit [*.net *.split]
bweston92 has quit [*.net *.split]
andikr has quit [*.net *.split]
mark_66 has quit [*.net *.split]
mniip has quit [*.net *.split]
genpaku has quit [*.net *.split]
iliketurtles has quit [*.net *.split]
Lucky_ABA has quit [*.net *.split]
sparr has quit [*.net *.split]
MyMind has quit [*.net *.split]
al2o3-cr has quit [*.net *.split]
coredump has quit [*.net *.split]
guidos has quit [*.net *.split]
mattwc has quit [*.net *.split]
linetrace has quit [*.net *.split]
toretore has quit [*.net *.split]
mlehrer has quit [*.net *.split]
silverdust has quit [*.net *.split]
genpaku_ is now known as genpaku
dn`_ is now known as dn`
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
ramortegui has joined #ruby
d^sh has joined #ruby
bweston92 has joined #ruby
jameser has joined #ruby
guardianJ has joined #ruby
mim1k has joined #ruby
Pumukel has joined #ruby
synthroid has joined #ruby
Pip has joined #ruby
jgnagy has quit [Ping timeout: 240 seconds]
Pip has quit [Client Quit]
synthroi_ has quit [Ping timeout: 240 seconds]
minimalism has quit [Quit: minimalism]
dionysus69 has quit [Ping timeout: 268 seconds]
ldnunes has joined #ruby
mortimer has joined #ruby
aupadhye has joined #ruby
toretore has joined #ruby
al2o3-cr has joined #ruby
sepp2k has joined #ruby
mark_66 has joined #ruby
last_staff has quit [Quit: last_staff]
skweek has quit [Ping timeout: 264 seconds]
minimalism has joined #ruby
mattwc has joined #ruby
silverdust has joined #ruby
guidos has joined #ruby
coredump has joined #ruby
sparr has joined #ruby
sparr has quit [Max SendQ exceeded]
gaucheph has joined #ruby
sparr has joined #ruby
LufyCZ has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
minimalism has quit [Client Quit]
JeanCarloMachado has joined #ruby
<LufyCZ>
Hi, Im a beginner, and I would want to ask, how could you tell if a variable is something, and then do something. If the variable is not the something proceed further. WIth this I mean: x = asd (would be gets) if x = asd, do something, if x = dsa, do something else. How could you accomplish this ?
<guardianJ>
if-else statements
minimalism has joined #ruby
<LufyCZ>
Could you please write a line of code for me ?
choke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drcode has joined #ruby
<LufyCZ>
Hi, how can I replace a string, that was put in by the user by a number ? In particular: symbol = + , but I need to make a number out of it so that + = 1. Thanks
rgr_ has joined #ruby
rgr has quit [Ping timeout: 240 seconds]
|RicharD| has joined #ruby
cfec0b8d has quit [Remote host closed the connection]
<mortimer>
LufyCZ: You mean something like calculator from user input?
<LufyCZ>
#mortimer: Exactly
<mortimer>
I put in console: 5 + 2, and get 7 in return?
<mortimer>
Do You want it to work with complex expression, or only "number *operation* number" ?
<LufyCZ>
I want the calculator to be able to do - + * and /
ResidentBiscuit has joined #ruby
<mortimer>
First case is somehow best to write with *eval*
<mortimer>
Second case is better to write with something like this:https://paste.ofcode.org/SRErQj8Ts396TZkyrhqLXY
bungoman_ has quit [Ping timeout: 258 seconds]
krandi has quit [Remote host closed the connection]
__Yiota has quit [Ping timeout: 260 seconds]
Alina-malina has joined #ruby
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SteenJobs has quit [Quit: SteenJobs]
al2o3-cr has quit [Read error: Connection reset by peer]
Silthias has quit [Quit: Leaving.]
axyjo has joined #ruby
kirun has joined #ruby
hutch34 has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
SteenJobs has joined #ruby
Silthias has joined #ruby
greenhat has quit [Ping timeout: 260 seconds]
SteenJobs has quit [Client Quit]
d10n-work has joined #ruby
ldnunes has quit [Quit: Leaving]
scrooloose has quit [Quit: WeeChat 1.4]
axyjo has quit [Ping timeout: 268 seconds]
TomyLobo2 has joined #ruby
scrooloose has joined #ruby
scrooloose has quit [Client Quit]
scrooloose has joined #ruby
scrooloose has quit [Client Quit]
scrooloose has joined #ruby
SteenJobs has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scrooloose has quit [Client Quit]
scrooloose has joined #ruby
al2o3-cr has joined #ruby
kegster has quit [Ping timeout: 240 seconds]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apparition has joined #ruby
bronson has joined #ruby
erz has joined #ruby
brendan- has quit [Read error: Connection reset by peer]
destroy`` has quit [Ping timeout: 245 seconds]
synthroid has quit [Remote host closed the connection]
itarato has joined #ruby
jusa has joined #ruby
skade_ has joined #ruby
haylon has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ozcanesen has joined #ruby
gaucheph has quit [Quit: Zzzz...]
kegster has joined #ruby
Silthias has quit [Ping timeout: 258 seconds]
alif_bae has joined #ruby
Silthias has joined #ruby
flying has quit []
alif has quit [Ping timeout: 240 seconds]
alif has joined #ruby
alif_bae has quit [Ping timeout: 260 seconds]
brent__ has joined #ruby
LukyCZ has quit [Quit: Connection closed for inactivity]
<erz>
what is ruby anyway?
apparition has joined #ruby
<ytti>
A ruby is a pink to blood-red colored gemstone, a variety of the mineral corundum (aluminium oxide).
cschneid_ has joined #ruby
<ytti>
HTH
<havenwood>
erz: It's a programming language.
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
gaucheph has joined #ruby
<ytti>
hmm, i can turn my pepsi cans to ruby by exposing them to oxygen?
<ytti>
game changer
_sfiguser has quit [Ping timeout: 240 seconds]
<erz>
oh, thanks - seems there is some life here. the pepsi is cool :)
mark_66 has quit [Remote host closed the connection]
HoierM has quit [Ping timeout: 255 seconds]
DeeJayh_ has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
LastWhisper____ has joined #ruby
synthroid has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
bronson has quit [Remote host closed the connection]
eljimbo has joined #ruby
KCmetro has joined #ruby
DeeJayh_ is now known as DeeJayh-L
[Butch] has joined #ruby
omarek has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
_sfiguser has joined #ruby
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
jphase_ has quit []
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
GodFather has joined #ruby
HoierM has joined #ruby
babblebre has joined #ruby
mim1k has joined #ruby
HoierM has quit [Max SendQ exceeded]
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
apparition has joined #ruby
apparition has quit [Client Quit]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
gaucheph has quit [Quit: Zzzz...]
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
gusrub has joined #ruby
HoierM has quit [Max SendQ exceeded]
jphase has joined #ruby
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
polishdub has joined #ruby
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
Guest96_ has quit [Remote host closed the connection]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
amclain has joined #ruby
HoierM has joined #ruby
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
HoierM has quit [Max SendQ exceeded]
Guest96 has joined #ruby
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
gaucheph has joined #ruby
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
gaucheph has quit [Client Quit]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
eindoofus has joined #ruby
tomphp has joined #ruby
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
Silthias1 has joined #ruby
HoierM has quit [Max SendQ exceeded]
BTRE has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
gusrub has quit [Remote host closed the connection]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
gusrub has joined #ruby
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
perniciouscaffei has joined #ruby
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
__Yiota has joined #ruby
gusrub has quit [Ping timeout: 240 seconds]
jusa has quit [Ping timeout: 240 seconds]
jsrn__ has quit [Quit: Leaving]
SteenJobs has quit [Quit: SteenJobs]
mim1k has quit [Read error: Connection reset by peer]
mniip has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dimik has joined #ruby
nitric has joined #ruby
tomphp has joined #ruby
JoshS has joined #ruby
juggler has joined #ruby
tomphp has quit [Client Quit]
kirun_ has joined #ruby
SteenJobs has joined #ruby
DeeJayh-L has quit [Quit: Leaving]
DeeJayh_ has joined #ruby
DeeJayh_ is now known as DeeJayh-L
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kirun has quit [Ping timeout: 268 seconds]
synthroi_ has joined #ruby
tomphp has joined #ruby
gusrub has joined #ruby
esObe_ has joined #ruby
synthroid has quit [Ping timeout: 268 seconds]
DeeJayh-L_ has joined #ruby
DeeJayh-L_ has quit [Client Quit]
DeeJayh-L has quit [Quit: Leaving]
DeeJayh-L has joined #ruby
DeeJayh-L has quit [Client Quit]
DeeJayh-L has joined #ruby
esObe_ has quit [Ping timeout: 240 seconds]
jphase_ has joined #ruby
TomyLobo2 has quit [Ping timeout: 260 seconds]
minimalism has quit [Quit: minimalism]
TomyLobo2 has joined #ruby
jphase has quit [Ping timeout: 260 seconds]
ferr has quit [Quit: WeeChat 1.7]
cschneid_ has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
erz has quit [Quit: Konversation terminated!]
blackmesa has joined #ruby
starmix has quit [Quit: WeeChat 1.7.1]
rkazak has quit [Quit: Sleep.....ing....]
guardianJ has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 264 seconds]
bungoman has joined #ruby
Silthias1 has quit [Ping timeout: 260 seconds]
petruff1 has quit [Quit: WeeChat 1.7.1]
lxsameer has quit [Quit: WeeChat 1.7]
Silthias has joined #ruby
petruff has joined #ruby
__Yiota has quit [Ping timeout: 260 seconds]
TreyG has quit [Ping timeout: 260 seconds]
petruff has quit [Ping timeout: 240 seconds]
<haylon>
Has anyone used the Mechanize gem? I have some questions about it.
TreyG has joined #ruby
<havenwood>
haylon: Ask away! Lot of folk here have used it and some might know the answer.
kies^ has quit [Ping timeout: 240 seconds]
<haylon>
I'm trying to convert this Python script that uses its flavor of Mechanize to the Ruby flavor. I see it setting some settings like #set_cookiejar(), #set_handle_equiv() and some other parts, but I didn't see those in the docs, or initalize method for the class, otherwise I'm not looking for the correct words.
jusa has joined #ruby
petruff has joined #ruby
jgnagy has joined #ruby
__Yiota has joined #ruby
esObe_ has joined #ruby
jgnagy has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
TreyG has quit [Ping timeout: 255 seconds]
duderonomy has quit [Ping timeout: 255 seconds]
bitcycle has joined #ruby
jrafanie has joined #ruby
mostlybadfly has joined #ruby
dlitvak has joined #ruby
hutch34 has joined #ruby
gusrub has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
Silthias has left #ruby [#ruby]
eindoofus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nickjj_ is now known as nickjj
gusrub has joined #ruby
User458764 has joined #ruby
kirun has joined #ruby
Mon_Ouie has joined #ruby
kirun_ has quit [Ping timeout: 246 seconds]
kies^ has joined #ruby
TomyLobo has joined #ruby
buzz0763 has quit [Ping timeout: 258 seconds]
grymmjack has joined #ruby
gusrub has quit [Remote host closed the connection]
conta5 has joined #ruby
tomphp has quit [Ping timeout: 268 seconds]
millerti has quit [Ping timeout: 268 seconds]
omarek has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
conta5 is now known as conta2
makerops has joined #ruby
<makerops>
how do I change application/xm in rest-client?
xall_ has joined #ruby
<makerops>
I tried content_type, accept, default_headers, but it keeps sending application/xml
bronson has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has joined #ruby
<haylon>
you might have to manually set the header. I think there's an option to set manual headers, and just put in Content-Type: application/xml
gusrub has quit [Remote host closed the connection]
aupadhye has quit [Ping timeout: 245 seconds]
u0_a170 has joined #ruby
bitcycle has quit [Quit: WeeChat 1.7]
mikecmpbll has joined #ruby
brendan- has joined #ruby
synthroid has joined #ruby
eindoofus has joined #ruby
synthroi_ has quit [Ping timeout: 246 seconds]
xall_ has quit [Ping timeout: 255 seconds]
alif has quit [Ping timeout: 264 seconds]
tomphp has quit [Ping timeout: 255 seconds]
SeepingN has joined #ruby
<makerops>
yeah, I tried overriding it in the headers, but I think the default acccfept is getting precedence when apache processes the request
<makerops>
im on rest-client 2.0.2
mikecmpbll has quit [Read error: Connection reset by peer]
nofxx has quit [Ping timeout: 260 seconds]
alif has joined #ruby
tomphp has joined #ruby
mikecmpbll has joined #ruby
gusrub has joined #ruby
<LufyCZ>
How can I tell the program, that when the user inputs "twelwe" it means 12 ?
cdg has joined #ruby
SteenJobs has quit [Quit: peaceee]
cschneid_ has joined #ruby
Pumukel has quit [Remote host closed the connection]
ahrs has quit [Remote host closed the connection]
dhollinger has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gusrub has quit [Remote host closed the connection]
dhollinger has joined #ruby
gusrub has joined #ruby
chee has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
conta2 has quit [Remote host closed the connection]
<KeyJoo>
LufyCZ: use var, & block if
synthroi_ has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<LufyCZ>
KeyJoo: Uh, I didnt understand almost anything of that.
TomyLobo has quit [Read error: Connection reset by peer]
hobodave_ has joined #ruby
synthroi_ has quit [Remote host closed the connection]
hobodave has quit [Ping timeout: 258 seconds]
hutch34 has joined #ruby
toretore has quit [Ping timeout: 268 seconds]
itarato has joined #ruby
romank has quit [Read error: Connection reset by peer]
tomphp has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
DeeJayh has joined #ruby
romank has joined #ruby
romank has quit [Read error: Connection reset by peer]
kies^ has joined #ruby
romank has joined #ruby
jcao219 has joined #ruby
romank has quit [Client Quit]
nobodyzxc has joined #ruby
synthroid has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
nobodyzxc has quit [Quit: leaving]
oleo has quit [Quit: irc client terminated!]
toretore has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
rkazak has quit [Quit: Sleep.....ing....]
bronson has joined #ruby
nankyokusei has joined #ruby
ruby-lang590 has joined #ruby
ptx0 has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
ruby-lang590 has quit [Client Quit]
duderonomy has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
eljimbo has joined #ruby
oleo has joined #ruby
eindoofus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
KCmetro has quit [Quit: Leaving...]
Lucky_ABA has joined #ruby
JeanCarloMachado has joined #ruby
jusa has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
__Yiota has joined #ruby
foli has joined #ruby
yqt has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
oleo has quit [Quit: irc client terminated!]
patr0clus has quit [Read error: Connection reset by peer]
synthroid has quit []
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
patr0clus has joined #ruby
rkazak has joined #ruby
nankyokusei has quit [Remote host closed the connection]
omarek has joined #ruby
omarek has left #ruby [#ruby]
jcao219 has joined #ruby
amperry has joined #ruby
AndrewIsHere has quit []
itarato has quit [Ping timeout: 240 seconds]
<amperry>
hi folks, can someone point me in the direction of a quick primer on 'nokogiri'? I'm trying to rewrite some files that all have an '<h2>' element surrounded by two '<br>' elements.
cschneid_ has quit [Remote host closed the connection]
<DeeJayh>
The number is constantly puts'd after 0, instead of only when it changes
<DeeJayh>
Basically I'm trying to get the output to 1;2;3 instead of 1111111111111111;222222222222222222;3333333333333
antgel has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
DeeJayh: Just for future reference, if you name your gist with a .rb extension it'll do nice syntax highlighting and make it easier for us to clone and try.
<DeeJayh>
excellent and duely noticed
silverdust has joined #ruby
<DeeJayh>
havenwood, updated wit rb ext
silverdust is now known as Guest78044
mim1k has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 245 seconds]
postmodern has joined #ruby
bbr has joined #ruby
ptx0 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Klumben has quit [Ping timeout: 245 seconds]
HoierM has joined #ruby
rkellermeyer has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
<DeeJayh>
logically it should be calling as fast as the processor can handle, and as a float, but each iteration it should store the current number of elapsed seconds as an integer (thus cutting off the float and leaving a whole number)
alem0lars has quit [Ping timeout: 260 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
<DeeJayh>
so change = 0, eventually elapsed will equal 1, so puts elapsed and save change as 1
<DeeJayh>
now that change is 1 and elapsed continues to be 1, they shouldn't puts again until elapsed becomes 2
oleo has quit [Quit: irc client terminated!]
__Yiota has quit [Ping timeout: 240 seconds]
<havenwood>
DeeJayh: I'd suggest first rewriting your ternary operator as an if statement or case statement.
rkellermeyer has quit [Ping timeout: 240 seconds]
<havenwood>
DeeJayh: Note the `else` doesn't happen if the `if` does.
Klumben has joined #ruby
<havenwood>
Same with case statements.
<DeeJayh>
@havenwood, why does no one in any language like single line if statements? I just got told the same thing for a similar style in python. They work just as well and end in less line of code. Is it a readability issue, or are you saying I'm missing a logical error and might notice it better if I wrote it out instead of one lining it?
<havenwood>
And ternary. I don't think the ternary is working the way it was imagined.
<havenwood>
DeeJayh: I think you're missing logical errors because of it.
<matherr>
But I don't use that in my code. It should still convert into octal?
<matherr>
just because of the single 0
<Zarthus>
It looks like the default is octal when you start with a 0
<Zarthus>
Why are you prefixing it with a 0?
<matherr>
I see. Thank you
mim1k has joined #ruby
<matherr>
I was trying to experiment with different numbers and noticed that behaviour, and how it only happened with 3 digit numbers
<Zarthus>
You can use 0d0023 to properly write your numbers
<matherr>
Thank you
<matherr>
Have a great day
<Zarthus>
You too :)
yqt has quit [Ping timeout: 240 seconds]
oleo has quit [Ping timeout: 260 seconds]
NightMonkey has joined #ruby
__Yiota has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
<matherr>
:)
matherr has quit [Quit: Page closed]
mim1k has quit [Ping timeout: 260 seconds]
PaulCapestany has quit [Ping timeout: 260 seconds]
PaulCapestany has joined #ruby
DLSteve has joined #ruby
Jayson_Virissimo has quit []
<DeeJayh>
@havenwood, I just ended up needing some kind of noop, my logic was fine, but it was doing what I thought it was and taking line 9 as the ending of line 8, so now I have: