[Ironruby-core] Assistance Needed Running IronRuby.Rack.Example

Ted Milker tmilker at gmail.com
Tue Jun 23 16:06:38 EDT 2009


Could I get some assistance in running rack on IronRuby?  I am just trying out:

http://github.com/jschementi/ironruby/tree/master/Merlin/Main/Hosts/IronRuby.Rack

from RailsConf, not the latest one from the IronRuby tree.  Everything
has built successfully and I had to modify Web.config to point to my
MRI 1.8 installation directory but this is as far as I can get.  I
have tried both igem install rack and gem install rack but I still
receive this message.  Running on IIS7 under Windows Vista 64bit.  I
do not have any release versions of IronRuby installed on this
machine.  I did not have a IIS_IUSER to assign permissions to but I
did try assigning read/execute permissions to the IIS_IUSRS group with
no change.

Assuming I can get this to work, could I also get some instructions on
how to run Sinatra on top of this?

Error: Gem::LoadError

c:/progra~2/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:826:in
`report_activate_error': Could not find RubyGem rack (= 1.0.0)
 (Gem::LoadError)
	from c:/progra~2/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:260:in `activate'
	from c:/progra~2/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:67:in `gem'
	from :0
	from C:\src\Merlin\Main\Hosts\IronRuby.Rack\RubyEngine.cs:43:in `Execute'
	from C:\src\Merlin\Main\Hosts\IronRuby.Rack\RubyEngine.cs:39:in `Execute'
	from C:\src\Merlin\Main\Hosts\IronRuby.Rack\RubyEngine.cs:31:in `Require'
	from C:\src\Merlin\Main\Hosts\IronRuby.Rack\Application.cs:49:in `InitRack'
	from C:\src\Merlin\Main\Hosts\IronRuby.Rack\Application.cs:28:in `.ctor'
	from C:\src\Merlin\Main\Hosts\IronRuby.Rack\HttpHandlerFactory.cs:41:in
`GetHandler'
	from System.Web:0:in `System.Web.HttpApplication.IExecutionStep.Execute'
	from System.Web:0:in `ExecuteStep'
	from System.Web:0:in `ResumeSteps'
	from System.Web:0:in `BeginProcessRequestNotification'
	from System.Web:0:in `ProcessRequestNotificationPrivate'
	from System.Web:0:in `ProcessRequestNotificationHelper'
	from System.Web:0:in `ProcessRequestNotification'
	from System.Web:0:in `ProcessRequestNotificationHelper'
	from System.Web:0:in `ProcessRequestNotification'

Search paths

C:/src/Merlin/Main/Hosts/IronRuby.Rack/IronRuby.Rack.Example
C:/src/Merlin/Main/Languages/Ruby/Libs
c:/progra~2/ruby/lib/ruby/site_ruby/1.8
c:/progra~2/ruby/lib/ruby/site_ruby
c:/progra~2/ruby/lib/ruby/1.8
.


More information about the Ironruby-core mailing list