Re: installing fruit



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
.



Relevant Pages

  • Re: Problems with first gem using Rake/Hoe
    ... that ruby on Windows need to get gem, rake, or other gem installed ... tasks that Rake is failing on I am typing in exactly as Rake is issuing ... and is just Windows that needs it. ...
    (comp.lang.ruby)
  • Re: installing fruit
    ... gem install fruit_processor_*.gem (or your specific file gem ... I understand the need to use the library on Windows. ... Base ruby and rake should run on Windows as well. ... wanted to install fruit. ...
    (comp.lang.fortran)
  • Re: execute method at a certain time
    ... This looks like exactly what I need, basically cron inside ruby. ... I am developing on windows at the moment and I am not sure how to install ... does ruby gems work on windows ?. ... However you will occasionally run across a gem that needs to ...
    (comp.lang.ruby)
  • Re: gem/rdoc/ri errors on mingw
    ... This is what I call (ruby one-click-installer on Windows): ... In my path there is an entry for c:\ruby\bin ... started by windows if you type gem) ...
    (comp.lang.ruby)
  • Re: [OT] Trying to change my OS from Windows to Linux/Mac
    ... > This is not about Ruby itself but about OS. ... > I use Windows at my work and home. ... > I have some questions to linux users and Mac users. ... RPM - after searching some days for all neccesary rpms for upgrading ...
    (comp.lang.ruby)