Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

247
Views
Building Ruby from Sublime text 3

My OS: Linux mint.

I installed Ruby using RVM by following a guide from internet. I can now run ruby from terminal.

ruby -v : ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]

and

which ruby:/home/shabin/.rvm/rubies/ruby-2.3.0/bin/ruby

After that installed sublime text 3. Now when i run a ruby build from sublime 3 (Using Ctrl-B), i get below error.

/bin/bash: ruby: command not found
[Finished in 0.0s with exit code 127]
[shell_cmd: ruby "/home/shabin/LRTHW/ex1.rb"]
[dir: /home/shabin/LRTHW]
[path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin:/home/shabin/.rvm/bin]

I followed this question:

Error Building Ruby in Sublime Text Editor

and numerous other sites. By Ruby.sublime-build file is:

{
  "env":{
    "PATH":"/home/shabin/.rvm/bin:${PATH}"
  },
  "cmd": ["rvm-auto-ruby", "$file"],
  "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
  "selector": "source.ruby"

Any pointers?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Are you using the correct build system? "Tools > Build System > Ruby"

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!