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!
ur5us has joined #ruby
jesse__ has quit [Ping timeout: 240 seconds]
ianbrown78 has quit [Ping timeout: 255 seconds]
sam808080 has joined #ruby
ianbrown78 has joined #ruby
mre- has joined #ruby
TCZ has quit [Quit: Leaving]
arahael has quit [Ping timeout: 260 seconds]
mre- has quit [Ping timeout: 255 seconds]
cnsvc_ has quit [Ping timeout: 240 seconds]
ianbrown78 has quit [Ping timeout: 258 seconds]
sam808080 has quit [Ping timeout: 255 seconds]
mn3m has joined #ruby
cnsvc_ has joined #ruby
ianbrown78 has joined #ruby
jesse__ has joined #ruby
ianbrown78 has quit [Ping timeout: 240 seconds]
Fernando-Basso has quit [Quit: Leaving]
jesse__ has quit [Client Quit]
cnsvc_ has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
leetie has joined #ruby
ianbrown78 has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
StoneCypherWork has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
markoong has quit [Ping timeout: 255 seconds]
tpanarch1st has quit [Ping timeout: 255 seconds]
NODE has quit [Client Quit]
StoneCypherWork has quit [Ping timeout: 255 seconds]
NODE has joined #ruby
cnsvc_ has joined #ruby
leetie has quit [Remote host closed the connection]
leetie has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
g3funk has joined #ruby
elphe has joined #ruby
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 256 seconds]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
postmodern has joined #ruby
weird_error has quit [Quit: weird_error]
caterfxo has quit [Remote host closed the connection]
caterfxo has joined #ruby
<leetie> Hello!
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 240 seconds]
cnsvc_ has joined #ruby
gix- has quit [Ping timeout: 260 seconds]
fratis has joined #ruby
ttoocs has joined #ruby
fratis has quit [Ping timeout: 255 seconds]
fratis has joined #ruby
meinside has joined #ruby
fratis has quit [Read error: Connection reset by peer]
fratis has joined #ruby
mn3m has quit [Quit: mn3m]
fphilipe_ has joined #ruby
leetie has quit [Ping timeout: 258 seconds]
fratis has quit []
leetie has joined #ruby
ianbrown78 has quit [Ping timeout: 255 seconds]
x0f has joined #ruby
x0f_ has quit [Ping timeout: 256 seconds]
StoneCypherWork has joined #ruby
ianbrown78 has joined #ruby
<advorak> hiya leetie!
StoneCypherWork has quit [Ping timeout: 256 seconds]
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ianbrown78 has quit [Ping timeout: 260 seconds]
pinpox- has joined #ruby
g3funk has joined #ruby
pinpox has quit [Ping timeout: 240 seconds]
g3funk has quit [Client Quit]
ianbrown78 has joined #ruby
leetie has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 240 seconds]
<TMaidChan> so i feel like my brain must not be processing math right...i can't figure out how:
<TMaidChan> ``CHAPTER_Z - (CHAPTER_A - 1)``<``CHAPTER_Z - CHAPTER_B)-1`` where ``CHAPTER_Z >= CHAPTER_B >= CHAPTER_A``
ianbrown78 has quit [Ping timeout: 256 seconds]
regedit has joined #ruby
elphe has quit [Quit: leaving]
ianbrown78 has joined #ruby
ianbrown78 has quit [Ping timeout: 255 seconds]
ianbrown78 has joined #ruby
ianbrown78 has quit [Ping timeout: 260 seconds]
CrazyEddy has joined #ruby
kinduff has quit [Quit: The Lounge - https://thelounge.chat]
ianbrown78 has joined #ruby
kinduff has joined #ruby
ianbrown78 has quit [Ping timeout: 258 seconds]
GodFather has quit [Ping timeout: 255 seconds]
heth has quit [Ping timeout: 260 seconds]
ianbrown78 has joined #ruby
heth has joined #ruby
alfiemax has joined #ruby
fphilipe_ has joined #ruby
schne1der has joined #ruby
fphilipe_ has quit [Ping timeout: 272 seconds]
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
fphilipe_ has joined #ruby
chalkmonster has joined #ruby
fphilipe_ has quit [Ping timeout: 240 seconds]
StoneCypherWork has joined #ruby
StoneCypherWork has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
cnsvc_ has quit [Ping timeout: 240 seconds]
cnsvc_ has joined #ruby
ianbrown78 has quit [Ping timeout: 240 seconds]
ianbrown78 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.7.1]
sagax has quit [Remote host closed the connection]
donofrio has quit [Remote host closed the connection]
DTZUZU has quit [Ping timeout: 240 seconds]
DTZUZU has joined #ruby
nixy371 has quit [Quit: The Lounge - https://thelounge.chat]
nixy371 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hiroaki_ has quit [Ping timeout: 255 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
jmcgnh has joined #ruby
LinuxKnight has joined #ruby
fphilipe_ has joined #ruby
regedit has quit [Quit: Connection closed for inactivity]
fphilipe_ has quit [Ping timeout: 256 seconds]
StoneCypherWork has joined #ruby
ianbrown78 has quit [Ping timeout: 255 seconds]
ianbrown78 has joined #ruby
StoneCypherWork has quit [Ping timeout: 240 seconds]
mniip has quit [Quit: This page is intentionally left blank.]
mniip has joined #ruby
ianbrown78 has quit [Ping timeout: 260 seconds]
soulisson has joined #ruby
<soulisson> Hello
<soulisson> I need to embed a jwk inside a jwt, I need to expose the public key (d,e) in the token
<soulisson> how can I do that?
imadper has joined #ruby
Ai9zO5AP has quit [Quit: WeeChat 2.7.1]
ianbrown78 has joined #ruby
chalkmonster has joined #ruby
caterfxo has quit [Ping timeout: 256 seconds]
ianbrown78 has quit [Ping timeout: 240 seconds]
ianbrown78 has joined #ruby
schne1der has quit [Quit: schne1der]
ianbrown78 has quit [Ping timeout: 260 seconds]
ianbrown78 has joined #ruby
chalkmon1 has joined #ruby
chalkmonster has quit [Ping timeout: 256 seconds]
heth has quit [Read error: Connection reset by peer]
chalkmonster has joined #ruby
chalkmon1 has quit [Ping timeout: 260 seconds]
ianbrown78 has quit [Ping timeout: 240 seconds]
nigga_ has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
<nigga_> hi
<nigga_> how you
kinduff has joined #ruby
<nigga_> whats up
nigga_ has quit [Quit: Leaving]
<havenwood> !badnick nigga_
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 272 seconds]
<pyrmont> soulisson: I'm guessing you're aware of https://github.com/jwt/ruby-jwt?
fercell has joined #ruby
clemens3 has quit [Quit: WeeChat 2.7]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
gordieRab has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
<gordieRab> Hi anyone. I'm trying to deploy my (first) Ruby app, and it's a pain.. Works fine locally but totally bugs online. Latest problem I get is that error: "Your version of SQLite (3.7.17) is too old. Active Record supports SQLite >= 3.8." - can anyone help ?
<ytti> i would potentially start with 'how to install sqlite 3.8' query
<ytti> i feel like you can solve this on your own
<ytti> but you probably wwant someone to give you exact command lines
<ytti> which may require more support than most are willing to give
<gordieRab> HI, thanks. Don't think i'm lazy. I'm just new to Ruby. Thing is, this is on a server i'm renting. I don't have access to run "sudo apt-get install sqlite3 libsqlite3-dev" if this is what you are talking about
TzilTzal has joined #ruby
<TzilTzal> Hi
dStromboli has joined #ruby
conta has joined #ruby
<pyrmont> gordieRab: If you don't have the ability to install gems, you're going to have problems. If you can't remedy that, you're better off looking at something like Heroku. You can use their free tier for a while before you'll probably need to pay and at that point you'll have a better idea of whether your app works and is worth the investment.
<gordieRab> pyrmont : ok. But if I understood well, Heroku stores data to database temporary ? So my data will be erased once in a while ?
fphilipe_ has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
<pyrmont> I'm having difficulty finding clear wording on Heroku's site but the free plan used to include a PostgreSQL database with 100MB capacity or 10,000 rows, whichever limit you hit first.
<gordieRab> wow
prestorium has joined #ruby
<gordieRab> So it isn't erased periodically - which I read before - , maybe they updated things
<gordieRab> it should fit my need, at least for a start
<pyrmont> gordieRab: I'm not aware of it ever being erased periodically but I admittedly haven't used Heroku in a long time. Worth maybe exploring their site a little more.
gordieRab has quit [Quit: Ping timeout (120 seconds)]
cnsvc_ has joined #ruby
imadper has quit [Remote host closed the connection]
StoneCypherWork has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
StoneCypherWork has quit [Ping timeout: 258 seconds]
alfiemax has joined #ruby
chalkmon1 has joined #ruby
chalkmonster has quit [Ping timeout: 260 seconds]
alfiemax has quit [Remote host closed the connection]
lxsameer has joined #ruby
alfiemax has joined #ruby
ellcs has joined #ruby
gordiebill has joined #ruby
ur5us has joined #ruby
<gordiebill> Hi, i'm trying to migrate my sqlite3 db to a postgre db, using this post : https://stackoverflow.com/a/51068611/782013
<gordiebill> but when doing rake db:setup, I got errors
<gordiebill> fe_sendauth: no password suppliedCouldn't create 'wpsstmapi_dev' database. Please check your configuration.rake aborted!
<gordiebill> any idea ?
ianbrown78 has joined #ruby
<jhass> gordiebill: so I guess you're not actually using heroku?
<gordiebill> i will, but for now i'm on my local machine
<jhass> and what's that? How did you setup postgres?
<jhass> can you connect to your local postgres with just "psql"?
<gordiebill> nope, psql: FATAL: role "gordie" does not exist
ianbrown78 has quit [Ping timeout: 258 seconds]
<jhass> that's not so bad actually (you should be able to fix it with something like sudo -u postgres createuser gordie)
<jhass> or make that createuser -s gordie for a local dev setup (creates a superuser)
<jhass> Oh, I see the database.yml example there specifies no user
<jhass> so either giving a user (such as the default superuser postgres) or doing the above of creating a user of your login name might actually fix your issue
<gordiebill> ok, so I could use 'postgres' that's it ?
<jhass> I mean you never answered my question on what your platform and postgres setup is, so it's just a guess going by the most common setup of postgres
<jhass> but potentially yes
<gordiebill> I'm on linux mint
<gordiebill> I did install postgress through the Gemfile of my ruby on rails app
cnsvc_ has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
cnsvc_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
conta has quit [Quit: conta]
fphilipe_ has joined #ruby
cd has quit [Quit: cd]
<jhass> through the Gemfile you have installed the ruby client library, not the server
markopasha has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
lunarkitty has quit [Ping timeout: 252 seconds]
DaRock has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 256 seconds]
DaRock has joined #ruby
clemens3 has joined #ruby
lunarkitty has joined #ruby
clemens3 has quit [Read error: No route to host]
ellcs1 has joined #ruby
clemens3 has joined #ruby
Fernando-Basso has joined #ruby
TzilTzal has quit [Quit: Leaving.]
StoneCypherWork has joined #ruby
infinityfye has joined #ruby
reyfi9e has quit [Ping timeout: 260 seconds]
StoneCypherWork has quit [Ping timeout: 240 seconds]
cnsvc_ has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
arahael has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
lovelove has joined #ruby
<lovelove> Hi there! I'm trying to seed remote images using the Faker gem: https://gist.github.com/theweddingplanner/dfa9b547e8f08e40d2fe096754a0b0ae
<lovelove> But what's up with this? ArgumentError: Could not find or build blob: expected attachable, got #<Tempfile:/tmp/open-uri20200302-48051-14fzryb>
gordiebill has quit [Remote host closed the connection]
royal_screwup21 has joined #ruby
Mrgoose845701915 has quit [Quit: The Lounge - https://thelounge.chat]
reyfi9e has joined #ruby
sagax has joined #ruby
ellcs1 has quit [Ping timeout: 258 seconds]
markoong has joined #ruby
chalkmon1 has quit [Ping timeout: 260 seconds]
alfiemax has quit [Remote host closed the connection]
<pyrmont> lovelove: Is the argument specified correctly? The example in the docs uses the io keyword and a bunch of other parameters: https://api.rubyonrails.org/classes/ActiveStorage/Attached/One.html#method-i-attach
alfiemax has joined #ruby
fphilipe_ has quit [Ping timeout: 260 seconds]
<lovelove> pyrmont: I think so, I thought io was for direct file uploads?
<pyrmont> I don't have any experience using ActiveStorage but I would have thought that 'open' returns an IO handle that would work the same way for either remote IO or local disk IO.
ianbrown78 has joined #ruby
<pyrmont> But in any event, the error is saying that it's expecting an Attachable object and it's getting something else instead (in this case, a TempFile object).
markong has joined #ruby
<lovelove> hmm.. cheers mate, ill give it a go!
gordiebill has joined #ruby
ianbrown78 has quit [Ping timeout: 256 seconds]
markoong has quit [Ping timeout: 255 seconds]
fphilipe_ has joined #ruby
dviola has joined #ruby
<gordiebill> Hi ! Are files loaded with require_relative() not loaded in a linear way ? I got a bug while including files. See here : https://pastebin.com/vxa8gYaE
<ruby[bot]> gordiebill: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
fphilipe_ has quit [Ping timeout: 258 seconds]
<gordiebill> Hi ! I've got problems with a code where files are required. It works locally but not on heroku. Could someone have a look ? https://gist.github.com/gordielachance/1238ebdb452e5f6fbd8cb2600bb7a851 Thanks !
<pyrmont> gordiebill: You haven't included the content of _default.rb.
margeas has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
margeas is now known as markoong
timeimp has quit [Ping timeout: 256 seconds]
<gordiebill> seems it is related to zeitwerk - maybe a problem of naming conventions ? but then why is it working on my local machine ?
markong has quit [Ping timeout: 265 seconds]
Mrgoose845701915 has joined #ruby
fphilipe_ has joined #ruby
troulouliou_dev has joined #ruby
<lovelove> pyrmont: word! wish i'd stumble upon that article when i did my google searchin
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
<gordiebill> pyrmont : or should I avoid using those require lines and declare the files in the load path stuff ?
donofrio has joined #ruby
ellcs1 has joined #ruby
fphilipe_ has quit [Ping timeout: 260 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Remote host closed the connection]
<lovelove> pyrmont: my mayne! thanks again
bsdband67 has quit [Ping timeout: 240 seconds]
<pyrmont> gordiebill: Not sure, sorry. I wonder if requiring them files within the module is causing an issue. But that's just a shot in the dark.
<gordiebill> ok. naming conventions : can I name a class BBC_Mix_Importer or should it be Bbc_Mix_Importer ?
TCZ has joined #ruby
sergioro has quit [Quit: leaving]
cnsvc_ has joined #ruby
<pyrmont> gordiebill: People tend to avoid underscores in class/module names but that's just a convention. I think case is tricker. Because camelcase is often translated into underscores at the boundary of the uppercase letters (i.e. ActiveRecord becomes active_record) then I think there's sometimes a tendency to do things like BbcMixImporter rather than than BBCMixImporter but that's really just a style thing.
ellcs1 has quit [Ping timeout: 265 seconds]
<pyrmont> gordiebill: Oh, and about the require_relative thing, is the requiring file in the directory above importers? The file is relative to the executing file. If that file is in the importers directory, you shouldn't be using a prefix. See: https://stackoverflow.com/questions/3672586/what-is-the-difference-between-require-relative-and-require-in-ruby#3672600
royal_screwup21 has quit [Remote host closed the connection]
<pyrmont> lovelove: Glad it worked! :)
<lovelove> <3
markong has joined #ruby
alfiemax has quit [Remote host closed the connection]
cnsvc_ has quit [Ping timeout: 240 seconds]
markoong has quit [Ping timeout: 256 seconds]
margeas has joined #ruby
margeas is now known as markoong
markong has quit [Ping timeout: 255 seconds]
bvdw has quit [Quit: bvdw]
bvdw has joined #ruby
fphilipe_ has joined #ruby
cnsvc_ has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
cnsvc_ has quit [Ping timeout: 240 seconds]
jmcgnh has joined #ruby
StoneCypherWork has joined #ruby
drincruz has joined #ruby
StoneCypherWork has quit [Ping timeout: 260 seconds]
cc_ has joined #ruby
markopasha has quit [Read error: Connection reset by peer]
cc__ has joined #ruby
cc_ has quit [Ping timeout: 258 seconds]
burningserenity has joined #ruby
cnsvc_ has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
drincruz has quit [Ping timeout: 258 seconds]
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
gordiebill has quit [Remote host closed the connection]
ams__ has quit [Quit: Connection closed for inactivity]
fphilipe_ has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
banisterfiend has joined #ruby
rogertosb has joined #ruby
fphilipe_ has joined #ruby
drincruz has joined #ruby
postmodern has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
d3bug has quit [Quit: Connection closed for inactivity]
tau has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ianbrown78 has joined #ruby
tau has quit [Remote host closed the connection]
jcalla has quit [Ping timeout: 260 seconds]
ianbrown78 has quit [Ping timeout: 255 seconds]
lucasb has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
drincruz has quit [Ping timeout: 255 seconds]
fphilipe_ has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
cc__ has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 255 seconds]
fphilipe_ has joined #ruby
markopasha has joined #ruby
markopasha has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
g3funk has joined #ruby
nofxx_ has joined #ruby
nofxx has quit [Read error: Connection reset by peer]
nofxx_ has quit [Remote host closed the connection]
nofxx_ has joined #ruby
TomyWork has joined #ruby
fphilipe_ has quit [Ping timeout: 258 seconds]
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe_ has joined #ruby
TCZ has quit [Ping timeout: 255 seconds]
ttoocs has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
fphilipe_ has quit [Ping timeout: 255 seconds]
fphilipe_ has joined #ruby
darkstarx has quit [Remote host closed the connection]
gordobill has joined #ruby
<gordobill> Hi ! could someone explain me how I should setup my database.yml file to connect to the database of my heroku app ?
darkstarx has joined #ruby
nofxx has joined #ruby
darkstarx has quit [Remote host closed the connection]
nofxx_ has quit [Remote host closed the connection]
<kinduff> gordobill you mean locally or to have a database in your heroku instance?
<gordobill> on heroku, yes
<kinduff> do you want to use PostgreSQL?
<gordobill> yes I do
darkstarx has joined #ruby
<kinduff> awesome, did you installed the PostgreSQL addon in Heroku?
<gordobill> I think so
<gordobill> :D
<gordobill> since I can access my DB using pgweb.. ?
<kinduff> make sure, because then you won't need to modify your database.yml file in order to make it work
<kinduff> Heroku sets a DATABASE_URL environment variable that Rails uses to set it up
<gordobill> it is listed in my addons;, I guess it is enabled then ?
darkstarx has quit [Remote host closed the connection]
darkstarx has joined #ruby
drincruz has joined #ruby
StoneCypherWork has joined #ruby
<kinduff> sweet, now check your environment variables
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gordobill> config vars ?
<gordobill> ok, I've got a DATBASE_URL
StoneCypherWork has quit [Ping timeout: 260 seconds]
g3funk has joined #ruby
<gordobill> kinduff : now what can I do with it ?
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
banisterfiend has joined #ruby
TCZ has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
StoneCypherWork has joined #ruby
<kinduff> Your app should be running as expected, is your app down or something?
caterfxo has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
TCZ has quit [Quit: Leaving]
DaRock has joined #ruby
StoneCypherWork has quit [Ping timeout: 256 seconds]
fphilipe_ has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
<gordobill> no, I don't think so, how could I check ? But my api has to fetch a row in the database and it seems that it doesn't get it, while it does exist (I checked with pg_web)
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
<gordobill> it's not down since another endpoint of my api works
StoneCypherWork has joined #ruby
Azure has quit [Ping timeout: 256 seconds]
<kinduff> How are you connecting through pg_web?
StoneCypherWork has quit [Ping timeout: 240 seconds]
Bounga has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gordobill> kinduff : like this : heroku config:get DATABASE_URL | xargs pgweb --url
fphilipe_ has quit [Ping timeout: 255 seconds]
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
<kinduff> Can you post me your database.yml and the output of heroku log whenever you try to query the record you want?
fphilipe_ has joined #ruby
Azure has joined #ruby
fphilipe_ has quit [Ping timeout: 255 seconds]
impermanence has joined #ruby
ianbrown78 has joined #ruby
jcalla has joined #ruby
ianbrown78 has quit [Ping timeout: 240 seconds]
SeepingN has joined #ruby
weird_error has joined #ruby
duderonomy has joined #ruby
fphilipe_ has joined #ruby
cnsvc_ has joined #ruby
mokha has quit [Remote host closed the connection]
StoneCypherWork has joined #ruby
mokha has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Ping timeout: 256 seconds]
olddogbarks has joined #ruby
g3funk has joined #ruby
nofxx_ has joined #ruby
nofxx has quit [Ping timeout: 272 seconds]
infinityfye has quit [Quit: Leaving]
DaRock has quit [Ping timeout: 240 seconds]
olddogbarks has quit [Quit: ZZZzzz…]
olddogbarks has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
cassidy34 has joined #ruby
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
olddogbarks has quit [Quit: ZZZzzz…]
<skywalker> hey guys. i have a noob question. there this gem, and i see ~6 development dependencies. i am packing that gem to rpm. how can i make sure i need to package those gems as well? i mean, they're development dependencies and i am struggling to understand if that means they are required in order to *use* that gem
<skywalker> would you help me clarifying this?
<pyrmont> No, they're not required. They won't be installed by gem program if you just require the gem.
<pyrmont> *the gem program
pupsikov has joined #ruby
<pyrmont> They will be installed if you check the code out (I presume it's on GitHub) and then run bundle install from the root directory of the code.
<skywalker> right, so in that case, i don't need to package the other gems. if they were "runtime dependencies" i would then. correct? (seems obvious just making sure, though)
<pyrmont> I'm not familiar with how the packaging you're talking about works but if dependencies are runtime then they will be installed by the gem program.
StoneCypherWork has quit [Ping timeout: 260 seconds]
cassidy34 has quit [Remote host closed the connection]
impermanence has quit [Remote host closed the connection]
<skywalker> ok, thanks pyrmont
rogertosb has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
gordobill has quit [Remote host closed the connection]
Bounga` has joined #ruby
Bounga has quit [Ping timeout: 272 seconds]
Bounga` has quit [Ping timeout: 272 seconds]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
StoneCypherWork has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
burningserenity has quit [Ping timeout: 255 seconds]
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyWork has quit [Ping timeout: 256 seconds]
whathappens has joined #ruby
d3bug has joined #ruby
olddogbarks has joined #ruby
conta1 has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
burningserenity has joined #ruby
NODE has quit [Quit: changing servers]
fercell has quit [Quit: WeeChat 2.7]
NODE has joined #ruby
lxsameer has quit [Ping timeout: 256 seconds]
gix has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
fphilipe_ has quit [Quit: WeeChat 2.4]
mokha has quit [Read error: Connection reset by peer]
schne1der has joined #ruby
smoochsmooch has joined #ruby
orbyt_ has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
conta1 has quit [Quit: conta1]
ianbrown78 has joined #ruby
markopasha has joined #ruby
regedit has joined #ruby
StoneCypherWork has quit [Ping timeout: 240 seconds]
ianbrown78 has quit [Ping timeout: 258 seconds]
teclator has joined #ruby
Xiti has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
Xiti has quit [Changing host]
Xiti has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
royal_screwup21 has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
StoneCypherWork has joined #ruby
Ai9zO5AP has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
StoneCypherWork has quit [Ping timeout: 260 seconds]
StoneCypherWork has joined #ruby
teclator has quit [Ping timeout: 256 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
StoneCypherWork has quit [Ping timeout: 260 seconds]
clemens3 has quit [Ping timeout: 260 seconds]
mre- has joined #ruby
StoneCypherWork has joined #ruby
sam808080 has joined #ruby
StoneCypherWork has quit [Ping timeout: 258 seconds]
zenspider has quit [Ping timeout: 265 seconds]
robotcars has left #ruby [#ruby]
tau has joined #ruby
teclator has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
dviola has quit [Quit: WeeChat 2.7.1]
cnsvc_ has joined #ruby
dStromboli has quit [Ping timeout: 256 seconds]
dStromboli has joined #ruby
sam808080 has quit [Ping timeout: 240 seconds]
mre- has quit [Ping timeout: 240 seconds]
whathappens has quit [Remote host closed the connection]
rippa has joined #ruby
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
whathappens has joined #ruby
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
prestori_ has joined #ruby
whathappens has quit [Remote host closed the connection]
prestorium has quit [Ping timeout: 255 seconds]
whathappens has joined #ruby
prestori_ has quit [Ping timeout: 265 seconds]
m_antis has joined #ruby
m_antis has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
LinuxKnight has quit [Ping timeout: 258 seconds]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
sam808080 has joined #ruby
mre- has joined #ruby
tau has quit [Remote host closed the connection]
mre- has quit [Ping timeout: 240 seconds]
sam808080 has quit [Ping timeout: 255 seconds]
sam808080 has joined #ruby
mre- has joined #ruby
Boc has quit [Read error: Connection reset by peer]
mre- has quit [Ping timeout: 240 seconds]
sam808080 has quit [Ping timeout: 255 seconds]
factormystic has quit [Read error: Connection reset by peer]
sam808080 has joined #ruby
mre- has joined #ruby
zenspider has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
chalkmonster has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
rubydoc_ has joined #ruby
rubydoc has quit [Remote host closed the connection]
jmcgnh has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
ellcs has quit [Ping timeout: 240 seconds]
g3funk has joined #ruby
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
mre- has quit [Ping timeout: 255 seconds]
ellcs has joined #ruby
sam808080 has quit [Ping timeout: 240 seconds]
factormystic has joined #ruby
nofxx__ has joined #ruby
sam808080 has joined #ruby
mre- has joined #ruby
nofxx_ has quit [Ping timeout: 272 seconds]
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
sam808080 has quit [Ping timeout: 256 seconds]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
kinduff has quit [Quit: The Lounge - https://thelounge.chat]
ur5us has joined #ruby
kristian_on_linu has joined #ruby
kinduff has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
duderonomy has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
hiroaki_ has joined #ruby
sam808080 has joined #ruby
mre- has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
smoochsmooch has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
chalkmonster has quit [Quit: WeeChat 2.7.1]
jenrzzz has joined #ruby
leitz has joined #ruby
mre- has quit [Ping timeout: 258 seconds]
sam808080 has quit [Ping timeout: 260 seconds]
sam808080 has joined #ruby
<phaul_> &renick
<rubydoc> okay
rubydoc_ is now known as rubydoc
mre- has joined #ruby
g3funk has joined #ruby
ianbrown78 has joined #ruby
burningserenity has quit [Read error: Connection reset by peer]
<skywalker> hey guys. i am running rspec spec, in a gem's source and apparently rspec is not looking for the gems i have installed, because i am seeing things like "Could not find gem 'rake (~> 10.0)'", but i have rake (12.3.2) installed, for example.
<skywalker> is it an obvious mistake?
soulisson_ has joined #ruby
mre- has quit [Ping timeout: 255 seconds]
sam808080 has quit [Ping timeout: 255 seconds]
burningserenity has joined #ruby
<phaul_> skywalker: is it with bundler? ie Gemfile and did you install with bundle install?
<skywalker> i did not install with bundle install, and it seems that yes, bundler is complaining.
<phaul_> what happens with bundle exec rake?
jmcgnh has quit [Read error: Connection reset by peer]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
<skywalker> i've noted that if i comment/remove the "spec.add_development_dependency" dependencies gemspec and the ones inside the Gemfile, the tests run, no failures
<skywalker> phaul_: it's a redhat system, i cannot use gem to install gems, only dnf/yum (rubygems-gemname)
soulisson has quit [Ping timeout: 256 seconds]
<skywalker> by i cannot, i mean, i should not, because i don't want to mix gems installed by dnf with ones from gem. and all the gems i need are on fedora/redhat's repository
burningserenity has quit [Client Quit]
<phaul_> ok, I'm not familiar with that system.. sorry..
jmcgnh has joined #ruby
<skywalker> np, phaul_
sam808080 has joined #ruby
mre- has joined #ruby
Tempesta has quit [Quit: See ya!]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mre- has quit [Ping timeout: 256 seconds]
sam808080 has quit [Ping timeout: 256 seconds]
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
olddogbarks has quit [Quit: ZZZzzz…]
<leitz> skywalker, could the ~> 10.0 be a mistake, and it's not recognizing a newer gem? What RH are you running?
g3funk has joined #ruby
Ai9zO5AP has quit [Ping timeout: 256 seconds]
olddogbarks has joined #ruby
<skywalker> leitz, i see, i've just tested on a fedora 31 fully updated. i had the same issue
edward69 has joined #ruby
<edward69> hi
<edward69> Please. How to create an associative array in Ruby ?
<havenwood> edward69: hi
<edward69> not an hash table
<havenwood> edward69: We use a dictionary called a "Hash" instead of associative arrays.
<edward69> It's the same thing so ?
Ai9zO5AP has joined #ruby
<skywalker> leitz: https://rubygems.org/gems/puppetserver-ca this is the gem
<havenwood> edward69: The implementation of Hash just isn't backed by Array. In any case, the standard dictionary is Hash in Ruby.
<ewanchic> I know this has nothing to do with ruby, but wondering about computer HW with the whole economic slowdown due to the coronavirus:
<ewanchic> I've heard that if your thinking about building a computer, one should build one now. I've had my i7 with 32GB for 8 years now. I like it. the only thing I need now is more RAM. staying with 1151 CPU series only gets me up to 64GB. However, if I move to a 2066, I could upgrade to 256GB RAM in the future if I need it.
<ewanchic> Any opinions? Any foreseeable trend in Ruby, Rails, programming, etc that might help sway my decision in purchasing HW within the next week or two? Thanks!
<ewanchic> crewed.
<ewanchic> I'm struggling because I really don't have a budget for either. Yet, with my system being 8+ years old, I could be in trouble with my Bread and Butter work. But I could invest and still be in trouble because sometimes new HW can be a pain too (breaking down, not reliable etc). Yet, waiting could be just as bad because of the whole slowdown in parts could drive up prices in a few more weeks and months. So when I really need something, I'm s
<havenwood> ewanchic: Ruby's multi-core story gets nicer with the advent of Isolates in Ruby 3.0—maybe as early as this Christmas.
<havenwood> ewanchic: The hope is to keep Ruby memory use very low, even with the JIT, but the JIT evolving does suggest more memory being useful.
<ewanchic> havenwood: tell me more about that. isolate gem?
<havenwood> ewanchic: Isolates actually mean less memory than a multi-process setup. :) Sec, let me find Ioquatix's update.
Fernando-Basso has quit [Quit: Leaving]
<apotheon> I'm making do just fine with a 2016 laptop maxed out at 20GB RAM.
<havenwood> I'm still waiting on my 16" MBP update. This keyboard....
<apotheon> MBP?
<apotheon> I'm drawing a blank.
<havenwood> apotheon: MacBook Pro
<apotheon> ah
TCZ has joined #ruby
<apotheon> I'm waiting on my new keyboard, which will evidently arrive no earlier than November.
<leitz> I'm on a Goodwill desktop with 8G of ram and 2 cores.
braidn[m] has joined #ruby
<leitz> Instead of a new and bigger machine, I'd get a second one and off-load tasks that can be set aside. And configure it to have your backups.
g3funk has quit [Quit: Textual IRC Client: www.textualapp.com]
<ewanchic> havenwood: Ok. When this I just learned this morning was that there is no more hypertheading in the i7s. so I have a 4core i7, which is 8 in hypertheading. i9s have hyperthreading which the cheapest 2066 cpu has 10 cores with 20 threads, not sure how many virtual cores or if that's even a thing any more.
<leitz> skywalker, I'm not sure what's going on with your gem issue. Unless the LOAD_PATH is messes up.
<leitz> skywalker, if you run an irb session, can you "require 'rake'" and get "true"?
<apotheon> My vague memory of Fedora's Ruby support is that it's . . . let's say it's "idiosyncratic", or "quirky", or something like that.
<apotheon> (re: skywalker et al.)
soulisson_ has quit [Quit: Leaving]
<ewanchic> leitz: I do have a server. My son filled it up with video (and I mean legit video for his youtube projects, editing. He works on cars). So my non-techie wife suggested...are you doing backups of your computer? And she had a point. So I'm looking at another 8TB, 10Tb, or 12TB raid to backup and cycle out older HDDs. thats another $400-600. Which means I'd need to but my workstation upgrade on hold for a while longer.
sam808080 has joined #ruby
cd has joined #ruby
mre- has joined #ruby
<leitz> apotheon, on RH/Fedora boxes I build my own ruby.
<leitz> ewanchic, I'm jealous! It's very difficult to find a decent mechanic that's honest.
<leitz> ewanchic, the reality my budget made me face is "what are you actually doing?" I use a $30 enclosure and a 1 or 2 TB drive over USB. Weekly rsync to those drives, and most of my code and fiction is in git.
<leitz> ewanchic, once in a while I upload to Google Drive, 100 GB for $20 a year. Maybe your mechanic son can pitch in for drive space? :)
<havenwood> Rails runs really well on my phone. ¯\_(ツ)_/¯ It's great we have such tiny hardware now.
<ewanchic> leitz: I hear you. I typically have done all the mechanic work myself, but it gets to a point that coding and auto work takes time, and only one pays the bills. Hmm, I've never really considered a USB rsync, I've always rsynced to my server. But, That is something I should think about. Perhaps I need to RAID 1 my computer. Hmm, thanks for giving me more to consider; perhaps I am aiming too high.
<ewanchic> havenwood: Thanks for the article. You mean a rails server on your phone? what kind of phone are you using?
kristian_on_linu has quit [Remote host closed the connection]
<ewanchic> havenwood: I have an Samsung, S9, Android. I didn't know this was even possible. How are you doing that?
<havenwood> ewanchic: Yup, `rails s` style. A Pixel 3.
<leitz> ewanchic I don't RAID at all, if you screw up the file, it get's RAID'd. I used to run NetBSD on Sparc, and could rsync between the drives, and boot off either one. I use Ansible to configure my nodes, back up /home to an external drive, and keep important stuff in GitHub.
<apotheon> leitz: I'm talking about the gems more than the Ruby executable itself.
<havenwood> ewanchic: Just grab a terminal emulator and you should be good to go.
<apotheon> gems in the package system, that is
sh7d has quit [Quit: meh]
<havenwood> ewanchic: It even works over a local network. It's a fun way to show off your app.
sh7d has joined #ruby
<ewanchic> havenwood: WOW! It's just something I never thought of doing. I just assumed Android was a Java only world. Is there another piratical reason to that on the phone as apposed to over a public network, beside being just local and there when you need it?
<ewanchic> 'practical reason'
<havenwood> ewanchic: I had solar power Edisons serving up daytime only Phoenix app, which I thought was funny.
<havenwood> ewanchic: No, I've only done it for impractical reasons.
<leitz> apotheon, understood. The only reason to use Fedora/RH ruby is to install Ruby, which needs to be on the machine to build Ruby. After that, it's just build Ruby and then use the build "gem" to install stuff.
<skywalker> leitz: yes, it returns true
sh7d has quit [Client Quit]
jmcgnh has quit [Read error: Connection reset by peer]
sh7d has joined #ruby
<leitz> skywalker, then your system can find rake. Unless there's another "rake" there, I'm not sure what's going on.
<ewanchic> RubyMotion!?! I've never heard of this.
ellcs has quit [Ping timeout: 240 seconds]
jmcgnh has joined #ruby
<ewanchic> Hey, thanks everyone for giving me some more to think about!
lucasb has quit [Quit: Connection closed for inactivity]
NODE has quit [Quit: changing servers]
troulouliou_dev has quit [Quit: Leaving]
NODE has joined #ruby
<leitz> It looks like RubyMotion provides an encapsulated Ruby with "your" app? Anything that does that for Linux/Mac/Winderz?
markopasha has quit [Remote host closed the connection]
weird_error has quit [Quit: weird_error]
<adam12> leitz: DragonRuby but it's somewhat game oriented currently.
<adam12> leitz: If you're not opposed to Java startup time you can distribute Ruby in a JRuby JAR file too.
lmns has quit [Quit: The Lounge - https://thelounge.chat]
lmns has joined #ruby
TheDracle has joined #ruby
TheDracle has quit [Client Quit]
ooheitooh has quit [Quit: The Lounge - https://thelounge.chat]
phaul_ has quit [Ping timeout: 240 seconds]
phaul_ has joined #ruby
sergioro has joined #ruby
ianbrown78 has quit [Ping timeout: 258 seconds]
ianbrown78 has joined #ruby
bukkitgerman8 has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman8 has joined #ruby
ag4ve_ has quit [Quit: Lost terminal]
bukkitgerman8 has quit [Client Quit]
Frobozz has joined #ruby
cliluw has joined #ruby
bukkitgerman8 has joined #ruby
kujira has joined #ruby
bukkitgerman8 has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman8 has joined #ruby
chalkmonster has joined #ruby
tpanarch1st has joined #ruby
wildtrees has joined #ruby
Cork has quit [Ping timeout: 268 seconds]
Frobozz_ has joined #ruby
Frobozz has quit [Ping timeout: 258 seconds]
kujira has quit []
edward69 has quit [Remote host closed the connection]
Frobozz has joined #ruby
Frobozz___ has joined #ruby
Frobozz_ has quit [Ping timeout: 256 seconds]
FastJack has quit [Ping timeout: 260 seconds]
Frobozz has quit [Ping timeout: 256 seconds]
<leitz> adam12, my background is more backend, so the *idea* of giving a user something directly seems nice. Not sure I could actually do it. :)
Cork has joined #ruby
nofxx has joined #ruby
nofxx__ has quit [Ping timeout: 258 seconds]
chalkmonster has quit [Quit: WeeChat 2.7.1]
Cork has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]