Search
 
SCRIPT & CODE EXAMPLE
 

RUBY

how to check ruby version

// Command line:
$ ruby -v

// Within irb type "RUBY_VERSION"
# => "2.4.1"

// If using RVM:
$ rvm current
# => ruby-2.4.1
Comment

ruby find ruby version in code

# from code
RUBY_VERSION
# => "2.4.1"

# from command line
$ ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]

Comment

PREVIOUS NEXT
Code Example
Ruby :: ruby get substring between two characters 
Ruby :: ruby constructor 
Ruby :: ruby get line from a file 
Ruby :: in query postgres jsonb rails 
Ruby :: ruby gem dir 
Ruby :: find path of module in ruby 
Ruby :: ruby/rails file get line number 
Ruby :: ruby generate random number 
Ruby :: ruby exponent 
Ruby :: how to force exit server in rails 
Ruby :: merge two lists together ruby 
Ruby :: rails check if key exists 
Ruby :: ruby get decimal 
Ruby :: ruby boolean variable 
Ruby :: ruby not include 
Ruby :: ruby iterate hash with index 
Ruby :: contain .where rails 
Ruby :: rails generate controller no respec 
Ruby :: ruby array 
Ruby :: ActionController::InvalidAuthenticityToken rails when submitting form 
Ruby :: infinite loop ruby 
Ruby :: ruby lambda function 
Ruby :: list objects of a class ruby 
Ruby :: rails 
Ruby :: next rails gem 
Ruby :: ruby assign rest of array 
Ruby :: generate float array in ruby 
Ruby :: irb loaderror 
Ruby :: ruby on rails db column contains string 
Ruby :: rails loop 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =