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 304 public repositories matching this topic...

crowbar27
crowbar27 commented Oct 13, 2019

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

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

davidsantos-br
davidsantos-br commented Apr 15, 2020

It seems that the current behavior when rvm automatically switches Ruby versions is to do it silently if it's by .ruby-version or, if it's because of a Gemfile, display that three-line warning about how Heroku does it too and with instructions on how not to show that warning again.

I think .ruby-version switching the Ruby version silently is not great, because it requires that the user remember

sealmove
sealmove commented Mar 11, 2020

Kaitai Struct uses a specific JSON schema for test output.
I want to target it directly from my target language (Nim) but it is not documented anywhere.

After some experimenting I found out the following keys are supported:

  • status
  • elapsed
  • is_kst

Questions:

  1. Are there other keys supported?
  2. What exactly does the key elapsed mean?
  3. What are all the possible values for th
ChristophHoyer
ChristophHoyer commented Mar 24, 2020

Hej there - I just tried to follow the installation instructions of platform-samples/api/ruby/find-inactive-members/ and the command
gem install octokit
does not work. I tried it with the regular admin, as well as with elevated rights (sudo). The error message is the same:
-bash: gem: command not found

250+ DevOps Bash Scripts, Advanced .bashrc, .vimrc, .screenrc, .tmux.conf, CI configs & Utility Code Library - AWS, GCP, Kubernetes, Kafka, Docker, Hadoop, SQL, Athena, BigQuery, Hive, Impala, PostgreSQL, MySQL, LDAP, Spotify API tools, Git, Code & build linting, package management for Linux / Mac / Python / Perl / Ruby / NodeJS / Golang, and lots more random goodies

  • Updated Jul 7, 2020
  • Shell
JeanMertz
JeanMertz commented Sep 15, 2018

It looks like RVM is no longer updating their binaries for newer OS versions:

chruby-fish ❯ make test

./test/setup
>>> Downloading https://rvm.io/binaries/osx/10.13/x86_64/ruby-2.2.5.tar.bz2 ...
--2018-09-15 10:23:47--  https://rvm.io/binaries/osx/10.13/x86_64/ruby-2.2.5.tar.bz2
Resolving rvm.io (rvm.io)... 151.101.130.49, 151.101.194.49, 151.101.2.49, ...
Connecting to rvm.io 

Created by Yukihiro Matsumoto

Released December 21, 1995

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

Related Topics

language python rails
You can’t perform that action at this time.