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 21,494 public repositories matching this topic...
Motivation
The instructions for OpenSuse are incomplete, for Leap 15.1 at least. The command
sudo zypper install -t pattern devel_ruby devel_C_C++
does not install ruby-devel
(only ruby2.5-devel
):
Contents :
S | Name

-
Updated
May 19, 2020
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read [docs.fastlane.tools](htt
-
Updated
Jul 4, 2020 - Swift
In https://github.com/Homebrew/brew/pull/7371/files I have added lots of # TODO: check could be in RuboCop
comments to Library/Homebrew/dev-cmd/audit.rb
. These indicate that the audit check/problem below does not rely on Formula
state so could be moved to a RuboCop (https://github.com/Homebrew/brew/tree/master/Library/Homebrew/rubocops) to be faster, more reliable and provided in-editor to u
Devise.config.send_email_changed_notification sending "Emailed Changed" email when user signs up
Environment
- Ruby 2.4.5
- Rails 4.2.11
- Devise 4.6.1
Current behavior
Devise is sending the "Email Changed" email when a user first signs up. This email is unnecessary because they haven't confirmed this email yet.
GIF showing both "confirmation" email AND "email changed" email.

Actual results
The content of the output indicates that the tool is not aware of the input command, as illustrated:
- it suggests to run that last,
vagrant global-status --prune
. - statement "_The above shows information about all known Vagrant environments on this machine.. This data is cached and may not be com
🚀 Feature Proposal
Selenium 4 brings a set of all-new features and https://www.selenium.dev/documentation/en/ needs to be updated to contain the related docs for them.
Motivation
It'd be nice to have the following new features covered in the docs:
- Relative locators
- CDP integration
- New Grid 4.0
Example
...
-
Updated
Jul 4, 2020 - Ruby
https://github.com/rubocop-hq/ruby-style-guide#no-braces-opts-hash
See also rubocop-hq/rubocop#7641
foo(kw: 1)
and foo({kw: 1})
will have different meanings in Ruby 3. And Ruby warns them since Ruby 2.7 if it is used unexpectedly, and Ruby raises an argument error in Ruby 3.
But the style guide says "always omit the curly braces".
So I propose revising t
Does Truffle support making a programming language in a new character set?
This is with reference to this question. My understanding is tha
I have setup rbenv according to the documentation on a fresh CentOS 7.7 machine. The result is that the installation does not work (ruby
is not found regardless of me adding it as local or global). I finally found out that the shims
directory never makes it to the path and therefore executed
echo 'export PATH="$HOME/.rbenv/shims:$PATH"' >> ~/.bash_profile
which made the stuff work. I a
When you have only one registered aspect, then people belonging to that aspect don't get shown with the name of the aspect, but with the generic "All Aspects".
I don't know if it was meant to be like this, I just find it confusing.
So it seems there is a variable current_path
which points to wherever :deploy:to/current
symlink points. So after deploy:symlink:release
it points to the current release.
Also there is a variable release_path
that seems to point to the current release directory which is created by create_release
task.
What
Whenever I try to install the sinatra gem, the first install hangs during:
"Installing ri documentation for sinatra-2.0.7"
I manually interrupt it, then do it again, and then it works.
I have no idea what causes it, but all the other gems and their ri
documentation do not have this issue.
I believe that there must be something special for sinatra documentation
done that causes this b
Presented on EuRuKo 18 at the github lounge
https://github.com/MarioRuiz/nice_hash
You can easily generate all the hashes you want following the criteria you specify. Many other features coming to Hash class like the methods 'bury' or select_key, access the keys like methods: my_hash.my_key.other_key. You will be able to generate thousands of different hashes just declaring one and test easi
Is your feature request related to a problem? Please describe.
I want to add a role that can access only products and orders. All online documentation is from 2014 or earlier and does not work. The user with the new role (that does not have admin role, but only the new role) cannot access admin panel.
Describe the solution you'd like
Clear, comprehensive Spree extension documentat
-
Updated
Jul 1, 2020 - Ruby
https://github.com/postalhq/postal/wiki/Domains-&-DNS-Configuration
- The assumed IP for tracking is 192.168.1.4 but then is 192.168.0.4 in the "Tracking domain" section.
For this documentation we will assume you have allocated some IP addresses:
...
- 192.168.1.4 - IPv4 address for the "fast" web server (used for tracking)
...- Tracking domain - to configure click & li
@repeatedly , In #1856 issue, I'm very happy to see you add a nice feature to backup for bad chunk. In our production environment, I found it works. But when I check the bad chunk I don't know what tag is it. So I suggest also save the meta information. It is useful for check and repair data.
I think it would be a good idea to mention the tee
command, probably somewhere in the "Cat, Less, Tail and Head" chapter
Custom error formatter must have now 5 arguments instead of the old 4. These changes were introduced here on #1652
When migrating from 0.19 to 1.1.0 I had issues on a custom error formatter because the original_exception argument was introduced but that change was not documented on the upgrading guide.
I wanted to ask if a migration guide was created for going from a 1.4.3 version to a 2.x version? If there is no migration guide, what non-passive changes were introduced that caused the 2.x version bump?
Complete YARD docs
Here are all the Faker classes that have been updated with YARD docs/need to be updated:
- Blockchain
- Aeternity (#1742)
- Bitcoin (#1553)
- Ethereum (#1553)
- Tezos (#1553)
- Books
- Book (#1553)
- Culture (#1553) - Still needs descriptions for the YARD docs.
- Dune (#1553)
- Lovecraft (#1553)
- Creature
- Animal (#1
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
We've received a good amount of feedback for formatting values instantiated within the page_entries_info
method. Currently we don't have a concrete interface for the method and Kaminari users need to implement a decorator that's not intuitive. It would be helpful if the method sends a certain sed of messages to the collection
object. I'm not sure what the interface should look like, but here i
For now, there is no mention of Webpack in the official guides – neither on edge guides – except for Ruby on Rails 6 release notes and upgrade guide. The documentation of the Webpacker gem is quite good, but a newcomer to Rails wouldn't know at first that he needs to have a look to it.
Specifically, it would be good to have a mention of Webpack in the following guides: