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
Re: How to compile Ruby from source on Windows for FS3
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
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
Please help me to solve this problem...
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
Please help me to solve this problem...
- Dimmak01
- Posts: 12
- Joined: Mon Oct 19, 2009 11:38 am
Re: How to compile Ruby from source on Windows for FS3
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
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
-
digitalwhitebyte - Posts: 106
- Joined: Sat Jul 31, 2010 10:20 am
Re: How to compile Ruby from source on Windows for FS3
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
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
- Dimmak01
- Posts: 12
- Joined: Mon Oct 19, 2009 11:38 am
Re: How to compile Ruby from source on Windows for FS3
perfect, optimal solution. updated it to the mini-guide.
-
digitalwhitebyte - Posts: 106
- Joined: Sat Jul 31, 2010 10:20 am
Who is online
Users browsing this forum: Google [Bot] and 74 guests