I just ran into this too. Use
jruby -J-Djruby.launch.inproc=false -S gem install
--ignore-dependencies ruby-debug-ide
JRuby tries to run Ruby code in the same JVM to avoid the startup hit,
but the shell I/O redirection confuses it.
Pete
On Sat, Sep 12, 2009 at 11:21 PM, Mauro <
mrsanna1@...> wrote:
> 2009/9/12 Chris Nelson <
superchrisnelson@...>:
>> Hmm.. it installed ok for me. It gave me the message about building native
>> extensions, but then it successfully installed. I'm going to try using it
>> from rubymine and make sure it works next.
>
> here it is the error:
>
> jgem install --ignore-dependencies ruby-debug-ide
> Building native extensions. This could take a while...
> rake aborted!
> Don't know how to build task '2>&1'
>
> (See full trace by running task with --trace)
> ERROR: Error installing ruby-debug-ide:
> ERROR: Failed to build gem native extension.
>
> /home/mauro/jruby/bin/jruby mkrf_conf.rb
>
> /home/mauro/jruby/bin/jruby -rubygems
> /home/mauro/jruby-1.3.1/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake
> RUBYARCHDIR=/home/mauro/jruby-1.3.1/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib
> RUBYLIBDIR=/home/mauro/jruby-1.3.1/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib
> (in /home/mauro/jruby-1.3.1/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/ext)
>
>
> Gem files will remain installed in
> /home/mauro/jruby-1.3.1/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9
> for inspection.
> Results logged to
> /home/mauro/jruby-1.3.1/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/ext/gem_make.out
> building
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>
http://xircles.codehaus.org/manage_email>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email