{"id":610,"date":"2007-08-10T11:04:24","date_gmt":"2007-08-10T16:04:24","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu"},"modified":"2007-08-10T11:04:29","modified_gmt":"2007-08-10T16:04:29","slug":"ruby-gems-mono-systemwindowsforms-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu","title":{"rendered":"Ruby Gems, Mono System.Windows.Forms on Ubuntu"},"content":{"rendered":"<p>I&#8217;ve recently started doing more development locally on my Ubuntu (Feisty Fawn) laptop (as opposed to being logged in via ssh to various machines, generally running Fedora), and have noticed some quick snags.<\/p>\n<p><b>Ruby Gems<\/b><br \/>They&#8217;re currently installed in <tt>\/var\/lib\/gems\/1.8<\/tt> which is not in your PATH. So if for example, you use cheat, you&#8217;re not going to find it. Fix it via adding <tt>\/var\/lib\/gems\/1.8\/bin<\/tt> to your PATH (my .bashrc has it looking such as: <tt>PATH=$PATH:$HOME\/bin:\/var\/lib\/gems\/1.8\/bin<\/tt>)<\/p>\n<p><b>Mono, and <\/b><span class=\"entry-title entry-content\"><b>System.Windows.Forms<\/b><br \/>I have no problems with Mono and .NET related applications, normally. I run Tomboy (which I like, a lot), I can fire up f-spot, and when I need to Beagle runs fine too. But of late, I&#8217;ve had to run an application that required System.Windows.Forms, aka <a href=\"http:\/\/www.mono-project.com\/WinForms\">WinForms<\/a>. Little did I know I&#8217;d need to install the winforms stuff, so a <tt>sudo apt-get install libmono-winforms*<\/tt> fixed this for me.<\/p>\n<p>This still hasn&#8217;t made my required application run properly, but I&#8217;m now a step closer to finding out compatibility with Windows-based .NET applications and Mono. All thanks to the useful <a href=\"http:\/\/www.mono-project.com\/MoMA\">Mono Migration Analyzer<\/a> (MoMA). Hat tip to <a href=\"http:\/\/ditesh.gathani.org\/blog\/\">Ditesh<\/a> for pointing me to MoMA.<br \/><\/span><\/p>\n<p>Technorati Tags: <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/gems\" rel=\"tag\">gems<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/ruby\" rel=\"tag\">ruby<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/path\" rel=\"tag\">path<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/mono\" rel=\"tag\">mono<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/winforms\" rel=\"tag\">winforms<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/system.windows.forms\" rel=\"tag\">system.windows.forms<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/moma\" rel=\"tag\">moma<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve recently started doing more development locally on my Ubuntu (Feisty Fawn) laptop (as opposed to being logged in via ssh to various machines, generally running Fedora), and have noticed some quick snags. Ruby GemsThey&#8217;re currently installed in \/var\/lib\/gems\/1.8 which is not in your PATH. So if for example, you use cheat, you&#8217;re not going [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-610","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-9Q","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=610"}],"version-history":[{"count":0,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/610\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}