Who wants to install gems anyways?! Introducing MicroGem
Hi, As most people know installing gems on MacRuby still fails for most gems. I was getting so annoyed looking through the source of RubyGems that I decided to write a clean room implementation of it. For now it only does installing, but was the only goal since that's what fails on MacRuby. It might try to do more to replace RubyGems in the future, discussion/ patches are all welcome. For instance, I'm gonna use it do gem vendoring in Rucola. Anyways, to the real interesting part of this mail :-) I was actually gonna wait with a first release until MicroGem was able to bootstrap itself and install, but I haven't had time for that yet. So for now follow these instructions: Get source: $ git clone git://github.com/alloy/microgem.git $ cd microgem Install the remote gem: $ sudo env PRODUCTION=true macruby ./bin/µgem install alloy- microgem --simple --debug Then to install a gem: $ sudo macµgem install mocha --simple For more information see: http://github.com/alloy/microgem/tree/master Looking forward to reactions. Cheers, Eloy
it looks like a very interesting project but may I suggest you drop the µ letter that most of us probably don't know how to type :( Sticking to ASCII might be better. - Matt On Mon, Feb 9, 2009 at 12:40 AM, Eloy Duran <eloy.de.enige@gmail.com> wrote:
Hi,
As most people know installing gems on MacRuby still fails for most gems. I was getting so annoyed looking through the source of RubyGems that I decided to write a clean room implementation of it. For now it only does installing, but was the only goal since that's what fails on MacRuby. It might try to do more to replace RubyGems in the future, discussion/patches are all welcome. For instance, I'm gonna use it do gem vendoring in Rucola.
Anyways, to the real interesting part of this mail :-) I was actually gonna wait with a first release until MicroGem was able to bootstrap itself and install, but I haven't had time for that yet. So for now follow these instructions:
Get source: $ git clone git://github.com/alloy/microgem.git $ cd microgem
Install the remote gem: $ sudo env PRODUCTION=true macruby ./bin/µgem install alloy-microgem --simple --debug
Then to install a gem: $ sudo macµgem install mocha --simple
For more information see: http://github.com/alloy/microgem/tree/master
Looking forward to reactions.
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hehehe. Actually this is meant as a forced way to have people _not_ think about ASCII too much, as I think that happens way too often :-) However, if there are technical problems I will rename it to, for instance, microgem. But until then I prefer the shorter version. For us on the mac the way to type this character is ALT+M, see the excellent Keyboard Viewer for this kind of info. (Which you might need to enable in System Preferences -> International -> Input menu) Cheers, Eloy On Feb 9, 2009, at 10:11 AM, Matt Aimonetti wrote:
it looks like a very interesting project but may I suggest you drop the µ letter that most of us probably don't know how to type : ( Sticking to ASCII might be better.
- Matt
On Mon, Feb 9, 2009 at 12:40 AM, Eloy Duran <eloy.de.enige@gmail.com> wrote: Hi,
As most people know installing gems on MacRuby still fails for most gems. I was getting so annoyed looking through the source of RubyGems that I decided to write a clean room implementation of it. For now it only does installing, but was the only goal since that's what fails on MacRuby. It might try to do more to replace RubyGems in the future, discussion/patches are all welcome. For instance, I'm gonna use it do gem vendoring in Rucola.
Anyways, to the real interesting part of this mail :-) I was actually gonna wait with a first release until MicroGem was able to bootstrap itself and install, but I haven't had time for that yet. So for now follow these instructions:
Get source: $ git clone git://github.com/alloy/microgem.git $ cd microgem
Install the remote gem: $ sudo env PRODUCTION=true macruby ./bin/µgem install alloy- microgem --simple --debug
Then to install a gem: $ sudo macµgem install mocha --simple
For more information see: http://github.com/alloy/microgem/tree/master
Looking forward to reactions.
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
µ complete me On Mon, Feb 9, 2009 at 7:36 PM, Eloy Duran <eloy.de.enige@gmail.com> wrote:
Hehehe. Actually this is meant as a forced way to have people _not_ think about ASCII too much, as I think that happens way too often :-) However, if there are technical problems I will rename it to, for instance, microgem. But until then I prefer the shorter version. For us on the mac the way to type this character is ALT+M, see the excellent Keyboard Viewer for this kind of info. (Which you might need to enable in System Preferences -> International -> Input menu)
Cheers, Eloy On Feb 9, 2009, at 10:11 AM, Matt Aimonetti wrote:
it looks like a very interesting project but may I suggest you drop the µ letter that most of us probably don't know how to type :( Sticking to ASCII might be better.
- Matt
On Mon, Feb 9, 2009 at 12:40 AM, Eloy Duran <eloy.de.enige@gmail.com> wrote:
Hi,
As most people know installing gems on MacRuby still fails for most gems. I was getting so annoyed looking through the source of RubyGems that I decided to write a clean room implementation of it. For now it only does installing, but was the only goal since that's what fails on MacRuby. It might try to do more to replace RubyGems in the future, discussion/patches are all welcome. For instance, I'm gonna use it do gem vendoring in Rucola.
Anyways, to the real interesting part of this mail :-) I was actually gonna wait with a first release until MicroGem was able to bootstrap itself and install, but I haven't had time for that yet. So for now follow these instructions:
Get source: $ git clone git://github.com/alloy/microgem.git $ cd microgem
Install the remote gem: $ sudo env PRODUCTION=true macruby ./bin/µgem install alloy-microgem --simple --debug
Then to install a gem: $ sudo macµgem install mocha --simple
For more information see: http://github.com/alloy/microgem/tree/master
Looking forward to reactions.
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- Dr Nic Williams iPhone and Rails consultants - http://mocra.com Fun with iPhone/Ruby/Rails/Javascript - http://drnicwilliams.com * Surf Report for iPhone - http://mocra.com/projects/surfreport/ *
On Mon, Feb 9, 2009 at 1:36 AM, Eloy Duran <eloy.de.enige@gmail.com> wrote:
For us on the mac the way to type this character is ALT+M, see the excellent Keyboard Viewer for this kind of info.
This is pretty sweet, but kind of a deal-breaker for those of us who have "use option as meta key" enabled in Terminal.app. ;) j.
As long as I can type microgem (or better, ugem), I don't care what magic characters are allowed. Even overweening cuteness is OK, as long as it's optional... -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm@cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development
Hehehe, ok ok ok. I surrender… http://files.myopera.com/Inquisitor/files/old_forum_import/surrender.jpg Just released 0.2.0 which includes as an alternative the way lamer version: `ugem' ;-) - Eloy On 9 feb 2009, at 23:43, John Barnette wrote:
On Mon, Feb 9, 2009 at 1:36 AM, Eloy Duran <eloy.de.enige@gmail.com> wrote:
For us on the mac the way to type this character is ALT+M, see the excellent Keyboard Viewer for this kind of info.
This is pretty sweet, but kind of a deal-breaker for those of us who have "use option as meta key" enabled in Terminal.app. ;)
j. _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Excellent work Eloy, I look forward to using it :-) You should definitely write in the README file how to manually produce the µ character though :-) As an aside, Patrick Thomson, our new Core OS intern, started to work on the new IO subsystem, which should theoretically fix the IO problems that RubyGems is affected by when trying to download and install gems. Laurent On Feb 9, 2009, at 12:40 AM, Eloy Duran wrote:
Hi,
As most people know installing gems on MacRuby still fails for most gems. I was getting so annoyed looking through the source of RubyGems that I decided to write a clean room implementation of it. For now it only does installing, but was the only goal since that's what fails on MacRuby. It might try to do more to replace RubyGems in the future, discussion/patches are all welcome. For instance, I'm gonna use it do gem vendoring in Rucola.
Anyways, to the real interesting part of this mail :-) I was actually gonna wait with a first release until MicroGem was able to bootstrap itself and install, but I haven't had time for that yet. So for now follow these instructions:
Get source: $ git clone git://github.com/alloy/microgem.git $ cd microgem
Install the remote gem: $ sudo env PRODUCTION=true macruby ./bin/µgem install alloy- microgem --simple --debug
Then to install a gem: $ sudo macµgem install mocha --simple
For more information see: http://github.com/alloy/microgem/tree/master
Looking forward to reactions.
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
ahh Patrick is our new savior :) I can't wait to be able to use macruby with minigems/rubygems. Thanks Laurent for keeping us posted. - Matt On Mon, Feb 9, 2009 at 11:34 AM, Laurent Sansonetti <lsansonetti@apple.com>wrote:
Excellent work Eloy, I look forward to using it :-) You should definitely write in the README file how to manually produce the µ character though :-)
As an aside, Patrick Thomson, our new Core OS intern, started to work on the new IO subsystem, which should theoretically fix the IO problems that RubyGems is affected by when trying to download and install gems.
Laurent
On Feb 9, 2009, at 12:40 AM, Eloy Duran wrote:
Hi,
As most people know installing gems on MacRuby still fails for most gems. I was getting so annoyed looking through the source of RubyGems that I decided to write a clean room implementation of it. For now it only does installing, but was the only goal since that's what fails on MacRuby. It might try to do more to replace RubyGems in the future, discussion/patches are all welcome. For instance, I'm gonna use it do gem vendoring in Rucola.
Anyways, to the real interesting part of this mail :-) I was actually gonna wait with a first release until MicroGem was able to bootstrap itself and install, but I haven't had time for that yet. So for now follow these instructions:
Get source: $ git clone git://github.com/alloy/microgem.git $ cd microgem
Install the remote gem: $ sudo env PRODUCTION=true macruby ./bin/µgem install alloy-microgem --simple --debug
Then to install a gem: $ sudo macµgem install mocha --simple
For more information see: http://github.com/alloy/microgem/tree/master
Looking forward to reactions.
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (7)
-
Dr Nic Williams
-
Eloy Duran
-
John Barnette
-
Laurent Sansonetti
-
Manfred Stienstra
-
Matt Aimonetti
-
Rich Morin