Software⏱️ 3 min readπŸ“… 2026-06-19

How to Fix: Sublime Text 2: Ruby Markers plugin error

Sublime Text 2 Ruby Markers plugin error fix

Quick Answer: Check the ST2 $PATH and ensure that rbenv is correctly configured.

The Sublime Text 2 Ruby Markers plugin error is frustrating, especially when it's not due to a simple issue like the Ruby build path. This error occurs in Mac OSX 10.8.3 with Ruby 1.9.3-p392 via rbenv and ST2 version 2.0.1 build 2217.

The error 'There was an OS error: No suce file or directory' is not related to the Ruby build path, which makes it harder to diagnose. However, there are alternative reasons that might cause this issue.

πŸ” Why This Happens

  • The primary reason for this error is a mismatch between the plugin's requirements and the installed gems. The rcodetools gem is required by the Ruby Markers plugin, but it may not be properly configured or installed.
  • Another possible reason is an issue with the ST2 environment or configuration that affects the plugin's functionality.

πŸ”§ Proven Troubleshooting Steps

Configuring the rcodetools gem and checking ST2 environment

  1. Step 1: Open a terminal and run `gem install --local path/to/rcodetools` to reinstall the rcodetools gem.
  2. Step 2: Check if the rcodetools gem is correctly installed by running `gem list rcodetools`. If it's not, remove the gem and reinstall it.
  3. Step 3: Restart ST2 or reload its configuration by running `sublime_st2 -r` in the terminal.

Checking ST2 environment variables

  1. Step 1: Open a new ST2 window and run `echo $PATH` to check if Ruby is correctly added to the system path.
  2. Step 2: If Ruby is not in the PATH, add it by running `export PATH=$PATH:/usr/bin/ruby`. This may vary depending on your rbenv installation.

🎯 Final Words

To resolve the Sublime Text 2 Ruby Markers plugin error, try configuring the rcodetools gem and checking ST2 environment variables. If none of these steps work, you may need to provide more detailed information about your setup or seek further assistance from the Sublime Text community.

Did this fix your problem?

If not, try searching for specific error codes.

πŸ” Search Error Database

❓ Frequently Asked Questions