I want to use the wiki on GitHub, and also use without Internet.
So I focus on gollum -- A git-based Wiki,but it is not possible on Windows.
But in the README.md on GitHub, they say in the Windows JRuby (1.9.3+ compatible) is needed, and gollum is almost supported.
I want to ask for a guide about how to use gollum on Windows, but i don't find further.
So according to a comment (from 2020) in the ticket linked in the other answer, it is possible to run Gollum using JRuby.
I just tried that (February 2021) with JRuby 9.2.14.0 and it worked for me.
Brief instructions (from said comment):
Just use the JRuby for Windows installer and gem install gollum.
The short answer is no. There is a discussion of Gollom's Windows support here. There are a few nasty hacks to get some of it working, but if you value your time choose another wiki.
https://github.com/gollum/gollum/issues/23
There have been several other Gollum based projects like Realms Wiki but they continued to have problems with Windows. There are lots of enthusiastic discussions between people who want to get them working under Windows but there appears to be too many issues relating to Posix/Windows incompatibilities that it didn't seem worth the time or effort to make it work.
The general advice moved towards installing Vagrant, VirtualBox, WSL or another virtual machine and run it under a Unix operating system instead.
#20211225 - gollum on Windows 10
Install cmake (https://cmake.org/download/)
I've used cmake-3.22.1-windows-x86_64.msi
Install ruby (https://rubyinstaller.org/)
I've used Ruby+Devkit 3.0.3-1 (x64)
gem install gollum
Installation really took a while, then be patient.
Everything worked ok.
I've had just problems to make gollum to access the home.md
page of my wiki, then I solved it using this url
http://localhost:4567/home.md
Related
I am literally fighting for my life to get this machine setup for react native development. There have been crazy amount of problems and brew install do not work without arch -arm64. Is this a problem? Why is this?
PS: I am new to mac OS
Its just a question for knowledge
I encourage you to take a look at this repo, mac-dev-setup. All the formulae are pretty well maintained in the homebrew-core.
If you have further doubt, you can also raise in the discussions to get quicker response.
I found a lot of tutorials how to build application with Ruby and Qt, but i have no idea how anybody else will be able to run it! I am using Ubuntu 11.10, ruby 1.9.2 with rvm and:
rbqtapi -v output "QtRuby 2.0.5 using Qt-4.7.4"
P.S. I have no idea how to build *.deb, it will be my first desktop app, not web.
please have a look on http://shoesrb.com/ this is the best way I heard off for writing GUI apps.
Shoes has now not it's greatest time, but we put our best time to make it better, give it a try and someone will help you.
In case you are in need of assistance just ask as question on #shoes IRC channel on freenode servers.
If you're sold on QT, then you will need your users to install all the support libraries for QT (and anything else), then you can upload a rubygem to rubygems.org for your users to download.
Once, they've installed the support libraries, you'd only need to update your rubygem, which is fairly quick and easy for updates.
You may also wan to look at visualruby. It uses GTK. Then you'd install the GTK libraries instead of the QT ones.
http://www.visualruby.net
As far as .deb packages go, I tried to research the same thing with little success. The rubygems packaging system is designed to distribute ruby programs, so it is the best way to go. Also, you'll need to install different support libraries for different platforms. If you look at visualruby's install page, you can see how to install GTK for Linux and Windows.
Good Luck.
How good is the new Ruby Installer for Windows?
I asked before about why Ruby was so slow on windows and now I've seen some impressive benchmarks showing marked speed improvements with the minGW compilation used in the new installers and am curious how it has worked for people who have tried it?
How many gems are broken for this version? Any big ones you have been bit by not on this list?
I've played with it a fair bit. It's definitely faster, both because of the new YARV VM in 1.9.1, and the use of a C compiler created sometime this century.
Pure Ruby gems are pretty reliable, obviously. Getting mswin32 binaries to work is a hit/miss situation (mostly miss IMHO), and native mingw32 binaries are still the exception, not the rule.
I wanted FXRuby on Windows, and went through the following to get it: Getting FXRuby Going with Ruby 1.9.1 and the new RubyInstaller
So it depends what gems you care about and how handy you are with build scripts and such. Despite the heroic efforts of Louis Lavena and the Ruby Installer contributors, Ruby on Windows remains a second-class citizen.
As you've already noticed, the RubyInstaller guys maintain a list of gems known to work, or not, but this is pretty fluid. The mailing list is usually pretty responsive to questions as well.
It's quite a bit faster, the exact experience varying according to your application. For low-volume Rails stuff, for example, I think you would probably not notice much: database access doesn't really change, for example.
Easiest thing is to try it. If you save your ruby\bin and ruby\lib directories first, you can install over your existing Ruby and be able to switch between the two. I think only those two directories are affected - it seems to work for me at least.
Once you have an installed mingw32 instance, start with the gem installs. The ones that have compiled components will hopefully already have mingw32 versions. Failing that, you could try modifying with the mswin32 versions from your "old" lib - I haven't done this myself and have only the vaguest memory of reading something that suggested it may work...
At the bare minimum, the mingw32 binaries run fine. If you start installing some esoteric gems, you might get some install failures. I highly recommend using Ruby on Linux or Mac, everything works better on those platforms. You will actually be spending time writing Ruby code instead of yak shaving your way to get gems to configure and build properly. I am writing this based on installing Ruby 1.9.1 mingw bins. The 1.8 version might be more stable. The msvc Ruby 1.9.1 binaries have their own separate set of issues, mostly run time ones.
It seems to be very counter productive in that so many gems will break on windows. I have been dealing with so many mysql and ruby-mysql gem problems (seg faults occuring in the gem itself, a class called UnixSocket apparently doesn't work well on windows machines, etc etc).
I'm I just wasting my time here? Should I move onto a different scripting language?
I have very little experience with Ruby on Windows but when I was starting with Ruby I was on Windows and I got the general impression that it wasn't a Windows-native system.
So after many years of using primarily Windows, getting into Ruby prompted me to switch back to my original system, Unix, this time to Linux. Ruby did run with less hassle and running bash in its native environment was better than the just-mostly-OK Cygwin. I was happy.
Then my new employer had me switch to the Mac. Now I'm really spoiled, but really happy.
I realize this is subjective but ISTM that Linux was a lot better than windows and the Mac is a lot better than Linux. I could still run Windows in VMWare Fusion if I wanted to, but I don't. I do have some Linux VM's.
I think what I'm really trying to say is that there is a reason Ruby isn't best deployed on Windows. The kind of people who run Ruby are .. I'm trying to think of a non-pejorative word here .. not likely to be found on Windows.
So this is a turning point for you. Yes, .net is a sophisticated and well-documented environment, yes, windows has been reliable for several years now, and yes, it's a respectable system at this point. Yes, it runs Stack Overflow and some of the gurus are Windows guys. But it's just kind of a litmus test for .. darn, missing that word again ..
A lot of people run Windows because they just don't know what else to run. Linux is a good alternative if you have to buy the system yourself. And if you or your employer can afford it, the (Unix-underneath) Mac gives you everything Linux does plus the Mac-specific world.
It's time to choose... :-)
I've been developing with Ruby on Windows for several years, including building and deploying "enterprise" intranet Rails apps running against Oracle, MySQL and SQLServer on both Windows and Solaris servers.
Agreed, there are a few gems that have compiled components whose authors have not built Windows versions - that's OK, it's an open-source platform and they don't have to if they don't want to. Similarly, you're perfectly entitled to (a) ignore libraries that don't have mswin32 or mingw32 versions or (b) give something back by compiling them yourself!
As for the MySQL gem, IIRC on Windows you need the "pure Ruby" adaptor, which does not use the MySQL C API: http://github.com/tmtm/ruby-mysql or gem install ruby-mysql
I don't think you're wasting your time. I've worked with two guys who've done extensive projects on Ruby on Rails apps using Windows XP, like major, long-term projects. They seem to not mind it at all. They both worked on it using the NetBeans IDE. (It has a Ruby-specific version.)
I tried it myself when I first got started with Ruby and didn't run into a lot of errors or problems with gems, though there were some things that worked awkwardly. Usually there was a workaround.
I decided that I greatly preferred using OS X or CentOS Linux for Ruby development. But I know for a fact that working on Windows is possible.
One thing to look out for is that 90% of the Ruby community is on OS X and deploys to Linux, so you'll get more help if you're on one of those OSs.
Another thing to look out for is that the whole Ruby universe and culture is very oriented towards the Unix command line using the bash shell. All your tutorials and stuff are going to kind of assume that. They're going to have instructions like "Go to the shell and run # rake db:migrate and it will be a lot easier to follow those instructions if you have a full-featured shell with command completion, command history, etc. So if you want to work on Windows you might look into installing something like MinGW.
I work on Linux all the time and I'm clueless about Windows, not even having a Windows box. Is Git nowadays working on Windows? Or am I making problems for my Windows pals by using it?
As far as I can tell msysgit works perfectly well under Windows Vista.
This after a whole 2-month experience checking out plugins and applications for Ruby on Rails :-)
Anyway, it was a breeze to install, no problem.
I have had no problems, even with the gui tools (gitk and git gui), using git from Cygwin. The Cygwin people are very conscientious and have a large community to boot.
Yes it does. Check out this screencast at GitCasts.
You should also checkout Git-Extensions which adds git commands as shell extensions - works great with msysgit.
There's a port of Tortoise for GIT, in version 0.4 so far:
Tortoise GIT
I've heard good things about it, but a sticking point for me (and the Japanese company I work for) is lack of cross-platform Unicode filename support. It depends if that particular feature is important to you.
See Issue 80 in the msysgit bug tracker.
See the What DVCS support Unicode filenames? question I asked about this.
It works, but not well. If you Google around a bit, you'll find the port which uses MinGW. The main problems are instability and some very Linux-like tools (gittk). If you really need it though, you should be able to get by.
In the case you are primary using Eclipse as your IDE, there's a fine team provider called EGit, which is pretty easy to install. Check this: http://www.eclipse.org/egit/