Re: [Ironruby-core] Installing gems into IronRuby
Yes - admin mode for cmd is essential for any of this scripting stuff. I used to run into all sorts of errors, even with normal Ruby updates. I now have a cmd shortcut on the desktop that asks for admin and has a couple of other tweak (consolas font, wider window etc) -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Re: [Ironruby-core] Installing gems into IronRuby
Eugene, I've found that it is necessary also to run either cmd or powershell as administrator in order to install gems. Regards, Eduardo Eugene A. wrote in post #1049720: I do have the latest (1.1.3). It's still happening. I think there is an issue with the path somewhere. Is there any sort of log for this? It's rather difficult to figure out where it stumbles without it. Here is the c/p: C:\Ironruby\binigem update --system --no-ri --no-rdoc Updating RubyGems Updating rubygems-update ERROR: While executing gem ... (ArgumentError) Illegal characters in path. -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
[Ironruby-core] Installing gems into IronRuby
Hi, First post here. Excuse a n00b for silly questions. :) I've been trying to figure this out for a short time and while I have an idea, I'd like some confirmation. I need to install a gem so I can automate some WPF code. One I'm planning to use is called bewildr. How do I install gems into Ironruby in Visual Studio 2010? Is there a specific way to do it? Or is installing gems into a general ruby (non-ironruby) install sufficient? -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Re: [Ironruby-core] Installing gems into IronRuby
Just open cmd and run 'igem install bewildr'. If IronRuby binaries folder is not in the PATH environment variable, browse to it first (this is where the igem utility is located). Shay. Shay Friedman | CodeValue http://codevalue.net/ Co-Founder, Dynamic Languages and Web Technologies Expert | Microsoft Visual C#/IronRuby MVP | Author of IronRuby Unleashed Email: shay.fried...@gmail.com | Blog: http://IronShay.comhttp://ironshay.com/ | Twitter: http://twitter.com/ironshay On Thu, Mar 1, 2012 at 7:26 AM, Eugene A. li...@ruby-forum.com wrote: Hi, First post here. Excuse a n00b for silly questions. :) I've been trying to figure this out for a short time and while I have an idea, I'd like some confirmation. I need to install a gem so I can automate some WPF code. One I'm planning to use is called bewildr. How do I install gems into Ironruby in Visual Studio 2010? Is there a specific way to do it? Or is installing gems into a general ruby (non-ironruby) install sufficient? -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Re: [Ironruby-core] Installing gems into IronRuby
Thanks, that helps. I tried that and igem was in path. However, here is what I got: C:\Program Files (x86)\IronRuby 1.1\binigem install bewildr ERROR: While executing gem ... (ArgumentError) Illegal characters in path. Same thing happens when I try to do update: C:\Program Files (x86)\IronRuby 1.1\binigem update --system Updating RubyGems Updating rubygems-update ERROR: While executing gem ... (ArgumentError) Illegal characters in path. Any ideas what the problem is? What path is it referring to? I looked at HOME and it appears to be in order: C:\Program Files (x86)\IronRuby 1.1\binSET HOME HOMEDRIVE=C: HOMEPATH=\ -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Re: [Ironruby-core] Installing gems into IronRuby
I think this was a bug in version 1.1. Download the latest bits (1.1.3http://ironruby.com/download/) and this should work. Shay. On Thu, Mar 1, 2012 at 12:11 PM, Eugene A. li...@ruby-forum.com wrote: Thanks, that helps. I tried that and igem was in path. However, here is what I got: C:\Program Files (x86)\IronRuby 1.1\binigem install bewildr ERROR: While executing gem ... (ArgumentError) Illegal characters in path. Same thing happens when I try to do update: C:\Program Files (x86)\IronRuby 1.1\binigem update --system Updating RubyGems Updating rubygems-update ERROR: While executing gem ... (ArgumentError) Illegal characters in path. Any ideas what the problem is? What path is it referring to? I looked at HOME and it appears to be in order: C:\Program Files (x86)\IronRuby 1.1\binSET HOME HOMEDRIVE=C: HOMEPATH=\ -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Re: [Ironruby-core] Installing gems into IronRuby
I do have the latest (1.1.3). It's still happening. I think there is an issue with the path somewhere. Is there any sort of log for this? It's rather difficult to figure out where it stumbles without it. -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Re: [Ironruby-core] Installing gems into IronRuby
Eugene: I assume that you installed the latest version (1.1.3) It would be good to do this first: igem update --system --no-ri --no-rdoc (usually you get errors when trying to instar ri and rdoc documentation) then install using: igem install bewildr --no-ri --no-rdoc (same thing) Hope this works, Eduardo -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Re: [Ironruby-core] Installing gems into IronRuby
Nevermind, I got it! Installed it through NuGet package manager in Visual Studio instead. Both commands worked just fine! -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core