# Is this a bug?

**URL:** <https://www.ruby-forum.com/t/is-this-a-bug/178253>\
**Category:** JRuby\
**Created:** [November 1, 2009, 12:13am UTC](https://www.ruby-forum.com/t/is-this-a-bug/178253 "2009-11-01T00:13:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [November 1, 2009, 12:13am UTC](https://www.ruby-forum.com/t/is-this-a-bug/178253/1 "2009-11-01T00:13:25Z")

</div>

$ gem install faster\_rubygems

jruby 1.4.0RC2 (ruby 1.8.7 patchlevel 174) (2009-10-21 7e77f32) (Java  
HotSpot™ Client VM 1.6.0\_13) [x86-java]  
JRuby limited openssl loaded. gem install jruby-openssl for full  
support.  
[http://jruby.kenai.com/pages/JRuby\_Builtin\_OpenSSL](http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL)  
Building native extensions. This could take a while…  
rake aborted!  
Don’t know how to build task ‘2\>&1’  
Thanks!  
-r

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [November 1, 2009, 12:04pm UTC](https://www.ruby-forum.com/t/is-this-a-bug/178253/2 "2009-11-01T12:04:51Z")

</div>

Hi Roger,

Yes, this is a bug, and of my least favorite kind: it involves  
Windows, JRuby’s ShellLauncher and shell redirection, all in one  
bundle. 🙂

Please file it in JIRA.

Thanks,  
–Vladimir

On Sun, Nov 1, 2009 at 12:13 AM, Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Thanks!

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [November 2, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/is-this-a-bug/178253/3 "2009-11-02T19:01:56Z")

</div>

> As a workaround, type the following before starting the installation  
> process:
> 
> set rake=jruby -S rake
> 
> That would allow to install the gem.

Sweet that worked.

> Btw, this faster\_rubygems approach is interesting, and it reduces the  
> gem loading in JRuby case quite significantly.

Nice. It’s basically gem\_prelude for 1.8 – perhaps with jruby’s magic  
they could let us get the benefits of gem\_prelude for both 🙂  
-r

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [November 1, 2009, 12:47pm UTC](https://www.ruby-forum.com/t/is-this-a-bug/178253/4 "2009-11-01T12:47:01Z")

</div>

Roger,

As a workaround, type the following before starting the installation  
process:

set rake=jruby -S rake

That would allow to install the gem.

Btw, this faster\_rubygems approach is interesting, and it reduces the  
gem loading in JRuby case quite significantly.

Thanks,  
–Vladimir

On Sun, Nov 1, 2009 at 12:04 PM, Vladimir S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > Don’t know how to build task ‘2\>&1’

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [November 9, 2009, 9:47am UTC](https://www.ruby-forum.com/t/is-this-a-bug/178253/5 "2009-11-09T09:47:01Z")

</div>

Hi Roger, folks,

On Sun, Nov 1, 2009 at 12:46 PM, Vladimir S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> As a workaround, type the following before starting the installation process:
> 
> set rake=jruby -S rake
> 
> That would allow to install the gem.

The root problem has been fixed on JRuby’s master branch, so the  
workaround is only needed for JRuby 1.4. With the latest development  
version everything sshould work as-is with no tweaks.

Thanks,  
–Vladimir

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [November 9, 2009, 4:24pm UTC](https://www.ruby-forum.com/t/is-this-a-bug/178253/6 "2009-11-09T16:24:48Z")

</div>

> The root problem has been fixed on JRuby’s master branch, so the  
> workaround is only needed for JRuby 1.4. With the latest development  
> version everything sshould work as-is with no tweaks.

Thanks for your work on this.
