Closed fabioperrella closed 9 years ago
sys.path
works).Workaround:
try:
from RSpec import shared
except ImportError: # ST2 module loading works slightly different than in 3
import shared
Hi @fabioperrella and @FichteFoll , is this still a concern or has everybody moved to ST3 by now?
@princemaple I moved to ST3!
@fabioperrella good to know!
I got this from sublime console when installing rspec plugin
Reloading plugin /home/saas/.config/sublime-text-2/Packages/RSpec/OpenRSpecFile.py Traceback (most recent call last): File "./sublime_plugin.py", line 62, in reload_plugin File "./OpenRSpecFile.py", line 4, in
from RSpec import shared
ImportError: No module named RSpec