Attempting To Get IronRuby.Rack Running a non-demo rails site

I have successfully got the IronRuby.Rails.Example project running on my
local machine under IIS 5.1. I am now attempting to get my own demo
rails
site running in the same way. My web.config is different. I am
attempting to
only use what was distributed with IronRuby 1.0 and what I have
installed
using gems.

I am getting the following error which doesn’t give me a lot to go on:

D:/demo/config/boot.rb:66:in `exit’: exit (SystemExit)

After trying many different things, I think it is having a problem
finding
gems. I have attached my web config and ironrack.log. Does anyone have
pointers on what I am doing wrong?

Thanks!


“The explanation requiring the fewest assumptions is most likely to be
correct.”

It would be helpful to know what the output of both *ir -S gem env *and
ir
-S gem list

**You may have a mismatch between the version of Rails that your app is
expecting vs the version you have installed. Check config/environment.rb
for
RAILS_GEM_VERSION


Will G.
http://hotgazpacho.org/

where did you place the web.config?

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C. - Mob: +32.486.787.582
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Microsoft IronRuby/C# MVP

I was able to figure this one out with the help if stackoverflow.
Basically
what it boiled down to was having two version of the rack gem installed;
1.0.1 and 1.1.0. I uninstalled 1.1.0 and it started working. So the
IronRack
implementation sample doesn’t quite meet the spec for the newer version.

On Fri, Apr 16, 2010 at 3:11 AM, Ivan Porto C.
[email protected]wrote:

On Thu, Apr 15, 2010 at 10:42 PM, Bobby J. [email protected]wrote:


“The explanation requiring the fewest assumptions is most likely to be
correct.”

I wouldn’t stress to hard. I am using the IronRack build from the source
on
github, so it is prolly old.

On Fri, Apr 16, 2010 at 10:12 AM, Jimmy S. <
[email protected]> wrote:

wrote:


On Thu, Apr 15, 2010 at 10:42 PM, Bobby J. <[email protected]

D:/demo/config/boot.rb:66:in `exit’: exit (SystemExit)


http://rubyforge.org/mailman/listinfo/ironruby-core


Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


“The explanation requiring the fewest assumptions is most likely to be
correct.”


Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core


Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

I wasn’t aware of any major spec changes between those versions but I’ll
look into it. Also, the first binary release of ironruby.rack is coming
up, which will have documentation, automation scripts, and will work on
IIS 6 and 7. There’s also a bug with serving binary files, so images
won’t work, but that’ll be fixed for this release. I’ll also apply
ivan’s web.config move patch … Any other bugs blocking people want
fixed?

~Jimmy

On Apr 16, 2010, at 7:48 AM, “Bobby J.”
<[email protected]mailto:[email protected]> wrote:

I was able to figure this one out with the help if stackoverflow.
Basically what it boiled down to was having two version of the rack gem
installed; 1.0.1 and 1.1.0. I uninstalled 1.1.0 and it started working.
So the IronRack implementation sample doesn’t quite meet the spec for
the newer version.

On Fri, Apr 16, 2010 at 3:11 AM, Ivan Porto C.
<mailto:[email protected][email protected]mailto:[email protected]>
wrote:
where did you place the web.config?

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C. - Mob: +32.486.787.582
Web: http://whiterabbitconsulting.eu http://whiterabbitconsulting.eu -
http://flanders.co.nz http://flanders.co.nz
Twitter: http://twitter.com/casualjim http://twitter.com/casualjim
Author of IronRuby in Action
(http://manning.com/carrerohttp://manning.com/carrero)
Microsoft IronRuby/C# MVP

On Thu, Apr 15, 2010 at 10:42 PM, Bobby J.
<mailto:[email protected][email protected]mailto:[email protected]>
wrote:
I have successfully got the IronRuby.Rails.Example project running on my
local machine under IIS 5.1. I am now attempting to get my own demo
rails site running in the same way. My web.config is different. I am
attempting to only use what was distributed with IronRuby 1.0 and what I
have installed using gems.

I am getting the following error which doesn’t give me a lot to go on:

D:/demo/config/boot.rb:66:in `exit’: exit (SystemExit)

After trying many different things, I think it is having a problem
finding gems. I have attached my web config and ironrack.log. Does
anyone have pointers on what I am doing wrong?

Thanks!


“The explanation requiring the fewest assumptions is most likely to be
correct.”


Ironruby-core mailing list
mailto:[email protected][email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-corehttp://rubyforge.org/mailman/listinfo/ironruby-core


Ironruby-core mailing list
mailto:[email protected][email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-corehttp://rubyforge.org/mailman/listinfo/ironruby-core


“The explanation requiring the fewest assumptions is most likely to be
correct.”


Ironruby-core mailing list
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core