Re: [scite] how can I tell Scite (mac) to use the new ruby version i have installed via rvm ?

50 views
Skip to first unread message

Neil Hodgson

unread,
Feb 19, 2013, 6:05:50 PM2/19/13
to scite-i...@googlegroups.com
pablonolla:

> I have downloaded a newer version (1.9.3) with RVM, and it works fine when running on the Terminal. But on Scite it seems to be using the old one.
> the new version is located in /Users/Bus/.rvm/rubies/ruby-1.9.3-p362/lib/ruby
>
> how can I tell Scite to use that particular version and not the previous one?

Its most likely a difference in the PATH. Try performing this command in both the terminal and SciTE's output pane
echo $PATH
The PATH is initialised by bash reading some dotfiles, most likely ~/.bash_profile and ~/.bashrc.

The Terminal app is trusted so can read these files and everything will be set up. SciTE is sandboxed so has no permission to read these files unless you allow it to through the Allow Access command. To avoid warning messages, SciTE runs bash using only ~/.bashrc so you may need to copy or move commands from ~/.bash_profile (or ~/.profile) into ~/.bashrc.

There is some documentation on issues with sandboxing in the help information included inside SciTE and at
http://www.scintilla.org/Sandbox.html

Neil

Reply all
Reply to author
Forward
0 new messages