1

Is it possible to configure Komodo edit to work with virtualenv and/or rvm? I'm on linux mint 12

user
  • 973
  • 4
  • 14
  • 29
  • 1
    What do you mean "configure to work"? – Sergio Tulentsev Mar 30 '12 at 08:04
  • @SergioTulentsev I mean `to detect libraries` on windows when you install lets say `PIL` via pipm and `import PIL` then komodo detects all the modules that `PIL` have and autocomplete your code, + you can run the code from komodo, but I'm not using `PyPm` on linux so it won't detect `PIL` or any other libraries because they are installed in virtualenv... I hope that i have clarified my question – user Mar 30 '12 at 08:18

1 Answers1

1

Use the context menu to setup virtualenv. Right-click on Project > Properties > Languages > Python > Additional Python Import Directories.

Use an alias in .profile to add support for rvm.

alias komodo='open -a "Komodo Edit"'

From there, type "rvm use ree( or rbx, or 1.9.1, or whichever version you want)."

Community
  • 1
  • 1
Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265