Re: installing fruit
- From: Andrew Chen <hangfei@xxxxxxxxx>
- Date: Tue, 29 Jan 2008 17:46:27 -0800 (PST)
Gerry,
Yes, you have ruby, rubygem, and rake.
Please try to do this:
cd fruit\fruit_processor_gem\pkg
gem install fruit_processor_*.gem (or your specific file gem
filename)
I understand the need to use the library on Windows. I don't have a
Windows box to test the Windows installation yet.
Base ruby and rake should run on Windows as well.
Here are what I did:
1. I added misc.rb in the fruit_processor gem.
There is one method is_windows? to test is the OS is Windows or not.
2. I modified rake_base.rb, as one example, for platform specific
commands, you can use this as example.
rake_base.rb:
task :deploy => $goal do
if is_windows?
install("#{Dir.pwd}/#{$goal}", "#{$build_dir}/#{$goal}")
else
ln_sf("#{Dir.pwd}/#{$goal}", "#{$build_dir}/#{$goal}")
end
end
I just released one package that have those changes for Windows.
Please download from CVS head, or this 2.4.3_windows_beta zip file:
https://sourceforge.net/project/showfiles.php?group_id=152125&package_id=261030
Please let me know if it works for you.
Thanks
~Andrew Chen
1. This version was compiled using Microsoft Visual C++ 6, not Cygwin.
As a result, some I/O functionality -- particularly those involving
the Unix fork() system call and pipes -- will not work. The benefit
of using MSVC is to have a more stable and reliable version of Ruby.
!end excerpt
Who would have thought that a scripting language in 2008 would be compiled
by MVC++6? My only experience of pipes is reports of them going wrong. I
imagine the plumbing in linux violating graph theory somehow. Maybe they
did the whole thing with MFC.
There are ruby commands such as "link", and shell commands that will
not work on Windows.
Let me
.
- References:
- installing fruit
- From: Gerry Ford
- Re: installing fruit
- From: Andrew Chen
- Re: installing fruit
- From: Gerry Ford
- installing fruit
- Prev by Date: Re: What is wrong with this search for the character PV/PQ
- Next by Date: Exit code with Fortran 90
- Previous by thread: Re: installing fruit
- Next by thread: Stack overflow problem but increasing stack size does not solve the problem
- Index(es):
Relevant Pages
|
|