havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 2.7.2, 2.6.6, 3.0.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.org | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3 | Can't talk? Register/identify with NickServ
ur5us__ has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
TCZ has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 264 seconds]
rmnull has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 272 seconds]
peteretep has quit [Ping timeout: 244 seconds]
rann has quit [Ping timeout: 260 seconds]
KnownSyntax has quit [Ping timeout: 260 seconds]
podman has quit [Read error: Connection reset by peer]
graphicsv has quit [Read error: Connection reset by peer]
lucasb has quit [Read error: Connection reset by peer]
rann has joined #ruby
coffeejunk has quit [Ping timeout: 246 seconds]
graphicsv has joined #ruby
lucasb has joined #ruby
KnownSyntax has joined #ruby
JayDoubleu has quit [Ping timeout: 260 seconds]
peteretep has joined #ruby
coffeejunk has joined #ruby
JayDoubleu has joined #ruby
podman has joined #ruby
Lyubo1 has quit [Ping timeout: 264 seconds]
zacts has joined #ruby
ChmEarl has quit [Quit: Leaving]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
zacts has quit [Quit: leaving]
chouhoulis has quit [Ping timeout: 264 seconds]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hassox has joined #ruby
ta has quit [Ping timeout: 265 seconds]
ta has joined #ruby
cthulchu_ has quit [Ping timeout: 268 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
zacts has joined #ruby
hassox has quit [Ping timeout: 268 seconds]
bsdbandit-01 has quit [Remote host closed the connection]
DTZUZU has quit [Read error: Connection reset by peer]
DTZUZU has joined #ruby
zacts has quit [Quit: leaving]
Synthead has joined #ruby
<Synthead> I have a ruby project that writes gems to vendor/cache, and I can't seem to figure out why
<Synthead> I don't have a .bundle/config anywhere that has this setting
<Synthead> grep'ing for "vendor" in the project yields nothing interesting
<Synthead> my env vars don't have anything bundle-related
<Synthead> what could this be?
<Synthead> I'm using rbenv, if it matters
cloud69 has joined #ruby
ur5us__ has quit [Ping timeout: 264 seconds]
<adam12> Synthead: Can you paste output of `bundle env` somewhere?
ur5us__ has joined #ruby
<Synthead> adam12: is there something specific that you're looking for?
<adam12> Synthead: Environment and Bundler settings.
howdoi has quit [Quit: Connection closed for inactivity]
<adam12> Synthead: There was no `Bundler settings` section I presume?
<Synthead> adam12: yeah no other bundler section
<adam12> Synthead: Very strange.
<Synthead> that's what I thought!
<adam12> Synthead: Any chance of a .bundle/config higher up the directory tree?
<Synthead> that's what I looked for after I found no local .bundle/config
<adam12> Synthead: It's just this project?
<Synthead> there are .bundle/config files for other projects in other directories, but nothing in a parent scope
<adam12> Synthead: No chance `bundle` is an alias?
<Synthead> it's a bash function via rbenv, but nothing crazy
<Synthead> I did a rbenv rehash just because, and no difference
donofrio has quit [Remote host closed the connection]
<adam12> Synthead: Does the repo normally have a vendor/cache that you know of?
<Synthead> one exists for a specific vendored gem, yeah
<Synthead> I did a grep for "vendor" on the entire project, and there isn't anything interesting other than a script to vendor said gem
<Synthead> interesting
<Synthead> if I rm the vendor directory and run bundle, the new bundled gems don't appear
<Synthead> is this something that automatically happens with a bundle/gems directory?
<adam12> vendor/cache likely came from bundle package
<adam12> `bundle package`
<adam12> But because bundler sees `vendor/cache`, I wonder if it just presumes to cache everything.
<adam12> I don't normally use `bundle package`.
<adam12> s/cache everything/use cache folder for everything/
<Synthead> there are some manual steps in a script (that doesn't use bundle package)
<Synthead> yeah I kinda wonder about that, too
<Synthead> maybe I can set an env var or a bundle config to avoid it? I'll look this up
<adam12> Synthead: I've got to sign off. Good luck!
<Synthead> thanks for the pointers, adam12! I think this gets me in the right direction, thanks so much!
<adam12> Synthead: Cheers!
shoshin1 has joined #ruby
shoshin has quit [Ping timeout: 260 seconds]
shoshin1 is now known as shoshin
ur5us__ has quit [Ping timeout: 264 seconds]
Synthead has quit [Quit: Leaving]
Technodrome has joined #ruby
Technodrome has quit [Client Quit]
hiroaki has quit [Ping timeout: 264 seconds]
Technodrome has joined #ruby
hassox has joined #ruby
zacts has joined #ruby
hassox has quit [Ping timeout: 258 seconds]
zacts has quit [Ping timeout: 260 seconds]
hiroaki has joined #ruby
bocaneri has joined #ruby
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fandre1986 has quit [Quit: Connection closed]
_whitelogger has joined #ruby
hassox has joined #ruby
hassox has quit [Ping timeout: 268 seconds]
howdoi has joined #ruby
Moeh has joined #ruby
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cloud69 has quit [Quit: Connection closed for inactivity]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
burgestrand has joined #ruby
roger_rabbit has quit [Ping timeout: 256 seconds]
dain has quit [Quit: Connection closed for inactivity]
Glumetu has joined #ruby
BSaboia has joined #ruby
imode has quit [Ping timeout: 240 seconds]
TomyWork has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
alexherbo2 has joined #ruby
burgestrand has quit [Quit: burgestrand]
dionysus69 has joined #ruby
burgestrand has joined #ruby
fandre1986 has joined #ruby
cd has quit [Quit: cd]
Moeh has quit [Quit: Textual IRC Client: www.textualapp.com]
TCZ has joined #ruby
eddof13 has quit [Ping timeout: 264 seconds]
Sina has quit [Ping timeout: 272 seconds]
Sina has joined #ruby
Hien has quit [Ping timeout: 272 seconds]
Hien has joined #ruby
hassox has joined #ruby
hassox has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
akem_ has joined #ruby
akem has quit [Ping timeout: 268 seconds]
ta has quit [Quit: WeeChat 2.9]
ta has joined #ruby
jud has quit [Ping timeout: 264 seconds]
impermanence has quit [Quit: Connection closed]
ap4y has quit [Ping timeout: 264 seconds]
hassox has joined #ruby
bmurt has joined #ruby
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
vondruch_ is now known as vondruch
zacts has joined #ruby
dviola has quit [Quit: WeeChat 2.9]
HeavyBurtation has joined #ruby
<HeavyBurtation> hi !
<HeavyBurtation> i am here to learn about ruby
akem_ has quit [Quit: Leaving]
<nakilon> you are welcome
<HeavyBurtation> thanks
<HeavyBurtation> so what is ruby ?
<HeavyBurtation> is ruby good ?
<nakilon> are you troll?
Rudd0 has quit [Ping timeout: 260 seconds]
hassox has quit [Ping timeout: 268 seconds]
Technodrome has joined #ruby
donofrio has joined #ruby
TCZ has quit [Quit: Leaving]
mohsen_in has joined #ruby
mohsen_in has quit [Client Quit]
HeavyBurtation was kicked from #ruby by adam12 [Your conduct is not welcome in this channel]
akem has joined #ruby
burgestr_ has joined #ruby
burgestrand has quit [Ping timeout: 258 seconds]
TCZ has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.9]
ua has quit [Ping timeout: 264 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
ua has joined #ruby
akem has quit [Ping timeout: 260 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpz has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
nickb has joined #ruby
<nickb> Hello ruby people! I don't use ruby nor do I have any experience with it, but I need to run a build script which happens to be in ruby. Problem is the dependency on `json 1.8.1` which doesn't seem to work. So far I've tried to install it within rvm with ruby 2.7.0 and 2.7.1 and on native ruby 2.7.2. Can someone hold my hand while I'm trying to set this up? :-)
jpz has joined #ruby
zacts has quit [Ping timeout: 264 seconds]
al2o3-cr has joined #ruby
jpz has quit [Ping timeout: 240 seconds]
stoffus_ has quit [Quit: leaving]
wimpog has joined #ruby
<wimpog> Could someone please help me with this error: TypeError can't quote Rack::Session::SessionId
<wimpog> Here is the entire dump: https://pastebin.com/MqPdVKZ2
<havenwood> nickb: Rails 4 is too old for modern Ruby.
<nickb> havenwood: is there a hope?
<havenwood> nickb: You can use an older Ruby, or better yet update the Rails project. Either way should work.
<nickb> how would I do the latter?
<havenwood> nickb: Rails 4.1 is tested up to Ruby 2.3. It's past end of life, so optimal to update Rails but for a non-trivial app that will take some changes to the code.
<havenwood> nickb: For example, the first step from 4.1 to 4.2: https://www.fastruby.io/blog/rails/upgrades/upgrade-rails-from-4-1-to-4-2.html
<havenwood> nickb: Or you could try upgrading straight to 5.0.
<havenwood> You need to get to latest 5 or 6.
<havenwood> wimpog:
<wimpog> havenwood: yes? Could you help me?
<havenwood> wimpog: Was meaning to click your link to look, not type you name. Sec!
<wimpog> havenwood: thank you!
vondruch has quit [Quit: vondruch]
<adam12> nickb: is there a Gemfile.lock in this project?
jpz has joined #ruby
<havenwood> I'd think Rails 4.1 there would be.
<nickb> adam12: yep
<havenwood> `bundle update json` might work?
<adam12> nickb: Upgrading is probably still your best bet, but updating the json dependency might be a reasonable stopgap.
<adam12> nickb: What havenwood said above ^
<wimpog> havenwood: you mena this for me?
<nickb> adam12: well now next thing failed :-))
<nickb> adam12: An error occurred while installing pg (0.17.1), and Bundler cannot continue.
<adam12> nickb: You might be missing postgres dev dependencies for your distro.
<nickb> that is true
<adam12> wimpog: Not much to go on. What were you doing when this error occured? I see sidekiq's web interface in the trace; was it something in Sidekiq?
<wimpog> adam12: yeah, that happens when I access sidekiq web interface
<adam12> wimpog: has it always? or has it worked before?
<wimpog> adam12: worked before on older version of ruby, rails and sidekiq
burgestr_ has quit [Quit: burgestr_]
<wimpog> adam12: thanks, I'll take a look!
<wimpog> adam12: here is where the error is occurring according to the dump: https://pastebin.com/8NFdFwtp
<adam12> wimpog: Nah, I think that's misdirection.
<adam12> wimpog: It referenced line 10, which does nothing but pass through the call. The error is elsewhere; my guess is in the session store gem.
<havenwood> wimpog: That's just showing the app getting called, but nothing interesting there.
<nickb> adam12: I fixed the pg part and now its complaining about the bundle itself :-( bundler (~> 1.5) Current Bundler version: bundler (2.1.4)
<adam12> nickb: You can install an older version of bundler. `gem install bundler -v 1` maybe.
<wimpog> adam12: should I upgrade that gem?
<adam12> nickb: Or just delete the 2 lines from Gemfile.lock BUNDLED WITH
<havenwood> nickb: gem install bundler --version "~> 1.5"
<adam12> wimpog: If there's an upgrade, maybe. Did you see last comment in that thread I linked?
<nickb> havenwood: ok but how do I run the necessary version of bundler?
<havenwood> nickb: then: bundle _1.17.3_ ...
<nickb> havenwood: or will it know itself?
<nickb> ahaa
<wimpog> adam12: trying....
<havenwood> nickb: The convention is to add the version you want inside underscores after the command.
<nickb> heh it worked
<nickb> thanks guys you're great!
<adam12> nickb: cheers!
<havenwood> ?crosspost wimpog
<havenwood> wimpog: As a courtesy, please let folk in other channels know if you've crossposted, so they can follow along with your question and not waste time.
<wimpog> havenwood: ok will do
akem has joined #ruby
<havenwood> (Question crossposted in the #rubyonrails channel.)
ChmEarl has joined #ruby
vondruch has joined #ruby
<wimpog> havenwood: adam12: I applied creature's suggestion in the RubyOnRails channel and changed the code in config/initializers/session_store.rb from Rails.application.config.session_store :active_record_store, :key => '_enrollify_session' to Rails.application.config.action_dispatch.session_store :active_record_store, :key => '_enrollify_session' and the error went away! Now it works! Thank you both as well!!!
<wimpog> havenwood: thank you!
<wimpog> adam12: thank you!
<havenwood> wimpog: ah, nice
<wimpog> havenwood: might be useful if anyone else comes here with the same error.
<wimpog> havenwood: tell them to check config/initializers/session_store.rb and verify it is Rails.application.config.action_dispatch.session_store
orbyt_ has joined #ruby
imode has joined #ruby
dionysus69 has quit [Ping timeout: 264 seconds]
hiroaki has quit [Ping timeout: 268 seconds]
vondruch_ has joined #ruby
Rudd0 has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
vondruch_ is now known as vondruch
Glumetu has quit [Quit: Glumetu]
cthulchu_ has joined #ruby
akem has quit [Ping timeout: 260 seconds]
vondruch has quit [Quit: vondruch]
hiroaki has joined #ruby
vondruch has joined #ruby
alexherbo27 has joined #ruby
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ruby
alexherbo27 has quit [Ping timeout: 256 seconds]
wimpog has quit [Quit: wimpog]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
alexherbo2 has quit [Ping timeout: 272 seconds]
elcontrastador has joined #ruby
alexherbo2 has joined #ruby
burgestrand has joined #ruby
burgestrand has quit [Client Quit]
vondruch has quit [Ping timeout: 264 seconds]
vondruch has joined #ruby
kinduff488832 has quit [Read error: Connection reset by peer]
zacts has joined #ruby
wimpog has joined #ruby
zacts has quit [Client Quit]
alexherbo21 has joined #ruby
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo21 is now known as alexherbo2
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
cloud69 has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
vondruch has joined #ruby
hiroaki has quit [Ping timeout: 268 seconds]
akem has joined #ruby
jordanm has quit [Ping timeout: 246 seconds]
jordanm has joined #ruby
TCZ has quit [Quit: Leaving]
code_zombie has joined #ruby
rippa has joined #ruby
dhollinger has quit [Ping timeout: 272 seconds]
dhollinger has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Ping timeout: 272 seconds]
vondruch has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
TomyWork has quit [Remote host closed the connection]
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
bmurt has joined #ruby
wimpog has quit [Quit: wimpog]
fandre1986 has quit [Quit: Connection closed]
mohsen_in has joined #ruby
TCZ has joined #ruby
sphex has quit [Ping timeout: 256 seconds]
sphex has joined #ruby
mohsen_in has quit [Quit: Leaving]
iamnix has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wimpog has joined #ruby
<wimpog> (Crossposted #RubyOnRails): So I have Rails.application.config.action_dispatch.session_store :active_record_store, :key => '_enrollify_session' in my config/initializers/session_store.rb but I sometimes get a ActionDispatch::Cookies::CookieOverflow error. What should I look into?
davispuh has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wimpog> Anyone?
nickb has quit [Ping timeout: 244 seconds]
d0liver has quit [Ping timeout: 260 seconds]
kwilczynski has quit [Ping timeout: 272 seconds]
fowl has quit [Ping timeout: 260 seconds]
kwilczynski has joined #ruby
nickb has joined #ruby
proc has quit [Ping timeout: 260 seconds]
proc has joined #ruby
d0liver has joined #ruby
fowl has joined #ruby
iamnix has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
hiroaki has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
BSaboia has joined #ruby
pgib has joined #ruby
BSaboia has quit [Client Quit]
hiroaki has quit [Ping timeout: 264 seconds]
hiroaki has joined #ruby
hiroaki has quit [Remote host closed the connection]
hiroaki has joined #ruby
mohsen_in has joined #ruby
mohsen_in has quit [Ping timeout: 268 seconds]
cloud69 has quit [Quit: Connection closed for inactivity]
mohsen_in has joined #ruby
pwnd_sfw has joined #ruby
TCZ has quit [Quit: Leaving]
bmurt has joined #ruby
bmurt has quit [Client Quit]
cloud69 has joined #ruby
ap4y has joined #ruby
TCZ has joined #ruby
zacts has joined #ruby
zacts has quit [Client Quit]
dionysus69 has joined #ruby
zacts has joined #ruby
cliluw has joined #ruby
mohsen_in has quit [Quit: Leaving]
reyfi9e has quit [Quit: Konversation term]
Exagone313 has quit [Quit: see ya!]
Exagone313 has joined #ruby