havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.0, 2.6.5, 2.5.7: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
emilford has quit [Quit: leaving]
emilford has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
sleepster has quit [Remote host closed the connection]
<apotheon> I just noticed that rbenv seems to have dropped support for fish completions somewhere along the way.
elphe has joined #ruby
schne1der has quit [Ping timeout: 258 seconds]
pyrmont has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
elphe has quit [Ping timeout: 255 seconds]
TCZ has quit [Quit: Leaving]
<havenwood> apotheon: Heh, that reminds me I rewrote the guts line of the Fish port of chruby. That's probably the last Fish I wrote.
pyrmont has joined #ruby
StoneCypherWork has quit [Ping timeout: 260 seconds]
splud_wurk has quit [Ping timeout: 255 seconds]
davidw has quit [Ping timeout: 240 seconds]
emilford_ has joined #ruby
tris has joined #ruby
emilford_ has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 240 seconds]
emilford_ has joined #ruby
i9zO5AP has quit [Quit: WeeChat 2.7]
emilford_ has quit [Client Quit]
emilford_ has joined #ruby
wildtrees has quit [Quit: Leaving]
davidw has joined #ruby
astronautical has quit [Ping timeout: 272 seconds]
StoneCypherWork has joined #ruby
code_zombie has joined #ruby
TCZ has joined #ruby
StoneCypherWork has quit [Ping timeout: 240 seconds]
emilford_ has quit [Quit: WeeChat 2.7.1]
emilford_ has joined #ruby
Xiti` has joined #ruby
hax has joined #ruby
jenrzzz has joined #ruby
Xiti` has quit [Read error: Connection reset by peer]
hax has quit [Client Quit]
Xiti has quit [Ping timeout: 240 seconds]
hax has joined #ruby
emilford_ has quit [Client Quit]
hutch has quit [Quit: WeeChat 2.7.1]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ianbrown78 has joined #ruby
elphe has joined #ruby
ianbrown78 has quit [Ping timeout: 240 seconds]
gix has quit [Ping timeout: 265 seconds]
elphe has quit [Ping timeout: 255 seconds]
code_zombie has quit [Quit: Leaving]
bsdbandit-01 has quit [Ping timeout: 255 seconds]
bsdband71 has joined #ruby
StoneCypherWork has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
StoneCypherWork has quit [Ping timeout: 255 seconds]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
dviola has joined #ruby
cthulchu_ has quit [Ping timeout: 240 seconds]
Esa_ has quit []
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
bsdband71 has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
kapil_ has joined #ruby
davidw has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Leaving]
cliluw has quit [Ping timeout: 240 seconds]
lightstalker has joined #ruby
StoneCypherWork has joined #ruby
elphe has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
StoneCypherWork has quit [Ping timeout: 265 seconds]
imadper` has quit [Changing host]
imadper` has joined #ruby
bambanx has quit [Quit: Leaving]
drincruz has joined #ruby
mre_ has joined #ruby
meinside has joined #ruby
cthulchu has joined #ruby
imadper` is now known as imadper
dviola has quit [Quit: WeeChat 2.7.1]
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
ewanchic has joined #ruby
jenrzzz has joined #ruby
drincruz has quit [Ping timeout: 258 seconds]
StoneCypherWork has joined #ruby
duderonomy has joined #ruby
ianbrown78 has joined #ruby
StoneCypherWork has quit [Ping timeout: 260 seconds]
ianbrown78 has quit [Ping timeout: 260 seconds]
Xiti has joined #ruby
ianbrown78 has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
ianbrown78 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
ewanchic has quit [Quit: Leaving.]
m_antis has joined #ruby
ewanchic has joined #ruby
pupsikov has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
drincruz has joined #ruby
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
astronautical has joined #ruby
sergioro has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.7.1]
dmz has joined #ruby
<dmz> howdy y'all, quick question about some weird stuff i'm seeing with sqlite
<dmz> db = SQLite3::Database.open("test.db")
CrazyEddy has joined #ruby
<dmz> query = db.prepare "SELECT value FROM variable_values"
<dmz> results = query.execute
<dmz> results.count
<dmz> returns 1
<dmz> if I run results.count again it returns 0 the 2nd time
<ewanchic> dmz: are you testing?
StoneCypherWork has joined #ruby
<ewanchic> dmz: ^^
elphe has quit [Ping timeout: 255 seconds]
<dmz> i'm testing in irb and getting those results; and this is just a simple basic ruby script
<dmz> those are exact commands copied from irb
<dmz> it seems that the result set can only be queried once then it loses it's value; which is not what i expected
StoneCypherWork has quit [Ping timeout: 258 seconds]
<ewanchic> what does puts results give you?
<dmz> 2.3.3 :013 > results.first
<dmz> => ["Azure"]
<dmz> 2.3.3 :014 > results.first
<dmz> => nil
elphe has joined #ruby
<dmz> execute new query and
<dmz> 2.3.3 :016 > results.count
<dmz> 2.3.3 :017 > results.count
<dmz> => 0
<dmz> => 1
<ewanchic> is this on a Windows machine?
<dmz> linux
<mre_> go gre
<dmz> normally i use postgres or mysql; but doing a quick script to demo something and this has totally confused me; don't do much with sqlite so wasn't expecting this
<dmz> gre?
<mre_> Sorry, ignore that.
<dmz> :)
<ewanchic> dmz: I'm trying to duplicate this...
<dmz> thanks; i'm updating ruby, maybe be my machine :)
<ewanchic> dmz: Yes, I'm getting the exact same thing
<dmz> kinda weird; every doc i see processes the query right as it's received but i have a few logic things i want to do based on the results
<ewanchic> dmz: I used SELECT * FROM variable_values
<ewanchic> dmz: Another idea is you can require 'ActiveRecord'
<dmz> hmm
<dmz> i'll try that
<ewanchic> dmz: I'm assuming you're a Rails coder?
<dmz> yeah
<dmz> well more hacker :)
<dmz> don't get paid for this
<ewanchic> dmz: Great! you'll have to go around the database.yml thing and load it manually, but the rest should be the same.
<dmz> let me go play with that for a few
<ewanchic> dmz: Good luck, and God bless!
<pyrmont> ewanchic: If you use #execute! rather than #execute, are the results the same?
<pyrmont> Sorry, I mean dmz.
<ewanchic> pyrmount: Nope, that would fix it!
braincrash has quit [Quit: bye bye]
<dmz> hmm
<ewanchic> pyrmount: Thanks! not sure why using a ! fixes things
<pyrmont> It changes the object returned.
<pyrmont> Let me get a link to the docs.
<dmz> yeah!
<dmz> thank you
cthulchu has quit [Read error: Connection reset by peer]
<ewanchic> pyrmount: I experienced a simliar issue with merge! the other day.
cthulchu has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
<dmz> ahhh that makes sense now
<pyrmont> execute returns a ResultSet which (I haven't looked into it) I assume does something to maintain state when you call methods on it.
<pyrmont> execute! just returns a plain Array with the results in it (which is probably what you want here).
braincrash has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
chalkmonster has joined #ruby
<dmz> i needed an excuse to get back on freenode and reclaim my nick :)
<dmz> Registered : Apr 18 21:07:13 1999 (20y 45w 5d ago) :)
SeepingN has joined #ruby
duderonomy has joined #ruby
alfiemax has joined #ruby
astronautical has quit [Quit: Leaving]
ttoocs has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
duderonomy has quit [Client Quit]
mre_ has quit [Ping timeout: 258 seconds]
emilford has quit [Ping timeout: 265 seconds]
duderonomy has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.7.1]
thebananaking has joined #ruby
duderono_ has joined #ruby
ianbrown78 has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
duderono_ has quit [Client Quit]
cnsvc_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
ianbrown78 has quit [Ping timeout: 258 seconds]
cnsvc_ has joined #ruby
drincruz has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
StoneCypherWork has joined #ruby
donofrio has quit [Remote host closed the connection]
StoneCypherWork has quit [Ping timeout: 258 seconds]
duderonomy has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
bsdbandit-01 has quit [Remote host closed the connection]
kinduff has quit [Read error: Connection reset by peer]
romanblanco has quit [Quit: Quit]
kinduff has joined #ruby
hutch has joined #ruby
jenrzzz has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkstardevx has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TzilTzal has joined #ruby
duderonomy has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
cd has quit [Quit: cd]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LinuxKnight has joined #ruby
dtnsb has joined #ruby
sauvin has joined #ruby
dtnsb has quit [Ping timeout: 265 seconds]
banisterfiend has joined #ruby
impermanence has quit [Remote host closed the connection]
ou-tis has quit [Quit: leaving]
drincruz has joined #ruby
drincruz has quit [Ping timeout: 258 seconds]
banister_ has joined #ruby
StoneCypherWork has joined #ruby
StoneCypherWork has quit [Ping timeout: 240 seconds]
banisterfiend_ has joined #ruby
istrasci has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Ping timeout: 255 seconds]
al2o3-cr has quit [Quit: WeeChat 2.7.1]
hutch has quit [Quit: WeeChat 2.7.1]
bvdw has quit [Read error: Connection reset by peer]
jonathandade has joined #ruby
jonathandade has quit [Client Quit]
bvdw has joined #ruby
lxsameer has joined #ruby
TzilTzal has quit [Quit: Leaving.]
banisterfiend_ has quit [Ping timeout: 260 seconds]
banisterfiend has joined #ruby
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
aeifn has joined #ruby
m_antis has quit [Quit: m_antis]
prestorium has joined #ruby
ianbrown78 has joined #ruby
clemens3 has quit [Quit: WeeChat 2.7]
ianbrown78 has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
silviu has quit [Remote host closed the connection]
silviu24 has joined #ruby
sdu has joined #ruby
banisterfiend has quit [Ping timeout: 258 seconds]
tau has quit [Remote host closed the connection]
<apotheon> havenwood: I consider a lack of Fish support a feature.
<apotheon> havenwood: I'm pretty convinced fish was originally created as a joke, but it got out of hand when people didn't get it.
banisterfiend has joined #ruby
banisterfiend has quit [Ping timeout: 255 seconds]
banisterfiend has joined #ruby
my_dude has joined #ruby
LinuxKnight has quit [Ping timeout: 265 seconds]
banisterfiend has quit [Quit: banisterfiend]
pyrmont has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
gordiebol has joined #ruby
pyrmont has joined #ruby
<gordiebol> I've worked on ruby 2.7.0 but my host is 2.6.1. So I'm trying to downgrade. I installed both versions with rbenv, then 'rbenv global 2.7.0', then in my project 'rbenv local 2.6.1', which seems to have created a .ruby-version file in my project.
<gordiebol> But when I 'ruby -v', I still get 2.7.0.
<gordiebol> and bundle install gives 'Your Ruby version is 2.7.0, but your Gemfile specified 2.6.1'
gordiebol has quit [Remote host closed the connection]
aeifn has quit [Remote host closed the connection]
lineus has quit [Ping timeout: 240 seconds]
gordonbill has joined #ruby
RiPuk has quit [Read error: Connection reset by peer]
RiPuk has joined #ruby
ellcs has joined #ruby
TomyWork has joined #ruby
factormystic has quit [Read error: Connection reset by peer]
vondruch has joined #ruby
sergioro has quit [Quit: leaving]
drincruz has joined #ruby
gordonbill has quit [Remote host closed the connection]
<voker57> not sure how exactly rbenv works but check that you have it installed properly and `ruby` resolves to rbenv's stub
drincruz has quit [Ping timeout: 258 seconds]
cnsvc_ has quit [Ping timeout: 240 seconds]
tau has joined #ruby
factormystic has joined #ruby
StoneCypherWork has joined #ruby
StoneCypherWork has quit [Ping timeout: 260 seconds]
Bounga has quit [Remote host closed the connection]
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pyrmont has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Mrgoose845701915 has joined #ruby
Maid-Chan has joined #ruby
dionysus69 has joined #ruby
<Maid-Chan> hello
tpanarch1st has joined #ruby
pyrmont has joined #ruby
conta has joined #ruby
clemens3 has joined #ruby
clemens3 has quit [Client Quit]
clemens3 has joined #ruby
<Maid-Chan> so...is the sub method just TOTALLY useless?
<voker57> wat
<Maid-Chan> https://i.imgur.com/s9dvBlt.png @voker57 No matter what I do I can't get sub sub! or gsub to match anything i give it...
<voker57> gsub() does not modify the string
<voker57> use gsub! or use string returned by gsub()
royal_screwup21 has joined #ruby
<Maid-Chan> https://i.imgur.com/Zy4c09S.png << still not working...
<Maid-Chan> nvm..k that works...
<Maid-Chan> ! doesn't though... just maks the top window blank
<Maid-Chan> can't believe i missed the part where you have to load the data back in...sorry and thank you so much...
ianbrown78 has joined #ruby
<voker57> in future consider starting with question not rant
<Maid-Chan> hrm...just realized...i'm going to have to find a way to remove commas AFTER the first two...
<Maid-Chan> sorry i'd been working on this for a while and had already asked in 4 other chatrooms...one guy looked at my actual code and gave me a thousand ways to improve everything but never once addressed the gsub problem...
StoneCypherWork has joined #ruby
ianbrown78 has quit [Ping timeout: 258 seconds]
<pyrmont> Maid-Chan: Might be better to split string and then join if you need to avoid doing something at the end.
conta has quit [Quit: conta]
<Maid-Chan> splitting is the next thing i need to do...had to do this before i could split because google translate api was messing up my formatting...
StoneCypherWork has quit [Ping timeout: 258 seconds]
mossplix has joined #ruby
troulouliou_div2 has joined #ruby
Fernando-Basso has joined #ruby
tau has quit [Quit: atque fag]
orderermaker has joined #ruby
<orderermaker> hello
<orderermaker> would someone be able to explain to me what this statement means? i am new to ruby: "unless API::Webhook.find(:all).any?"
<orderermaker> is it just saying "unless i can find this API's webhook, do {}"?
<voker57> unless API::Webhook.find(:all) contains any true item...
<voker57> true here meaning anything not like "nil" or "false"
<orderermaker> so the ":all" searches for all objects "Webhook" in the API, and ".any?" is checking if any exist? it's like asking if an array contains any values?
al2o3-cr has joined #ruby
Milos has quit [Ping timeout: 255 seconds]
<mnemon> orderermaker: yes, essentially checking that there are no webhooks
<orderermaker> okay, thanks a lot
cnsvc_ has joined #ruby
<Maid-Chan> @pyrmont, split works exactly how i'd have wanted it to...thanx for saving me searching for it. :P
LinuxKnight has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
dionysus69 has quit [Quit: dionysus69]
Bounga has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
Milos has joined #ruby
cisco has joined #ruby
TCZ has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
cnsvc_ has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
execat[m] has quit [Quit: Idle for 30+ days]
darkstardevx has quit [Ping timeout: 240 seconds]
raven__ has quit [Ping timeout: 240 seconds]
darkstardev13 has quit [Ping timeout: 240 seconds]
lineus has joined #ruby
my_dude has quit [Quit: my_dude]
darkstardevx has joined #ruby
darkstarx has joined #ruby
ravenx has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
linuus[m] has left #ruby ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
nowhere_man has joined #ruby
qbrd[m] has quit [Quit: Idle for 30+ days]
sepp2k has left #ruby ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
elphe has joined #ruby
drincruz has joined #ruby
mossplix has quit [Remote host closed the connection]
drincruz has quit [Ping timeout: 258 seconds]
TCZ has quit [Quit: Leaving]
kspencer has quit [Quit: Connection closed for inactivity]
naxxatoe has left #ruby ["Leaving"]
mossplix has joined #ruby
mossplix has quit [Ping timeout: 258 seconds]
dviola has joined #ruby
mjacob_ is now known as mjacob
leitz has joined #ruby
orderermaker has quit [Ping timeout: 260 seconds]
<leitz> Is it a "thing" to put have your gem's info on rubydoc.info? It seems like rubygems, and rubydoc, aren't as combined as something like CPAN.
<pyrmont> leitz: I thought that rubydoc automatically generated docs for gems published to RubyGems.
pinpox- has quit [Quit: ZNC 1.7.5 - https://znc.in]
pinpox has joined #ruby
ianbrown78 has joined #ruby
<leitz> pyrmont, I have a couple of projects on github, and rubygems. They don't seem to have docs.
nowhere_man has quit [Ping timeout: 258 seconds]
<leitz> pyrmont, there's probably something I'm not doing right, just trying to figure out what it might be.
<pyrmont> What's the name of the gem?
StoneCypherWork has joined #ruby
cisco has quit [Ping timeout: 255 seconds]
<pyrmont> Of one of the gems, I should say.
ianbrown78 has quit [Ping timeout: 260 seconds]
<leitz> ftl_tools has been there for a bit.
<leitz> The other one is brand new.
StoneCypherWork has quit [Ping timeout: 245 seconds]
<pyrmont> leitz: Hmmm, I wonder if it's because of your version naming. Ruby gems tend not to use those kind of names in their version identifiers.
<pyrmont> leitz: I don't know enough about how YARD works to know if that's the problem here.
conta has joined #ruby
<leitz> pyrmont, I thought I was using standard versioning.
fphilipe has joined #ruby
<leitz> pyrmont, well, except for starting at 0. Most of these are very small, and still very much a "work in progress".
conta has quit [Client Quit]
kapil_ has quit [Quit: Connection closed for inactivity]
conta has joined #ruby
Tempesta_ has joined #ruby
conta has quit [Client Quit]
Tempesta has quit [Ping timeout: 255 seconds]
TCZ has joined #ruby
lucasb has joined #ruby
Tempesta_ has left #ruby ["Closing Channel, bye."]
Tempesta has joined #ruby
<pyrmont> leitz: Your version naming isn't 'wrong' (my mistake) but RubyDoc is set up not to generate docs for prerelease gems (see https://github.com/docmeta/rubydoc.info/issues/122#issuecomment-355654153).
<leitz> pyrmont, THANK YOU!
<pyrmont> 👍
<leitz> Not just for the info, but for the time to figure it out.
<pyrmont> I got kind of curious :)
drincruz has joined #ruby
burningserenity has joined #ruby
TCZ has quit [Quit: Leaving]
bsdbandit-01 has joined #ruby
drincruz has quit [Ping timeout: 260 seconds]
fphilipe has quit [Quit: WeeChat 2.4]
factormystic has quit [Read error: Connection reset by peer]
CRISPRkrspr[m] has joined #ruby
factormystic has joined #ruby
cnsvc_ has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
drincruz has joined #ruby
rubydoc has quit [Ping timeout: 265 seconds]
jetchisel has quit [Ping timeout: 258 seconds]
troulouliou_div2 has joined #ruby
jetchisel has joined #ruby
Querens has joined #ruby
Querens has quit [Client Quit]
burningserenity has quit [Quit: Leaving.]
burningserenity has joined #ruby
Querens has joined #ruby
TCZ has joined #ruby
Querens has quit [Client Quit]
Querens has joined #ruby
rubydoc has joined #ruby
m_antis has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
ellcs has quit [Remote host closed the connection]
fercell has joined #ruby
kapil_ has joined #ruby
drincruz has quit [Ping timeout: 255 seconds]
troulouliou_div2 has quit [Remote host closed the connection]
pinpox- has joined #ruby
ianbrown78 has joined #ruby
pinpox has quit [Ping timeout: 240 seconds]
Querens has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Querens has joined #ruby
StoneCypherWork has joined #ruby
ianbrown78 has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #ruby
<balo> What does Redis actually mean?
<balo> It means REmote DIctionary Server.
<balo> fun fact :D
banisterfiend has joined #ruby
StoneCypherWork has quit [Ping timeout: 248 seconds]
NODE has quit [Quit: -]
cnsvc_ has joined #ruby
xNetX0 has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
cisco has joined #ruby
cisco is now known as Guest55061
xNetX0 is now known as NODE
alfiemax has quit [Remote host closed the connection]
sepp2k has joined #ruby
tpanarch1st has quit [Ping timeout: 255 seconds]
ttoocs has quit [Ping timeout: 255 seconds]
Guest60 has joined #ruby
Guest60 is now known as lessless
lessless has quit [Quit: Textual IRC Client: www.textualapp.com]
TCZ has quit [Quit: Leaving]
LinuxKnight has quit [Ping timeout: 240 seconds]
chalkmonster has joined #ruby
caterfxo has joined #ruby
heth has quit [Read error: Connection reset by peer]
heth has joined #ruby
pinpox- has quit [Quit: ZNC 1.7.5 - https://znc.in]
pinpox has joined #ruby
drincruz has joined #ruby
ianbrown78 has joined #ruby
nowhere_man has joined #ruby
DTZUZU2 has joined #ruby
<Maid-Chan> @balo whats redis?
DTZUZU has quit [Ping timeout: 272 seconds]
ianbrown78 has quit [Ping timeout: 265 seconds]
<kinduff> Maid-Chan Remote Dictionary Server
<kinduff> lol
<Maid-Chan> well that's apparently what it stands for...but i meant what is it beyond that.
<kinduff> it's a kind of database commonly used for cache, as a message broker, etc. Key-val type.
rkoller has joined #ruby
nowhere_man has quit [Ping timeout: 258 seconds]
nowhereman has joined #ruby
burningserenity has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fercell has quit [Quit: WeeChat 2.7]
burningserenity has joined #ruby
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
jcalla has joined #ruby
nowhereman has quit [Ping timeout: 258 seconds]
nowhereman has joined #ruby
Guest55061 has quit [Quit: leaving]
burningserenity has quit [Ping timeout: 260 seconds]
banisterfiend has joined #ruby
<Maid-Chan> ahh thanx kinduff
pupsikov has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
cnsvc_ has joined #ruby
jmcgnh has quit [Ping timeout: 260 seconds]
cnsvc_ has quit [Ping timeout: 240 seconds]
jmcgnh has joined #ruby
sdu has quit [Remote host closed the connection]
nowhereman has joined #ruby
caterfxo has quit [Remote host closed the connection]
JJonah__ has joined #ruby
caterfxo has joined #ruby
mre_ has joined #ruby
emilford has joined #ruby
nowhereman has quit [Ping timeout: 252 seconds]
StoneCypherWork has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
StoneCypherWork has quit [Ping timeout: 255 seconds]
LinuxKnight has joined #ruby
m_antis has quit [Quit: m_antis]
Fernando-Basso has quit [Quit: Leaving]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
m_antis_77 has joined #ruby
davidw has joined #ruby
StoneCypherWork has joined #ruby
StoneCypherWork has quit [Ping timeout: 255 seconds]
kinduff has quit [Quit: Ping timeout (120 seconds)]
fphilipe has joined #ruby
kinduff has joined #ruby
mre_ has quit [Ping timeout: 258 seconds]
_ikke_ has quit [Remote host closed the connection]
emilford has quit [Ping timeout: 252 seconds]
lxsameer has quit [Quit: WeeChat 2.6]
_ikke_ has joined #ruby
m_antis_77 has quit [Remote host closed the connection]
StoneCypherWork has joined #ruby
schne1der has joined #ruby
mokha has joined #ruby
mikecmpbll has quit [Ping timeout: 255 seconds]
emilford has joined #ruby
mre_ has joined #ruby
mikecmpbll has joined #ruby
royal_screwup21 has joined #ruby
LinuxKnight has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
davidw has quit [Remote host closed the connection]
gordiebill has joined #ruby
<gordiebill> Hi ! i'm new to ruby. Having issues to deploy my app on my server. It works perfectly locally but breaks on the server. I've checked, both are using the same ruby version.
<gordiebill> it gives me a "cannot load such file -- bigdecimal.so (LoadError)". If I add the gem then bundle install, it works, but I got another error fired. I've read on stackoverflow that it might be a ruby version problem. How could I fix this ?
<gordiebill> thanks
kristian_on_linu has joined #ruby
joast has quit [Quit: Leaving.]
emilford has quit [Ping timeout: 258 seconds]
mre_ has quit [Ping timeout: 260 seconds]
<leitz> gordiebill, what is the second error?
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
<gordiebill> leitz : undefined method `cookie_verifier_secret`
LinuxKnight has joined #ruby
mikecmpbll has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsdbandit-01 has joined #ruby
emilford has joined #ruby
mre_ has joined #ruby
gix has joined #ruby
<leitz> gordiebill, I'd check the spelling of the method, and how it's called. Does it need the class prefix (MyClass::cookie_verifier_secret), or something else?
<gordiebill> I wonder if it's not a problem with ruby versions not matching
<leitz> Is it in a module, then maybe "module_function".
cnsvc_ has joined #ruby
<leitz> gordiebill, you said both have the same ruby version.
prestori_ has joined #ruby
<havenwood> gordiebill: BigDecimal is a gem that ships with Ruby as part of the stdlib. It shouldn't be uninstallable.
<havenwood> gordiebill: If you try `gem uninstall bigdecimal` you should get a:
<havenwood> #!> Gem bigdecimal-2.0.0 cannot be uninstalled because it is a default gem
<havenwood> gordiebill: What kind of server are you using? How'd you install Ruby?
emilford has quit [Ping timeout: 260 seconds]
<havenwood> gordiebill: The latter message suggests you're not running in the context of your Bundle.
<havenwood> gordiebill: What command are you running exactly to get this error?
<gordiebill> rails s
prestorium has quit [Ping timeout: 258 seconds]
<gordiebill> on the SSH of my server
<gordiebill> I'm a Ruby newbie so sorry if I don't get it all
<havenwood> gordiebill: Instead, try: bin/rails s
TomyWork has quit [Remote host closed the connection]
mre_ has quit [Ping timeout: 260 seconds]
<havenwood> gordiebill: Or: bundle exec rails s
banisterfiend has joined #ruby
<havenwood> gordiebill: The purpose of those ^ is to run the app with the right gems.
<havenwood> gordiebill: Does using the bin/rails shim work?
prestori_ has quit [Ping timeout: 265 seconds]
<gordiebill> WOW it works now ! I don't know what I did
<gordiebill> works with rails s
<gordiebill> thanks for your help
cnsvc_ has quit [Remote host closed the connection]
gordiebill has quit [Remote host closed the connection]
burningserenity has joined #ruby
siery has quit [Ping timeout: 240 seconds]
kp666[m] has quit [Ping timeout: 256 seconds]
batisi[m] has quit [Ping timeout: 240 seconds]
mikecmpb_ has joined #ruby
mikecmpb_ has quit [Client Quit]
robotcars has joined #ruby
cd has joined #ruby
siery has joined #ruby
cnsvc_ has joined #ruby
kp666[m] has joined #ruby
fphilipe has quit [Ping timeout: 240 seconds]
burningserenity has quit [Quit: Leaving.]
burningserenity has joined #ruby
batisi[m] has joined #ruby
<pyrmont> I foresee that not ending well.
emilford has joined #ruby
mre_ has joined #ruby
<robotcars> is there a better way to write `a.each { |c| c.each { |k| b << k if !missing.keys.any? k } }` by assigning b with select or collect, instead of pushing to b?
tau has joined #ruby
siery has quit [Quit: WeeChat 2.7]
<leftylink> my initial reaction is something involving `flat_map` since I observe that there are two levels of `each`. a `select` probably replaces the `if`.
mre_ has quit [Ping timeout: 258 seconds]
emilford has quit [Ping timeout: 258 seconds]
joast has joined #ruby
coffeex3 has joined #ruby
<leftylink> upon further consideration. I would do it as I had said initially
<robotcars> playing with flat_map, thanks
gix- has joined #ruby
gix has quit [Disconnected by services]
wildtrees has joined #ruby
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #ruby
rippa has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Ai9zO5AP has joined #ruby
Mia has joined #ruby
Fernando-Basso has joined #ruby
<Maid-Chan> is there a trick to getting get to work other than requiring it's library? because it's saying the address doesn't exist when i link to a jpg on twitter or imgur...
<Maid-Chan> Net::HTTP.get(COVER_ADDRESS, "#{PROJECT_DIR}\\project\\#{NOVEL}\\cover.#{COVER_TYPE}")
<Maid-Chan> COVER_ADDRESS = "https://i.imgur.com/NYPjmMN.jpg"
<Maid-Chan> FWIW that's the code i'm using to try the download
emilford has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
emilford has quit [Ping timeout: 255 seconds]
fphilipe has joined #ruby
tpanarch1st has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
splud_wurk has joined #ruby
coffeex3 has quit [Quit: WeeChat 2.4]
kristian_on_linu has quit [Ping timeout: 240 seconds]
kristian_on_linu has joined #ruby
dviola has quit [Quit: WeeChat 2.7.1]
<pyrmont> Maid-Chan: The parameters for Net:HTTP#get are either a URI object or a sequence of strings representing the host and optionally path and port: https://ruby-doc.org/stdlib-2.7.0/libdoc/net/http/rdoc/Net/HTTP.html#method-c-get
StoneCypherWork has quit [Ping timeout: 240 seconds]
kristian_on_linu has quit [Ping timeout: 255 seconds]
kristian_on_linu has joined #ruby
mokha has quit [Remote host closed the connection]
mokha has joined #ruby
ianbrown78 has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
ianbrown78 has quit [Ping timeout: 240 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
leitz has quit [Quit: Leaving]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
akemhp has quit [Quit: Leaving]
<Maid-Chan> lolz thanx al2o3-cr but i found a lib called down that did the trick.
<Maid-Chan> @pyrmont ahh so...i would have needed to do something special to get jpeg working then?
<al2o3-cr> Maid-Chan: ok, np. glad you got it working.
phaul has joined #ruby
<Maid-Chan> i am now scraping a japanese webnovel site, passing the text through google cloud, and bundling it up into an epub...all so i can lazily lay down while reading poorly translated (though maybe minorly improved over the phrasebook translation of google) webnovels. i'm not sure if 24 hours of work is really lazy though. :P
_phaul has quit [Ping timeout: 258 seconds]
Bounga has quit [Ping timeout: 272 seconds]
_phaul has joined #ruby
schne1der has quit [Ping timeout: 260 seconds]
emilford has joined #ruby
phaul has quit [Ping timeout: 260 seconds]
mre_ has joined #ruby
StoneCypherWork has joined #ruby
JJonah__ has quit [Quit: Connection closed for inactivity]
duderonomy has joined #ruby
Bounga has joined #ruby
poontangmessiah has joined #ruby
tankf33der has joined #ruby
<tankf33der> o\
emilford has quit [Read error: No route to host]
mre_ has quit [Read error: Connection reset by peer]
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
Bounga has quit [Ping timeout: 248 seconds]
prestorium has joined #ruby
duderonomy has quit [Ping timeout: 258 seconds]
prestorium has quit [Client Quit]
phaul has joined #ruby
fphilipe has quit [Ping timeout: 240 seconds]
_phaul has quit [Ping timeout: 258 seconds]
poontangmessiah has quit [Quit: WeeChat 2.7]
fphilipe has joined #ruby
prestorium has joined #ruby
ellcs has joined #ruby
Bounga has joined #ruby
schne1der has joined #ruby
tau has quit [Read error: Connection reset by peer]
clemens3 has quit [Ping timeout: 272 seconds]
pupsikov has quit [Read error: Connection reset by peer]
burningserenity has quit [Quit: Leaving.]
splud_wurk has quit [Quit: splud_wurk]
prestorium has quit [Quit: prestorium]
galaxie has quit [Ping timeout: 240 seconds]
galaxie has joined #ruby
Ai9zO5AP has quit [Quit: WeeChat 2.7]
FastJack has quit [Ping timeout: 272 seconds]
FastJack has joined #ruby
smoochsmooch has quit [Quit: Connection closed for inactivity]
duderonomy has joined #ruby
Ai9zO5AP has joined #ruby
regedit has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
royal_screwup21 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
_phaul has joined #ruby
tdy has joined #ruby
phaul has quit [Ping timeout: 258 seconds]
Ai9zO5AP has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
phaul has joined #ruby
_phaul has quit [Ping timeout: 258 seconds]
Ai9zO5AP has joined #ruby
cnsvc_ has quit [Remote host closed the connection]
tau has joined #ruby
cnsvc_ has joined #ruby
_whitelogger has joined #ruby
_phaul has joined #ruby
phaul has quit [Ping timeout: 258 seconds]
phaul has joined #ruby
factormystic has quit [Read error: Connection reset by peer]
factormystic has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
splud_wurk has joined #ruby
_phaul has joined #ruby
phaul_ has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
StoneCypherWork has quit [Ping timeout: 255 seconds]
_phaul has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
_phaul has joined #ruby
* al2o3-cr thinks solero lollies are yum!
phaul_ has quit [Ping timeout: 260 seconds]
my_dude has joined #ruby
my_dude has quit [Client Quit]
phaul has quit [Ping timeout: 260 seconds]
my_dude has joined #ruby
TCZ has joined #ruby
my_dude has quit [Quit: ZZZzzz…]
my_dude has joined #ruby
Fernando-Basso has joined #ruby
tau has quit [Read error: Connection reset by peer]
Jonopoly has joined #ruby
DTZUZU2 has quit [Ping timeout: 260 seconds]
LinuxKnight has quit [Ping timeout: 240 seconds]
StoneCypherWork has joined #ruby
DTZUZU2 has joined #ruby
wildtrees has quit [Remote host closed the connection]
StoneCypherWork has quit [Ping timeout: 255 seconds]
my_dude has quit [Quit: ZZZzzz…]
wildtrees has joined #ruby
phaul has joined #ruby
my_dude has joined #ruby
clemens3 has joined #ruby
_phaul has quit [Ping timeout: 265 seconds]
DTZUZU2 has quit [Ping timeout: 240 seconds]
chalkmonster has quit [Quit: WeeChat 2.7.1]
Bounga has quit [Ping timeout: 272 seconds]
StoneCypherWork has joined #ruby
DTZUZU2 has joined #ruby
duderonomy has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
splud_wurk has quit [Quit: splud_wurk]
kristian_on_linu has quit [Ping timeout: 260 seconds]
drincruz has quit [Ping timeout: 260 seconds]
_phaul has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
splud_wurk has joined #ruby
TCZ has quit [Quit: Leaving]
StoneCypherWork has quit [Ping timeout: 255 seconds]