Search
 
SCRIPT & CODE EXAMPLE
 

RUBY

run ruby script

Open Command Prompt
Open Files
Go to where your file is located
Click on the file adress bar
Press CTRL + C
In command prompy, type:
cd
and then, press CTRL + V, press enter after that
Type:
ruby '.
type file name
.rb'
Press enter to run it
Example:
Location = C:UsersAdminOther Stuff - Local DriveProjects
Ruby program location = C:UsersAdminOther Stuff - Local DriveProjectsFirst Ruby Program.rb
>>> cd /
>>> cd C:UsersAdminOther Stuff - Local DriveProjects
>>> ruby '.First ruby program.rb'
Comment

PREVIOUS NEXT
Code Example
Ruby :: string ruby 
Ruby :: call the api from ruby 
Ruby :: manage ruby versions 
Ruby :: rails if else assignment one liner 
Ruby :: rails subdomain 
Ruby :: devise update password 
Ruby :: ruby method tap 
Ruby :: rails destroy something from db 
Ruby :: ruby generate array of numbers 
Ruby :: rails check if object is new 
Ruby :: how to unloack user devise rails 
Ruby :: In Jekyll - get the parent url path of a collection with concatenation 
Ruby :: ruby assign rest of array 
Ruby :: multiple seeds in rails 6 
Ruby :: location of a string ruby 
Ruby :: $stdout ruby override 
Ruby :: Ruby deep clone with Marshal 
Ruby :: Range extraction: convert a comma separated list of integers into range format 
Ruby :: link_to 
Ruby :: ruby on rails project 
R :: remove package in r 
R :: need R code 
R :: r convert matrix to list of column vectors 
R :: r bar plot 
R :: R make column of rownames 
R :: export csv file in r 
R :: create vector in r 
R :: how to create for loop through columns and count non na cells by group in r 
R :: how to use r with variable 
R :: how to make the minutes zero in r 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =