Its been a long time coming, but I finally sat down this week and wrote the tool that I hope will become the ‘gems’ of .net. Its a humble tool right now and doesn’t do much other than leverage the existing support of the gems framework in ruby and copy files around. But its my hope that from this start great things can happen.
It requires Ruby to be installed on your machine, there is a very simple install here for windows that will make things very easy. Once that is installed you can simply type a few commands in your preferred command shell and be up and running.
gem update --system #to make sure you are on the latest and greatest
gem install nu #this is the app that I am writing
gem install log4net
Now you can go to your project directory and type
nu install log4net
and it will copy the log4net dlls into ‘./lib/log4net-18.104.22.168′ – if the ‘lib’ folder doesn’t float your boat you can say
nu lib YourDirectory
and it will set its configuration file to store that value (which is stored at ‘.nu/config.yaml’). Its a humble tool that I offer to you, anyone can put a gem up on rubygems.org so why don’t you take the 5 minutes to create your first gem, put it up for everyone to grab and bask in the polyglot glory of gems and nu – best buds since last week 😉
If you have any questions I have started a group on google so feel free to drop on by and let me know what’s going on or you can check the tweets at #nuproj.
Have a great weekend everyone.
Also, my buddy Rob has some good posts about gems and .net when thinking about ‘nu’ that you should go and read as well if this is interesting.