Sublime Forum

Unable to Determine / Define Version of Ruby for Builds

#1

I’m having difficulty determining what version of Ruby SublimeText 2 is using for my builds. I tried the following advice http://upstre.am/blog/2011/07/sublime-text-2-with-rvm-on-osx/ to get Sublime Text 2 to use the RVM version of Ruby, but now when I run my builds, I get the following error:

[Errno 2] No such file or directory
[cmd: [u’/Users/MY_USERNAME/bin/sublime_rvm.rb’, u’/Users/MY_USERNAME/studio_game/player.rb’]]
[dir: /Users/MY_USERNAME/studio_game]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
[Finished]

I also changed the Ruby.sublime-build package to:

{
“cmd”: “/Users/kyleries/bin/sublime_rvm.rb”, “$file”],
“file_regex”: “^(…?):([0-9]):?([0-9]*)”,
“selector”: “source.ruby”
}

If someone could send me the original build package cmd line, that would be great, and I can try to revert back that way. Thanks!

0 Likes

#2

I’d like to second this request [Errno2].
I’m in the same boat and can’t seem to build Ruby 1.9 in SublimeText2. :cry:
The only difference is that my path reads differently:
[path: /usr/local/bin:/usr/bin:/usr/sbin:/sbin]

**@kries0117: ** :question: where you able to get by this error? What steps did you perform to correct this issue?

0 Likes