How can I use Ruby for ASP

Hi!

I’ve been using Python and starting to use Ruby.
I want to use it for ASP pages.
What should I do to use it?
I installed recent version of Ruby and ActiveScript for Ruby.
Still it doesn’t work.

Error:
The scripting language ‘Ruby’ is not found on the server.

Does anyone know how to do it?

Thanks in advance.

Sam

Do you really want to use ASP? Will RubyWebDialogs
http://www.erikveen.dds.nl/rubywebdialogs/ do what you need?

“Sam Sungshik Kong” ssk@chol.nospam.net wrote in message
news:Bh9rc.69969$PF3.12413@newssvr25.news.prodigy.com

···

Hi!

I’ve been using Python and starting to use Ruby.
I want to use it for ASP pages.
What should I do to use it?
I installed recent version of Ruby and ActiveScript for Ruby.
Still it doesn’t work.

Error:
The scripting language ‘Ruby’ is not found on the server.

Does anyone know how to do it?

Thanks in advance.

Sam

Dave, what I want is to make IIS recognize Ruby Scripting Engine.
However, RubyWebDialogs seems to be very interesting.
I’ll check it out.

I’m still looking for a way to use Ruby for ASP.

Thanks.
Sam

“Dave Burt” burtdav@hotmail.com wrote in message
news:Bv9rc.50450$TT.44383@news-server.bigpond.net.au…

···

Do you really want to use ASP? Will RubyWebDialogs
http://www.erikveen.dds.nl/rubywebdialogs/ do what you need?

“Sam Sungshik Kong” ssk@chol.nospam.net wrote in message
news:Bh9rc.69969$PF3.12413@newssvr25.news.prodigy.com

Hi!

I’ve been using Python and starting to use Ruby.
I want to use it for ASP pages.
What should I do to use it?
I installed recent version of Ruby and ActiveScript for Ruby.
Still it doesn’t work.

Error:
The scripting language ‘Ruby’ is not found on the server.

Does anyone know how to do it?

Thanks in advance.

Sam

You can easily set IIS to have Ruby handle .rb or .rb or whatever files:
IIS Management → Web Sites → Properties → Home Directory tab →
Configuration…
Make sure you check the Hit the script engine/Check that file exists
checkboxes.

Apparently ActiveScriptRuby will do what you’re looking for:
http://www.geocities.co.jp/SiliconValley-PaloAlto/9251/ruby/main.html

Also (instead of that?) there is possibly more than one Ruby / dot NET
bridge you could use to put behind your .aspx pages, if you’re upgrading to
…NET…

“Sam Sungshik Kong” ssk@chol.nospam.net wrote in message
news:4Harc.70006$T54.3412@newssvr25.news.prodigy.com

···

Dave, what I want is to make IIS recognize Ruby Scripting Engine.
However, RubyWebDialogs seems to be very interesting.
I’ll check it out.

I’m still looking for a way to use Ruby for ASP.

Thanks.
Sam

Thanks, Dave!

while reading one of the pages you directed me to, I found out what I did
wrong.
<%@Language=RubyScript%> is the right statement.
<%@Language=Ruby%> is not.
Hmmm…

I appreciate your help.

Now I’m reading Ruby book (which comes with the Ruby program) and I am
becoming a big fan of Ruby.
It’s very elegant and as practical as Python.
Actually I worried about its practicability because it’s pure OO.
I’m having some difficulty understanding iterator (yield statement) but will
overcome it…:wink:

Sam

“Dave Burt” burtdav@hotmail.com wrote in message
news:TSirc.300$L.32@news-server.bigpond.net.au…

You can easily set IIS to have Ruby handle .rb or .rb or whatever files:
IIS Management → Web Sites → Properties → Home Directory tab →
Configuration…
Make sure you check the Hit the script engine/Check that file exists
checkboxes.

Apparently ActiveScriptRuby will do what you’re looking for:
サービス終了のお知らせ

Also (instead of that?) there is possibly more than one Ruby / dot NET
bridge you could use to put behind your .aspx pages, if you’re upgrading
to

···

.NET…
http://www.saltypickle.com/rubydotnet

“Sam Sungshik Kong” ssk@chol.nospam.net wrote in message
news:4Harc.70006$T54.3412@newssvr25.news.prodigy.com

Dave, what I want is to make IIS recognize Ruby Scripting Engine.
However, RubyWebDialogs seems to be very interesting.
I’ll check it out.

I’m still looking for a way to use Ruby for ASP.

Thanks.
Sam