otisolsen70_ has quit [Remote host closed the connection]
otisolsen70 has quit [Ping timeout: 252 seconds]
otisolsen70 has joined #ruby
dionysus69 has joined #ruby
tuxcrafter has joined #ruby
lucartc has joined #ruby
lucartc has quit [Remote host closed the connection]
lucartc has joined #ruby
razetime1 has joined #ruby
razetime has quit [Ping timeout: 246 seconds]
razetime1 is now known as razetime
Sankalp has quit [Ping timeout: 260 seconds]
weaksauc_ has quit [Ping timeout: 246 seconds]
otisolsen70 has quit [Ping timeout: 272 seconds]
weaksauce has joined #ruby
Sankalp has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
leonthemisfit has quit [Quit: WeeChat 3.6]
leonthemisfit has joined #ruby
otisolsen70 has joined #ruby
tuxcrafter has quit [Quit: Client closed]
tuxcrafter has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
aestheti1 has joined #ruby
aesthetikx has quit [Ping timeout: 260 seconds]
otisolsen70 has quit [Quit: Leaving]
Sankalp has joined #ruby
otisolsen70 has joined #ruby
markong has joined #ruby
Mo has joined #ruby
<Mo>
Hi, I'm new to ruby and try to follow https://docs.zammad.org/en/latest/appendix/migrate-to-postgresql.html, the command 'zammad run rake zammad:db:pgloader > /tmp/pgloader-command' fails with "Bundler::RubyVersionMismatch: Your Ruby version is 2.5.9, but your Gemfile specified 2.6.5". What can I do?
leonthemisfit has quit [Quit: WeeChat 3.6]
<ox1eef_>
adam12: Personal opinion here, but rubygems shouldn't allow binaries to be shipped in gems. Especially suid binaries. o_O And it should have a default permission model for gem files other than "whatever the person who built this gem has as permissions at the time of building".
razetime has quit [Read error: Connection reset by peer]
razetime has joined #ruby
rvalue has quit [Ping timeout: 252 seconds]
<ox1eef_>
Mo: You can modify the Gemfile to depend on 2.5.9, or upgrade to ruby 2.6.5.
<Mo>
ox1eef_: Where can I find the Gemfile?
<ox1eef_>
It should be in the root of your project.
<Mo>
From that command, can I see the name of the related gem file?
<Mo>
Reading Bundler::RubyVersionMismatch, it could be /opt/zammad/.gem/ruby/2.5.0/cache/bundler-2.1.4.gem ?
<Mo>
Or /opt/zammad/.rbenv/versions/2.6.5/lib64/ruby/gems/2.6.0/cache/bundler-2.1.4.gem ?
rvalue has joined #ruby
<Mo>
I have no idea about ruby, just administrating the zammad server.
<zaben[m]1>
There should be a file called “Gemfile” in the /opt/zammad directory if that is where Zammad is installed
<zaben[m]1>
Although I would recommend updating your Ruby to a newer version to avoid issues
plantman2 has joined #ruby
<ox1eef_>
What zaben[m]1 said :)
<Mo>
zaben[m]1: That linux distribution doesn't provide a newer ruby version. That Migration is part of the migration to a new Linux with new Zammad.
<Mo>
zaben[m]1: I wonder that zammad was installed and working with that Ruby version but provides an incompatible Gem file for the database migration.
willfish has joined #ruby
<willfish>
how is everyone doing?
<ox1eef_>
I think 2.6 is EOL, and won't receive security updates. If you're managing a server, you probably shouldn't be using it.
<ox1eef_>
Zammad expects 2.5 (even older).
willfish has quit [Client Quit]
otisolsen70_ has joined #ruby
otisolsen70 has quit [Ping timeout: 260 seconds]
otisolsen70_ has quit [Remote host closed the connection]
plantman2 has quit [Ping timeout: 260 seconds]
otisolsen70 has joined #ruby
tuxcrafter has quit [Quit: Client closed]
tuxcrafter has joined #ruby
dviola has joined #ruby
<Mo>
If ruby 2.6 is EOL, is 2.5 already outdated?
<Mo>
It seems that non of the OpenSuse LEAP stable releases provides anything higher than ruby 2.5, is that possible?
otisolsen70 has quit [Quit: Leaving]
Sankalp has quit [Ping timeout: 268 seconds]
razetime has quit [Ping timeout: 272 seconds]
Sankalp has joined #ruby
otisolsen70 has joined #ruby
otisolsen70_ has joined #ruby
otisolsen70 has quit [Ping timeout: 252 seconds]
<ox1eef_>
Anything before, and including 2.6 has reached the end of its life.
<ox1eef_>
It is possible. There are certain distributions that have packages far behind what's recent. I avoid those type of operating systems.
<adam12>
ox1eef_: Have you seen suid binaries? That's crazy if so. I'm not sure I've ever noticed. The offenders I've noticed personally seem to ship the output of bundle install --vendor, intentionally or not, but compiled can be 40+MB. So you get 40-50MB gems, which is insane for what's supposed to be just plain ASCII text.
<adam12>
ox1eef_: The permissions thing is definitely weird. We should probably be forcing it. I know the minitest gems specifically have weird performance issues because of how preforce (Ryan's SCM) handles perms.
razetime has joined #ruby
<adam12>
s/performance/permission
<ox1eef_>
I haven't seen them, but I digged into the issue of permissions a bit and discovered that 1) the permissions of each file is inherited from the builder's machine and 2) you can build a gem yourself (without rubygems), and upload it to rubygems.org. I think both of those issues allow for suid binaries.
<ox1eef_>
I also noticed that 'bundle install' will overwrite the executables of other gems, and not tell you. It's a can of worms.
c10l has quit [Read error: Connection reset by peer]
otisolsen70_ has quit [Quit: Leaving]
c10l has joined #ruby
<ox1eef_>
I thought of this now, but depending on how your $PATH is organized, a rubygem could replace a system binary you might trust. I think there's a lot of issues with it, and no one really cares.
gonix has joined #ruby
mooff has quit [Remote host closed the connection]
mooff has joined #ruby
gonix has quit [Read error: Connection reset by peer]
Sankalp has quit [Ping timeout: 256 seconds]
Sankalp has joined #ruby
shiru has joined #ruby
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp- is now known as Sankalp
otisolsen70 has joined #ruby
shiru has left #ruby [ERC 5.4 (IRC client for GNU Emacs 28.2)]
cartdrige has joined #ruby
otisolsen70 has quit [Quit: Leaving]
Sankalp has quit [Ping timeout: 260 seconds]
Linux_Kerio has joined #ruby
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 260 seconds]
finsternis has quit [Read error: Connection reset by peer]
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 260 seconds]
hightower4 has joined #ruby
hightower3 has quit [Ping timeout: 260 seconds]
hightower4 has quit [Remote host closed the connection]