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? :-)
<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: 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
<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]
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]