Ruby

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 23,165 public repositories matching this topic...
-
Updated
Dec 14, 2020 - Ruby

-
Updated
Oct 15, 2020
-
Updated
Dec 14, 2020 - Ruby
Homebrew/livecheck provides various automated ways of detecting formulae updates.
Repology provides an API that provides details on whether a Homebrew package is outdated e.g. https://repology.org/metapackage/boost/versions
A separate Ruby application that can be trivially deployed on e
We have currently simple GitHub page, but we need to think about it's update with some better design.
-
Updated
Dec 8, 2020 - Ruby
-
Updated
Dec 13, 2020 - Ruby
-
Updated
Dec 14, 2020 - Ruby
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,
-
Updated
Nov 30, 2020 - Ruby
-
Updated
Dec 11, 2020
To load dependencies withing a gem/app, require_relative
should always be preferred to require
We should check for any instance of (send nil? require `{:__dir__ :__FILE__})
and raise an offense.
I can't event think of a single instance where require
should be called with an interpolated string tbh
I am trying to write my own custom route matcher and using the example in the readme, I receive the following error:
AllButPattern can't be coerced into Mustermann::Pattern (TypeError)
Here is my example code:
require 'sinatra'
get '/index' do
'Hello world!'
end
class AllButPattern
Match = Struct.new(:captu
-
Updated
Dec 14, 2020 - Ruby
-
Updated
Dec 2, 2020 - Ruby
-
Updated
Oct 1, 2020 - Ruby
-
Updated
Dec 14, 2020 - Ruby
-
Updated
Dec 13, 2020 - Shell
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
-
Updated
Dec 14, 2020 - Ruby
I've come up against a bug with ActiveRecord when using namespaces models and polymorphic associations, it's a common use-case so should probably be fixed before a 4.2 release.
Error:
Example: