{"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":"http:\/\/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<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Ruby%20Gems%2C%20Mono%20System.Windows.Forms%20on%20Ubuntu&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2007%2F08%2F10%2Fruby-gems-mono-systemwindowsforms-on-ubuntu&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"4cc1ad8251\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-610\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-610\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-610\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","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<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20Ruby%20Gems%2C%20Mono%20System.Windows.Forms%20on%20Ubuntu&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2007%2F08%2F10%2Fruby-gems-mono-systemwindowsforms-on-ubuntu&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"4cc1ad8251\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-610\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-610\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-610\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/08\/10\/ruby-gems-mono-systemwindowsforms-on-ubuntu?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-9Q","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3131,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2015\/11\/10\/ubuntu-online-summit-mysql-variants-in-16-04","url_meta":{"origin":610,"position":0},"title":"Ubuntu Online Summit: MySQL &#038; Variants in 16.04","date":"10\/11\/2015","format":false,"excerpt":"I personally have always enjoyed the Ubuntu Developer Summits (UDS), but nowadays they have been converted to the Ubuntu Online Summits (UOS). Attending them is not always convenient (timezone issues, might be travelling, etc.) so I watched the recorded video of a session I was interested in: MySQL & Variants\u2026","rel":"","context":"In &quot;Distributions&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":519,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/04\/19\/thunderbird-20-is-out","url_meta":{"origin":610,"position":1},"title":"Thunderbird 2.0 is out!","date":"19\/4\/2007","format":false,"excerpt":"Knowing Fedora (Core 6), I won't see Thunderbird 2.0 anytime soon, so I decided to get it via upstream. Some initial comments.No x86_64?Thunderbird only says Linux i686. In fact, its a 32-bit binary, as opposed to what Fedora provides in 64-bit form.file thunderbird-bin thunderbird-bin: ELF 32-bit LSB executable, Intel 80386,\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":529,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/04\/24\/myodbc-not-showing-in-drivers-list-on-mac-os-x","url_meta":{"origin":610,"position":2},"title":"MyODBC not showing in drivers list on Mac OS X","date":"24\/4\/2007","format":false,"excerpt":"Today I missed a bunch of good talks that I was hoping to attend, because I was figuring out a problem at the Guru Bar. Offending criminal: MySQL Connector\/ODBC 3.51. Offending OS: Mac OS X\/PowerPC. OS X comes with an ODBC Administrator. Once you unpack the MySQL package, and the\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3189,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2016\/03\/13\/backing-up-or-taking-out-your-data-from-flickr-with-flickrdownloadr","url_meta":{"origin":610,"position":3},"title":"Backing up or taking out your data from Flickr with flickrdownloadr","date":"13\/3\/2016","format":false,"excerpt":"I've been a Flickr Pro subscriber since 2005. I consume 75.36GB of storage, spread across 25,765 photos. I spent a lot of time on it since 2005, creating albums, joining groups, etc. I love the product and I'm paid up till 2018 and do not intend to stop subscribing to\u2026","rel":"","context":"In &quot;Tech&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":688,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/01\/04\/zimbra-zcs-50-ga-is-it-really-a-ga-release","url_meta":{"origin":610,"position":4},"title":"Zimbra ZCS 5.0 GA &#8211; is it really a GA release?","date":"4\/1\/2008","format":false,"excerpt":"I took the opportunity today evening to get myself upgraded (from 4.5.3_GA_733) to the latest (5.0.0_GA_1869) open source version of Zimbra - ZCS 5.0 GA. The database migration took about the longest, mainly due to some schema changes. Lots of starts and stops to the database. Its now running MySQL\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":493,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/03\/21\/linux-is-going-to-get-friendlier-real-soon-now","url_meta":{"origin":610,"position":5},"title":"Linux is going to get friendlier, real soon now","date":"21\/3\/2007","format":false,"excerpt":"It is. Look what gems I found today:Ubuntu Feisty will have a cool command-not-found package. It will tell you where to find said application, and how to install it. Look at the examples in Alan Pope's blog entry. (apparently, this is in Edgy)Fluendo has got some amazing codecs, and its\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/610"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=610"}],"version-history":[{"count":0,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/610\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=610"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}