Nevermind, i've found the solution, just paste
- Code: Select all
{
"default_extend_env": {
"PATH": "{HOME}/.rbenv/shims:{PATH}"
}
}
into the settings
{
"default_extend_env": {
"PATH": "{HOME}/.rbenv/shims:{PATH}"
}
}Any news on the possibility of iPython on Windows? That would be so great!
SublimeREPL with ipython and pylab.
%pylab qt
or
%pylab wx"bash: no job control in this shell". Any idea how to fix this?
Is there a way of forcing the syntax colouring to a custom setting in the REPL window?
Is it possible to have a different setting for the window that runs the script and the one that emulates the interactive console?
vitaLee wrote:ok i got it.
you need to make adjustment to Packages/SublimeREPL/config/Ruby/Main.sublime-menu
- Code: Select all
"cmd": {
"windows" : ["irb.bat", "--noreadline", "--inf-ruby-mode"],
"linux" : ["irb", "--noreadline", "--inf-ruby-mode"],
"osx" : ["/Users/user_name/.rvm/bin/default_irb", "--noreadline", "--inf-ruby-mode"]
},
and now it should respect current ruby version set in rvm
"cmd": {
"windows": [
// RVM doesn't run on Windows, so no changes needed
],
"linux": [
"/home/user_name/.rvm/bin/default_ruby",
"${packages}/SublimeREPL/config/Ruby/pry_repl.rb",
"$editor"
],
"osx": [
"/Users/user_name/.rvm/bin/default_ruby",
"${packages}/SublimeREPL/config/Ruby/pry_repl.rb",
"$editor"
]
}
Return to Plugin Announcements
Users browsing this forum: No registered users and 6 guests