havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.0, 3.1.3, 3.0.5, 2.7.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
agent_white has quit [Remote host closed the connection]
stirl has left #ruby [#ruby]
stirl has joined #ruby
stirl has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 248 seconds]
supay has joined #ruby
quazimodo has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
caedmon has joined #ruby
cognemo has quit [Ping timeout: 248 seconds]
Al2O3 has quit [Ping timeout: 252 seconds]
caedmon has quit [Ping timeout: 248 seconds]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
razetime has joined #ruby
Al2O3 has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
supay has quit [Quit: Connection closed for inactivity]
CrazyEddy has quit [Ping timeout: 248 seconds]
caedmon has joined #ruby
Linux_Kerio has joined #ruby
gastus_ has joined #ruby
gastus has quit [Ping timeout: 248 seconds]
John_Ivan has quit [Ping timeout: 256 seconds]
caedmon has quit [Ping timeout: 268 seconds]
razetime has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 255 seconds]
_whitelogger has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
razetime has joined #ruby
reset has quit [Quit: reset]
joto has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
Linux_Kerio has quit [Ping timeout: 268 seconds]
Mo has joined #ruby
<Mo> Hi, I'm new to ruby. I ran into a ruby/gem version issue during https://community.zammad.org/t/migrating-3-4-0-to-5-3-0/10462/18 Any idea how to solve that?
<zaben[m]1> To force it to use a specific bundler version you could use $ bundler _3.2.3_ exec zammad run rake db:migrate where 3.2.3 is the bundler version you want to use
<zaben[m]1> additional to that, if that is your console output, I would highly recommend upgrading to at least Ruby 2.7 as Ruby 2.6 is EOL https://www.ruby-lang.org/en/downloads/branches/
ccapndave has joined #ruby
_aeris_ has joined #ruby
aeris has quit [Remote host closed the connection]
_aeris_ is now known as aeris
ccapndave has quit [Quit: Textual IRC Client: www.textualapp.com]
gonix has joined #ruby
infinityfye has joined #ruby
<Mo> zaben[m]1: It's a package installation of Zammad on Ubuntu 20.04. Doing ruby --version I get ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]
<Mo> I wonder that after 'gem update --system 3.2.3' and 'gem --version' I get 3.2.3, but 'zammad run rake db:migrate' still complains about the version being 3.0.3 but requiring 3.2.3
teclator has joined #ruby
<Mo> Doing 'bundler _3.2.3_ exec zammad run rake db:migrate' I get /usr/share/rvm/rubies/ruby-3.0.4/lib/ruby/site_ruby/3.0.0/rubygems.rb:281:in `find_spec_for_exe': can't find gem bundler (= 3.2.3) with executable bundler (Gem::GemNotFoundException)
_ht has joined #ruby
<zaben[m]1> aah sorry, I misread, I thought it was a bundler version error, not a RubyGems version error. I have found a thread on the RubyGems Github (https://github.com/rubygems/rubygems/issues/3284) that might be able to solve your issue. Try running `$ gem update --system 3.2.3 && gem update --system` before running your normal zammad command as you did originally
ur5us has joined #ruby
dionysus69 has joined #ruby
Sankalp has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Sankalp has joined #ruby
weaksauc_ has quit [Ping timeout: 255 seconds]
ur5us has quit [Ping timeout: 248 seconds]
TomyWork has joined #ruby
fowl0 has joined #ruby
fowl has quit [Ping timeout: 268 seconds]
fowl0 is now known as fowl
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
razetime has quit [Ping timeout: 260 seconds]
razetime has joined #ruby
razetime has quit [Remote host closed the connection]
ccapndave has joined #ruby
ccapndave has quit [Client Quit]
moldorcoder7 has joined #ruby
tomtmym has joined #ruby
<cxl> Hi all, how could I use URI.encode_www_form(hash) with hash = { a: 'b,c' } but where I need the querystring to be `a=b,c` rather than `a=b%2Cc` like that method gives me?
<havenwood> cxl: I guess you could decode it as a component after encoding it.
<havenwood> URI.decode_www_form_component URI.encode_www_form hash
John_Ivan has joined #ruby
konsolebox has joined #ruby
dviola has joined #ruby
hightower2 has quit [Ping timeout: 248 seconds]
gonix has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
sympt has quit [Ping timeout: 265 seconds]
Sankalp has quit [Ping timeout: 256 seconds]
Sankalp has joined #ruby
konsolebox has quit [Quit: Leaving]
markong has joined #ruby
hightower2 has joined #ruby
hightower3 has joined #ruby
gonix has joined #ruby
hightower2 has quit [Ping timeout: 248 seconds]
quazimodo has quit [Ping timeout: 248 seconds]
joto has joined #ruby
teclator has quit [Ping timeout: 246 seconds]
reset has joined #ruby
<Mo> zaben[m]1: I tried that, but still running into the same error.
razetime has joined #ruby
gonix has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
crankharder has joined #ruby
jidar has joined #ruby
Mo has quit [Ping timeout: 252 seconds]
eddof13 has joined #ruby
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
gonix has joined #ruby
wand has joined #ruby
NightMonkey has quit [Quit: ZNC - http://znc.in]
NightMonkey has joined #ruby
c10l has quit [Quit: See ya! o/]
c10l has joined #ruby
Guest81 has joined #ruby
teclator has joined #ruby
Guest81 has quit [Client Quit]
Guest81 has joined #ruby
Guest81 has quit [Client Quit]
Guest81 has joined #ruby
Guest81 has quit [Client Quit]
teclator has quit [Ping timeout: 252 seconds]
__ht has joined #ruby
__ht has quit [Client Quit]
_ht has quit [Ping timeout: 268 seconds]
rvalue has quit [Ping timeout: 252 seconds]
infinityfye has quit [Quit: Leaving]
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
_ht has joined #ruby
rvalue has joined #ruby
snonux has joined #ruby
razetime has quit [Remote host closed the connection]
Sankalp has quit [Ping timeout: 252 seconds]
Sankalp has joined #ruby
snonux has quit [Ping timeout: 252 seconds]
aeris has quit [Ping timeout: 255 seconds]
aeris has joined #ruby
wand has quit [Ping timeout: 255 seconds]
totoro has quit [Ping timeout: 260 seconds]
<adam12> Who's using the Kernel 'gem' method in their gems? http://docs.seattlerb.org/rubygems/Kernel.html#method-i-gem
wand has joined #ruby
ur5us has joined #ruby
<ox1eef_> I guess no one because Bundler solves that problem nowadays.
markong has quit [Ping timeout: 252 seconds]
<adam12> ox1eef_: It's definitely not frequent. I went through source I've been archiving from rubygems.org and it's only in a few places.
<adam12> ox1eef_: IIRC, it's for standalone gems (not using Bundler), where you might not need latest gem version of a dep. I just can't remember seeing it well in practice.
_ht has quit [Quit: _ht]
<ox1eef_> That reminds me of discussions from long ago where some thought it was a bad practice to couple your library to RubyGems.
crankharder has quit [Ping timeout: 252 seconds]
weaksauce has joined #ruby
crankharder has joined #ruby
<adam12> Back when we had to `require "rubygems"`. Heh.
teclator has joined #ruby
_ht has joined #ruby
<ox1eef_> Indeed. I seem to remember some sorta configure switch that can disable RubyGems even today. Memory is fuzzy on that one though.
crankharder has quit [Quit: leaving]
Linux_Kerio has joined #ruby
ua_ has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 255 seconds]
snonux has joined #ruby
ua_ has joined #ruby
TomyWork has quit [Remote host closed the connection]
cryptkeeper has joined #ruby
polishdub has quit [Remote host closed the connection]
ur5us has joined #ruby
snonux has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
joto has quit [Ping timeout: 268 seconds]
___nick___ has quit [Ping timeout: 248 seconds]
_ht has quit [Quit: _ht]
teclator has quit [Ping timeout: 252 seconds]
joto has joined #ruby
snonux has joined #ruby
gr33n7007h has joined #ruby
teclator has joined #ruby
quazimodo has joined #ruby
cryptkeeper has quit [Quit: Connection closed for inactivity]
teclator has quit [Ping timeout: 248 seconds]
markong has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp- is now known as Sankalp
eddof13 has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Linux_Kerio has quit [Ping timeout: 268 seconds]
tomtmym has quit [Quit: Gone.]
markong has quit [Ping timeout: 252 seconds]