Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

How to compile Ruby from source on Windows for FS3

For general discussion related FlowStone

Re: How to compile Ruby from source on Windows for FS3

Postby VPDannyMan » Mon Jun 24, 2013 11:53 pm

No DWB I Think a lot of people agree with you. However, AFAIK it does not matter where you copy the Ruby DLL you can still have only one instance... I may be wrong though but I thought someone here mentioned that...Maybe Trog? I don't know...
VPDannyMan
 
Posts: 118
Joined: Mon Jan 04, 2010 4:50 am

Re: How to compile Ruby from source on Windows for FS3

Postby Dimmak01 » Fri Jul 12, 2013 4:17 pm

Thanks DWB, for a great tutorial, but I still have one question: how to install
pr-zlib? :?:

I made all by your mini-guide and then check:
ruby -v #=> ruby 1.9.3p0 (2011-10-30) [i386-mswin32_90]
gem -v #=> 1.8.11 and no any warnigs( psych installed correctly)

but when I try to install zlib I get this:

C:\>gem install pr-zlib-1.0.0.gem
ERROR: Loading command: install (LoadError)
cannot load such file -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
:shock:
Please help me to solve this problem... :idea:
Dimmak01
 
Posts: 12
Joined: Mon Oct 19, 2009 11:38 am

Re: How to compile Ruby from source on Windows for FS3

Postby digitalwhitebyte » Fri Jul 12, 2013 5:17 pm

you can simply install it by hand.
download it from here.
from the folder [ lib ], take
the folder [ pr ] with its 2 file, and add to the library of your ruby build.
your_build/lib/ruby/1.9.1/pr/rbzlib.rb
your_build/lib/ruby/1.9.1/pr/zlib.rb
User avatar
digitalwhitebyte
 
Posts: 106
Joined: Sat Jul 31, 2010 10:20 am

Re: How to compile Ruby from source on Windows for FS3

Postby Dimmak01 » Fri Jul 12, 2013 8:32 pm

no luck...
My case solution: Download zlib-1.2.5.win32.zip from here
http://xmlsoft.org/sources/win32/

put all files in x:Ruby_source/ext/zlib and

cd x:Ruby_source/ext/zlib
ruby extconf.rb; nmake; nmake install :D
Dimmak01
 
Posts: 12
Joined: Mon Oct 19, 2009 11:38 am

Re: How to compile Ruby from source on Windows for FS3

Postby digitalwhitebyte » Sat Jul 13, 2013 7:25 am

perfect, optimal solution. updated it to the mini-guide.
User avatar
digitalwhitebyte
 
Posts: 106
Joined: Sat Jul 31, 2010 10:20 am

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 83 guests