Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > irb on Ruby.NET

Reply
Thread Tools

irb on Ruby.NET

 
 
Andrea Guerra
Guest
Posts: n/a
 
      11-17-2006
Has someone tried to run irb on Ruby.NET? I tried but I just got this
error message:

PS D:\Projects\Ruby.NET\Bin> .\RubyCompiler -I
C:\Programmi\Ruby\lib\ruby\1.8\
C:\Programmi\Ruby\lib\ruby\1.8\launch.rb

Error: Ruby.RubyException: Use Ruby 1.1
at Ruby.Compiler.AST.PROGRAM.ExecuteInit(Assembly Assembly, Frame
caller)
at Ruby.Compiler.AST.PROGRAM.ExecuteInit(PEFile Assembly, Frame
caller)
at Ruby.Methods.rb_f_load.Call1(Object recv, Frame caller, Proc
block, Object fname)
at Ruby.Methods.rb_f_require.Call1(Object recv, Frame caller, Proc
block, Object fname)
at Ruby.Eval.CallPrivate1(Object recv, Frame caller, String
methodId, Proc block, Object arg1)
at launch.Init(Object recv, Frame caller)
at launch.Main(String[] args)

launch.rb code taken from irb.bat script:

#!/bin/ruby

require "irb"

if __FILE__ == $0
IRB.start(__FILE__)
else
# check -e option
if /^-e$/ =~ $0
IRB.start(__FILE__)
else
IRB.setup(__FILE__)
end
end




I use Windows XP SP2, .NET 2.0 and ruby 1.8.

any idea?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
irb require ... where does irb look? what path? anne001 Ruby 1 06-27-2006 12:07 PM
irb question - variable definitions when calling irb from a script problem Nuralanur@aol.com Ruby 1 10-26-2005 09:13 PM
[ANN] irb-history 1.0.0: Persistent, shared Readline history for IRB Sam Stephenson Ruby 1 06-18-2005 08:56 AM
Unable to ping other machines on IRB bridge rwilson Cisco 1 10-28-2003 03:52 PM
Complex configuration using Bridge IRB, NAT, VPN, ACL on cisco router(long) Alexandre Cisco 0 10-17-2003 11:03 AM



Advertisments