SapphireSteel Forum
Welcome,
Guest
. Please
login
or
register
.
June 18, 2013, 09:11:58 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Welcome to the SapphireSteel forum - for discussion of the Sapphire and Amethyst IDEs
3893
Posts in
803
Topics by
672
Members
Latest Member:
davib
SapphireSteel Forum
General
Sapphire / Ruby In Steel
Can't get default interpreter change to stick
« previous
next »
Pages:
[
1
]
Author
Topic: Can't get default interpreter change to stick (Read 1455 times)
amiracam
Jr. Member
Posts: 69
Can't get default interpreter change to stick
«
on:
May 03, 2011, 08:07:32 AM »
I've tried changing the project's properties, and the solutions properties to no avail, whenever I try to run the .rb file in question it complains that it can't see ruby at its stock location i.e. c:\ruby
Logged
Huw Collingbourne
Administrator
Hero Member
Posts: 937
Re: Can't get default interpreter change to stick
«
Reply #1 on:
May 03, 2011, 09:34:54 AM »
Project properties always override global options. If you change the global option this won't effect defaults for pre-existing projects. That needs to be changed in Project properties.
Huw
Logged
amiracam
Jr. Member
Posts: 69
Re: Can't get default interpreter change to stick
«
Reply #2 on:
May 03, 2011, 09:54:35 AM »
that's what I said , I tried changing the project's properties. See here:
http://screencast.com/t/bXAAl3Ifox
I could not change it there so that it would stick, note that there does not seem to be an "apply" button, so I tried just saving all . Anyhow, I gave up and put a Ruby distribution where it seems to want it.
Not a great solution obviously if I'm trying to test different Ruby releases .
Logged
Huw Collingbourne
Administrator
Hero Member
Posts: 937
Re: Can't get default interpreter change to stick
«
Reply #3 on:
May 03, 2011, 10:03:00 AM »
Not sure I understand this. If you change C:\Ruby\bin\ruby.exe to C:\Ruby\binXXX\ruby.exe and save all when you run your program it should use the new directory (and if it doesn't exist it will show an error message). What it won't do is use the new directory in subsequent projects (they will use your Tools/Options global defaults).
Can you explain what I need to do to duplicate your problem.
Huw
Logged
amiracam
Jr. Member
Posts: 69
Re: Can't get default interpreter change to stick
«
Reply #4 on:
May 03, 2011, 10:26:33 AM »
exactly, that is what it did , I changed it there under the projects properties, did a save all , when back to the copy_files.rb tab, tried running the program and was told that it still could not find Ruby under the old location. see here:
http://screencast.com/t/hnA80lea1
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> News and Announcements
=> Amethyst
=> Sapphire / Ruby In Steel
=> Ruby Programming
=> The Snug Bar