\void has quit [Quit: So long, and thanks for all the fish.]
troys has quit [Quit: Bye]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x0f_ has quit [Ping timeout: 248 seconds]
x0f has joined #ruby
drbrain has joined #ruby
eb0t has joined #ruby
apparition has quit [Quit: Bye]
siery has joined #ruby
conta has quit [Quit: conta]
nicesignal has quit [Read error: Connection reset by peer]
nicesignal has joined #ruby
<siery>
Hey guys, I am in the situation where I use .foreach.with_index loop, but inside I do need to know how many times am I going to iterate, can I somehow get the total about of the iterations?
alfiemax has joined #ruby
<siery>
I mean, stright at the first iteration*
<baweaver>
siery: Can you show us some example code?
<baweaver>
And perhaps explain what task you're trying to solve?
<baweaver>
?gist
<ruby[bot]>
https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<baweaver>
That should work for posting whatever code.
conta has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<siery>
sure, you see I try to load an 2D map from file, and at the same time load Tiles objects with correct position. For that I wold need to know the size of the map, so I can calculate the correct offset
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
elphe has quit [Ping timeout: 268 seconds]
maryo has joined #ruby
maryo has quit [Ping timeout: 256 seconds]
elphe has joined #ruby
iNs has quit [Ping timeout: 255 seconds]
iNs has joined #ruby
mn3m has joined #ruby
chussenot has joined #ruby
nowhere_man has joined #ruby
gray_wolf has joined #ruby
ellcs has joined #ruby
zhangkaizhao has joined #ruby
postmodern has quit [Quit: Leaving]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
Blaguvest has joined #ruby
apeiros has joined #ruby
tty has joined #ruby
mn3m has quit [Quit: mn3m]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
sarna has quit [Quit: Connection closed for inactivity]
ferhaty has joined #ruby
chussenot has quit [Quit: chussenot]
ellcs has quit [Ping timeout: 265 seconds]
chussenot has joined #ruby
AJA4350 has joined #ruby
zhangkaizhao has quit [Quit: Konversation terminated!]
chussenot has quit [Quit: chussenot]
ferhaty has quit [Quit: ferhaty]
gray_wolf has quit [Quit: WeeChat 2.2]
ciro has joined #ruby
LACampbell has joined #ruby
LACampbell has left #ruby ["WeeChat 1.6"]
kapil___ has quit [Quit: Connection closed for inactivity]
bmurt has joined #ruby
chussenot has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
Mike11 has joined #ruby
alfiemax has joined #ruby
chussenot has quit [Quit: chussenot]
gigetoo has joined #ruby
InfinityFye has joined #ruby
lomex has joined #ruby
Puffball has joined #ruby
TJ- has quit [Quit: WeeChat 1.9.1]
biberu has quit []
bak1an has joined #ruby
wildermind has joined #ruby
thy0 has joined #ruby
AlHafoudh has quit [Ping timeout: 264 seconds]
asphyxia has quit [Ping timeout: 240 seconds]
foxxx0 has quit [Ping timeout: 264 seconds]
AlHafoudh has joined #ruby
foxxx0 has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has quit [Ping timeout: 256 seconds]
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
User458764 has joined #ruby
alfiemax has joined #ruby
ghormoon has quit [Ping timeout: 260 seconds]
AJA4351 has joined #ruby
maryo has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
elphe has joined #ruby
ghormoon has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
elphe has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maryo has quit [Ping timeout: 240 seconds]
chussenot has joined #ruby
Caerus has quit [Ping timeout: 264 seconds]
Mike11 has quit [Quit: Leaving.]
ciro has quit [Ping timeout: 240 seconds]
Zaab1t has joined #ruby
g- has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
bak1an has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has joined #ruby
AJA4351 has joined #ruby
gigetoo has quit [Read error: No route to host]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
gigetoo has joined #ruby
fmcgeough has joined #ruby
apparition has quit [Quit: Bye]
elphe has quit [Ping timeout: 264 seconds]
lomex has joined #ruby
chussenot has quit [Quit: chussenot]
elphe has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
elphe has quit [Ping timeout: 260 seconds]
nowhere_man has joined #ruby
elphe has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maryo has joined #ruby
ellcs has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Ping timeout: 260 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
qba73 has joined #ruby
elphe has joined #ruby
kapil___ has joined #ruby
elphe has quit [Ping timeout: 264 seconds]
fmcgeough has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
InfinityFye has quit [Ping timeout: 256 seconds]
biberu has joined #ruby
memo1 has quit [Ping timeout: 265 seconds]
bak1an has joined #ruby
Dbugger has joined #ruby
bak1an has quit [Read error: Connection reset by peer]
ciro has joined #ruby
bak1an has joined #ruby
amelliaa has joined #ruby
elphe has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thy0 has quit [Quit: TTFN]
thy0 has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
alfiemax has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
venmx has quit [Remote host closed the connection]
maryo has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
maryo has joined #ruby
AJA4351 has joined #ruby
Zaab1t has quit [Quit: Zaab1t]
AJA4350 has quit [Ping timeout: 264 seconds]
venmx has quit [Remote host closed the connection]
lomex has joined #ruby
snickers has joined #ruby
<maryo>
while starting the dashing service getting an error, some pointers would be appreciated https://dpaste.de/DsLE
AJA4351 has quit [Ping timeout: 256 seconds]
maryo has quit [Read error: Connection reset by peer]
bak1an has joined #ruby
Pisuke has joined #ruby
qba73 has quit []
MyMind has quit [Ping timeout: 244 seconds]
Emmanuel_Chanel has joined #ruby
giraffe has quit [Remote host closed the connection]
tpendragon has quit [Remote host closed the connection]
reber has quit [Remote host closed the connection]
AJA4350 has joined #ruby
tpendragon has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BTRE has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
desperek has joined #ruby
InfinityFye has joined #ruby
white_lilies has joined #ruby
\void has joined #ruby
white_lilies has quit [Ping timeout: 240 seconds]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
Zaab1t has joined #ruby
alfiemax has quit [Remote host closed the connection]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
alex`` has quit [Quit: WeeChat 2.2]
lightstalker has quit [Ping timeout: 240 seconds]
lightstalker has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
orbyt_ has joined #ruby
alfiemax has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
AJA4350 has quit [Ping timeout: 264 seconds]
krawchyk has joined #ruby
qolq has quit [Remote host closed the connection]
banisterfiend has joined #ruby
chussenot has joined #ruby
chouhoulis has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
dviola has joined #ruby
\void has joined #ruby
chouhoulis has quit [Remote host closed the connection]
InfinityFye has quit [Quit: Leaving]
maxvaillancourt1 has joined #ruby
amelliaa has quit [Quit: -]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has joined #ruby
nowhere_man has joined #ruby
siery has quit [Ping timeout: 256 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 256 seconds]
AJA4351 is now known as AJA4350
chussenot has quit [Quit: chussenot]
AJA4350 has quit [Ping timeout: 264 seconds]
nowhere_man has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
nowhere_man has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
alfiemax has quit [Remote host closed the connection]
AJA4350 has quit [Client Quit]
lunarkitty7 has quit [Ping timeout: 256 seconds]
Zaab1t has quit [Quit: Zaab1t]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
lunarkitty7 has joined #ruby
Dbugger has quit [Ping timeout: 265 seconds]
postmodern has joined #ruby
alfiemax has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
biberu has quit []
alex`` has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.2]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
ur5us has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
tdy has quit [Ping timeout: 256 seconds]
thy0 has quit [Quit: TTFN]
nowhere_man has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has quit [Ping timeout: 264 seconds]
lunarkitty7 has quit [Ping timeout: 265 seconds]
Blaguvest has quit [Quit: Leaving]
lightstalker has quit [Ping timeout: 240 seconds]
sameerynho has quit [Ping timeout: 256 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
lightstalker has joined #ruby
postmodern has quit [Quit: Leaving]
savolla has joined #ruby
ellcs has quit [Read error: Connection reset by peer]
<savolla>
I'm trying to learn ruby. The book that I follow said something about that great documentation RDoc. When I try to install that with gem I get this error.? "ERROR while executing gem ... (NoMethodError). undefined method 'reset' for RDoc::TopLevel:Class"
<savolla>
do you guys know something about this?
postmodern has joined #ruby
ellcs has joined #ruby
alex`` has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
white_lilies has joined #ruby
<havenwood>
savolla: I've not seen that one before. What version of Ruby?
<havenwood>
savolla: ruby -v
<havenwood>
savolla: Does it still happen if you update RubyGems?: gem update --system
clemens3_ has quit [Ping timeout: 240 seconds]
<havenwood>
savolla: How'd you install Ruby?
c0ncealed2 has quit [Remote host closed the connection]
c0ncealed2 has joined #ruby
krawchyk has quit [Quit: krawchyk]
<savolla>
sorry for late havenwood . ruby -v > "2.5.1p57". gem -v > "2.7.7" and gem update --system > latest version already installed.
<savolla>
I'm using manjaro-i3 and it was preinstalled
<havenwood>
savolla: Hrm, how odd. It looks like a few other people have seen similar errors but I'm not seeing a resolution that makes sense on first glance.
<savolla>
and also I don't have rvm command installed on my system
<savolla>
if it's important..
Freshnuts has joined #ruby
ellcs has quit [Ping timeout: 265 seconds]
<havenwood>
savolla: Do you have the ruby-docs package installed?
<savolla>
havenwood: I get that error when I try to install rdoc-data. I cant install anything with gem
<havenwood>
savolla: Can you install the ruby-docs package with pacman?
<savolla>
havenwood: umm lemme check
<havenwood>
savolla: sudo pacman -S ruby-docs
<savolla>
havenwood: OH YES!!
<havenwood>
savolla: :-D
<savolla>
I installed just rdoc. but what happens if I want to download a differnt gem? I'll get the same error agan
<savolla>
again*
<havenwood>
savolla: Try a different gem? Like?: gem install hola
mikecmpbll has quit [Quit: inabit. zz.]
<savolla>
btw thank you so much for wasting you time on my problem <3
<savolla>
havenwood: I thank you so much!! I now can install any gem package
<savolla>
that was only the problem with rdoc?
fmcgeough has joined #ruby
<havenwood>
savolla: happy to help. you're welcome. yup, just needed the docs package.
cagomez has joined #ruby
orbyt_ has joined #ruby
savolla has quit [Remote host closed the connection]