Skip to content
#

Ruby

ruby logo

Ruby was developed by Yukihiro "Matz" Matsumoto in 1995 with the intent of having an easily readable programming language. It is used by the Rails framework to create dynamic web-applications. Ruby's syntax is similar to that of Perl and Python.

Here are 24,337 public repositories matching this topic...

mperham
mperham commented Jan 26, 2021

I have a Sidekiq customer complaining of a lot of "stuck" threads. He sends a lot of email so I suspected misbehaving SMTP servers.

The mail gem has support for timeouts here but they default to nil:

https://github.com/mikel/mail/blob/7b3e100f42f2d7738c3af7bf1909777568270b67/lib/mail/network/delivery_methods/smtp.rb#L91

Rails does not appear to set them by default:

https://github.c

brew
graemerocher
graemerocher commented Oct 2, 2019

Currently register looks like:

   private static <T> void register(Map<T, T> substitutions, T annotated, T original, T target) {
        if (annotated != null) {
            guarantee(!substitutions.containsKey(annotated) || substitutions.get(annotated) == original || substitutions.get(annotated) == target, "Already registered: %s", annotated);
            substitutions.put(annotated,
grosser
grosser commented Apr 23, 2021

feature request

We have a project were many people contribute that don't know ruby well, they often write methods that are global, I'd like to stop them
this also often happens in things like Rakefile or *.rake files

Describe the solution you'd like

class Foo
  def not_global <- Good
  end
end
def this_is_global <- Bad
end

Describe alternatives you've consi

spree
Stratus3D
Stratus3D commented Feb 10, 2019

Steps to reproduce

Run asdf. In help output a line is printed for the asdf env command:

asdf env <command> [executable]      Prints or runs an executable under a command environment

I would assume <command> is an arbitrary command. But from what I can tell needs to be a plugin name or a shim name? I'm also not sure how this differs from executing the shim directly.

FY

Created by Yukihiro Matsumoto

Released December 21, 1995

Repository
ruby/ruby
Website
www.ruby-lang.org/en
Wikipedia
Wikipedia

Related Topics

language python rails