SapphireSteel Forum
Welcome, Guest. Please login or register.
May 21, 2013, 01:56:04 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Ruby In Steel and Amethyst IDEs
3884 Posts in 800 Topics by 669 Members
Latest Member: m
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Ruby In Steel
| | |-+  Free Personal Edition of Ruby In Steel
« previous next »
Pages: [1] Print
Author Topic: Free Personal Edition of Ruby In Steel  (Read 5143 times)
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 934



« on: October 06, 2008, 05:36:06 AM »

Released today. Includes the 'All-in-One' installer so comes with everything you need including (optionally) a free copy of Visual Studio.

See here: http://www.sapphiresteel.com/Ruby-In-Steel-New-Free-Edition

best wishes
Huw
Logged
dolzenko
Newbie
*
Posts: 4


« Reply #1 on: October 17, 2008, 01:19:11 AM »

First of all I would like to thank you for this release.

Second - I didn't find any sort of bug tracker for this, so I'm gonna post my bug reports here:

1. The Ruby sub-menu installed into main menu of Visual Studio - "Ruby Run" and "IRB" commands don't respect "Ruby Interpreter" path set in "Projects and Solutions"->"Ruby In Steel"
2. Changing "Ruby Interpreter" path in "Projects and Solutions"->"Ruby In Steel" gives me the following warning: "Warning: cannot find the Ruby interpreter: C:\Program Files\ruby\bin\ruby.exe"
3. Adding IRB to PATH helps, but entering every command echoes it back (I'm not sure if it's intended but that's certainly not the way IRB itself behaves) and is there a way to change default White on Black colors and font size, as those are really hard on eyes if you prefer non contrast color schemes.
Logged
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 934



« Reply #2 on: October 17, 2008, 03:44:02 AM »

I'm not sure I understand your pathing problems. The issues you report are not known bugs (and this has been well tested so I'm surprised you have any problems).

Are you sure you have set the paths in the appropriate places? Remember the default Ruby interpreter path is set in Tools/Options/Projects and Solutions. This is the path that is used in all new projects. Only if you want to override the default path, set this in Project/Properties. But that will only set this for the current project, not for any future projects.

You can change all the colours or load up one of our pre-defined colour schemes. See here:

http://www.sapphiresteel.com/Customize-the-Colours-of-the-Ruby

best wishes

Huw
Logged
dolzenko
Newbie
*
Posts: 4


« Reply #3 on: October 17, 2008, 04:36:52 AM »

Hi Huw

Thanks for that fonts and colors tip!

On Ruby menu - I used Personal Edition on a few installations and these Ruby commands didn't  work on any of these.
As I said in my first message I do set ruby path in Tools/Options/Projects and Solutions/Ruby In Steel pane, and I'm getting the described warning ("cannot find the Ruby interpreter: C:\Program Files\ruby\bin\ruby.exe") and commands not working.

Now I created empty projects and set path to ruby both in Tools/Options/Projects and Solutions and Project/Properties to C:\ruby186\bin\ruby.exe (which is my local ruby installation) but it's steel looking for ruby interpreter in C:\Program Files\ruby\bin while executing the one from C:\ruby186\bin\ruby.exe.

I.e. if I don't have "C:\Program Files\ruby\bin\ruby.exe" file "Ruby Run" command gives me "Cannot find the Ruby interpreter - please check your settings and make sure that you have installed Ruby". When I have this one file everything is working OK - "Ruby Run" command runs C:\ruby186\bin\ruby.exe interpreter.

So my guess would be that theres hardcoded path to Program Files folder somewhere.

PS. I'm running 01.02.0404 version of Personal Edition and I ruby is not in PATH env variable.
« Last Edit: October 17, 2008, 04:38:33 AM by dolzenko » Logged
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 934



« Reply #4 on: October 17, 2008, 05:01:04 AM »

No, it's not hard coded. I have the Personal Edition pointing to c:\ruby\bin\ruby.exe without any other Ruby installation on that system.

As far as I am aware, you should only get the "Cannot find the Ruby interpreter" message when it really can't find ruby.exe. We'll have to scratch our heads a bit to try and figure out what's happening here. You are saying that you have multiple Ruby installations on your PC but RiS defaults to the wrong one (or do you mean you copied ruby.exe alone under /Program Files)? It shouldn't be a problem with either one or multiple Ruby installs (The whole point of being able to select Ruby interpreters on a per-project basis is to allow you to switch from one to the other).

The error message you are getting really does seem to suggest that RiS is failing to find ruby.exe in your selected path.

Have you tried creating a new Solution? It may be that the project config is causing problems. To see if that is so, try creating a completely fresh project with a very simple 'hello world' Ruby program and let us know if this has any problems.

best wishes
Huw
Logged
dolzenko
Newbie
*
Posts: 4


« Reply #5 on: October 17, 2008, 05:33:00 AM »

You are saying that you have multiple Ruby installations on your PC but RiS defaults to the wrong one (or do you mean you copied ruby.exe alone under /Program Files)?
exactly, it doesn't matter if file is actual ruby.exe, it works with 0 bytes size C:\Program Files\ruby\bin\ruby.exe the way I described before (i.e. picking correct installation).
I have ruby installation in C:\ruby186, C:\ruby187, and C:\ruby190.

Have you tried creating a new Solution? It may be that the project config is causing problems. To see if that is so, try creating a completely fresh project with a very simple
'hello world' Ruby program and let us know if this has any problems.
Yes, I tried, actually I've got about 5 such empty solution already Smiley


Logged
dolzenko
Newbie
*
Posts: 4


« Reply #6 on: October 17, 2008, 05:44:05 AM »

Now I did registry search and found that
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages\{325b8569-0c7c-4a6a-8af8-89c3b6bc9e74}\RubyExeNoDebug] was set to the correct path I provided in Tools/Options/Projects and Solutions/Ruby In Steel but
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages\{325b8569-0c7c-4a6a-8af8-89c3b6bc9e74}\RubyInterpreter] was still set to "C:\Program Files\ruby\bin\ruby.exe"

i changed this and now it works like it was supposed to Smiley

"Ruby Command" and "IRB" items are still expecting ruby and IRB to be in PATH, but this is "by design" probably?
« Last Edit: October 17, 2008, 05:46:50 AM by dolzenko » Logged
John W
Newbie
*
Posts: 3


« Reply #7 on: January 02, 2009, 11:01:25 AM »

I'm running the (free) Express edition of Visual Studio 2008.  Is the personal edtion of RiS compatible?
Logged
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 934



« Reply #8 on: January 02, 2009, 11:43:51 AM »

No. This is a limitation that MS has built into the Express Editions - 3rd party packages cannot install into them. You should install our free edition of Visual Studio (use our all-in-one installer). This will coexist with the Express Edition which you already have installed.

best wishes

Huw
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!