SapphireSteel Forum
Welcome, Guest. Please login or register.
June 19, 2013, 04:09:34 AM

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
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Sapphire / Ruby In Steel
| | |-+  Trouble getting book-of-ruby examples running in Ruby In Steel
« previous next »
Pages: [1] Print
Author Topic: Trouble getting book-of-ruby examples running in Ruby In Steel  (Read 1339 times)
JJR
Newbie
*
Posts: 2


« on: April 18, 2011, 06:23:34 PM »

I am sorry to repeat what I have seen in other threads, but the resolutions in those threads have not quite got me there yet.

I installed Ruby through the windows installer 1.9.2, having downloaded book-of-ruby earlier.  I also downloaded and installed Ruby In Steel for VS.

The first issue I had when trying to run the examples in VA was that I got an error message telling me the Ruby Interpreter was in c:\ruby\bin .. when, in fact, I had installed 1.9.2 thru the windows installer and so it was in c:\ruby192\bin ..  I changed the location in the Project.Properties and also in the Tools\Options\Projects and Solutions\Ruby In Steel\Default Ruby Interpreter setting in Visual Studio.  I only got around this when I opended the stproj file and changed a third entry.

Next, I get an error message Cylon initialization failed (Unable to load DLL 'SteelCylon.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E'))

One thread I found (http://sapphiresteel.com/forum/index.php?topic=236.0)

suggested I should install 1.8.6 instead.  So, I un-installed 1.9.2 and installed 1.8.6.  But I get the same error.  Should I un-install everything and start completely from scratch?  I am new to Ruby and really think the book-of-ruby is going to be the best way for me to learn this and would prefer to use the VS IDE.

Thanks in advance for any help
Logged
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 937



« Reply #1 on: April 19, 2011, 03:48:36 AM »

Ruby In Steel 1.x does not support Ruby 1.9. Ruby in Steel 2 (in beta at present) does.

RiS 1: http://www.sapphiresteel.com/spip?page=download
RiS 2: http://sapphiresteel.com/Products/Ruby-In-Steel/article/ruby-in-steel-2-download

You must use the designated versions of the Ruby interpreter for debugging. See here: http://sapphiresteel.com/Products/Ruby-In-Steel/article/ruby-in-steel-prerequisites

best wishes

Huw
Logged
JJR
Newbie
*
Posts: 2


« Reply #2 on: April 19, 2011, 11:14:07 PM »

That's the badger!  I un-installed the 1.8.6 version I had and installed the version supported by RiS1.

I guess I hit problems by downloading examples (book-of-ruby), liking what I saw enough to then install Ruby, followed by RiS a day later!

Thanks for the reply.  While I am here, thanks for book-of-ruby too.  I am finding the incremental pace between chapters and examples just right.  I am a c# developer looking to expand my skill set.  I am going through similar steps with python tutorials in order to make a more informed decision on which to learn more fully and I have to say, I am enjoying RUBY more.
Logged
cander
Newbie
*
Posts: 2


« Reply #3 on: June 24, 2011, 04:53:32 AM »

Thanks Huw, that helped me too!  Like a muppet I went to the download page and saw "Recommended Version" in big bold letters and didn't bother reading anything else!  I know, I know....slow down and rtfm!  Roll Eyes

Thanks
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!