<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
<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]
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.
<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…]