Just in case you use the IronRuby GIT repo to get both IronRuby and IronPython
sources, the msbuild build is currently broken because some projects are
missing. Jim, can you take a look?
"C:\dev\ironruby\Merlin\Main\Languages\IronPython\IronPython.sln" (default
target) (1) ->
(Build target) ->
Thanks, the change has been made.
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Brannon Jones
Sent: Wednesday, June 17, 2009 4:25 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Accessing Database Using IronRuby
That code shou
I just made some updates so GEM_PATH can be set from web.config, so if you use
those bits just make sure GemPath is set correctly in web.config and all should
work well.
http://github.com/jschementi/ironruby/commit/4dd9655f4a48326fb1270a2eb2cf5d1f96d7c3b0
> -Original Message-
> From: iro
How are we going to make sure this gets back into REXML and RubyGems? We
shouldn't ship significantly different versions of the Ruby stdlib, as people
will expect to switch to any version of the stdlib without issues.
My first thought is to have someone in the community step up to propose these
> -Original Message-
> From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-
> boun...@rubyforge.org] On Behalf Of Ted Milker
> Sent: Tuesday, June 23, 2009 1:07 PM
> To: ironruby-core@rubyforge.org
> Subject: [Ironruby-core] Assistance Needed Running IronRuby.Rack.Example
>
> Co
tfpt review "/shelveset:HashFixes;REDMOND\tomat"
Fixes implementation of hash methods in REXML and RubyGems. The current
implementation is incorrect since it sums hash codes of subcomponents
potentially overflowing to Bignum. This issue is mainly exposed when
calculating hash of an array. A
To make it work I only made 1 change.
I have a debug build of System.Web.Mvc.dll in the sample. I referenced that
one and rebuilt then hit F5 to start cassini and it worked
The ironrubymvc dll is built against that debug version so it expects that.
I have to fix that at some point
---
Met vriendel
ivan at flanders dot co dot nz
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Tue, Jun 23, 2009 at 10:19 PM, Mohammad Azam wrote:
> Where
Where can I get your email?
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
did you compile the new project?Can you email me your project so I can take
a look.. instead of asking all these questions?
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (ht
Is there any web.config setting that needs to be done?
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
yes, I have created ASP.NET MVC application before on my machine and it
did work.
I have restarted the server but no use!
Your sample does work but it throws some assembly errors. I can avoid
those errors by going to controller actions.
But, I don't know why it does not work for a new project.
it fails much earlier than at the controller. you should never get to that
page because that is just plain vanilla asp.net mvc stuff has nothing to do
with ironruby mvc. Have you created an asp.net mvc application
before on your machine? Did that work?
I copied your code to a new project and stil
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 t
I am not using SqlLite anymore!!
I just want to trigger the action and display the view.
I am running ASP.NET 3.5 using ASP.NET build in server.
Here is everything:
Routes.rb:
#default routes
$routes.ignore_route("{resource}.axd/{*pathInfo}");
$routes.map_route("default", "{controller}/{actio
which OS and web server are you using?
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Tue, Jun 23, 2009 at 9:46 PM, Mohammad Azam wrote:
http://github.com/casualjim/ironrubymvc-sample/blob/75a1aee810e2b2b5a99a538cc73ca89b0a3df438/IR_Todo/Global.asax.cs#L12
You also need to change this assembly redirection in the config file to
point to the correct version number of your sqlite assembly.
http://github.com/casualjim/ironrubymvc-sampl
I copied your code to a new project and still it is giving me issues. It
is not picking up the Routes.rb file.
Is there anything interesting in ApplicationController since I am not
using ApplicationController.
--
Posted via http://www.ruby-forum.com/.
___
In your download you never subclass from RubyMvcApplication. I have
tried to subclass from RubyMvcApplication but it is giving me the same
issue:
The incoming request does not match any route.
Description: An unhandled exception occurred during the execution of the
current web request. Please
The ironruby mvc library being System.Web.Mvc.IronRuby.dll
and the routes got borked
$routes.ignore_route "{resource}.axd/{*pathInfo}"
$routes.map_route "default", "{controller}/{action}/{id}", :controller =>
'Home', :action => 'index', :id => ''"
I suggest
you take jimmy's repository of ironrubym
Sqlite lib:
http://sourceforge.net/project/showfiles.php?group_id=132486&package_id=145568
You need to have a reference to the ironrubymvc library and compile the
asp.net mvc project once from then on things should start to work.
Getting started
1. Install ASP.NET MVC (link?)
2. Create a
Where can I download the 32 bit version?
Ivan Porto carrero wrote:
> You have a 32-bit machine right?
> You need to download the 32-bit version of the System.Data.SQLite.dll
> and
> replace that one.. I've got one here if you want it, email me off-list
> ---
> Met vriendelijke groeten - Best reg
Is there any link between the IronRubyMvcLibrary?
Do I need that library?
How will the application know to load the routes from routes.rb file?
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://
Here is the latest error:
The incoming request does not match any route.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: Syst
I have not tried it with the SqlLite assembly.
I am simply trying to say "/home" and it should trigger the
HomeController.
I am following this example:
http://haacked.com/archive/2008/04/22/defining-asp.net-mvc-routes-and-views-in-ironruby.aspx
--
Posted via http://www.ruby-forum.com/.
__
Does the sample work on your machine if you use the correct sqlite assembly?
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Tue, Jun 23, 2
If I load the Default.aspx page I get the following error:
The incoming request does not match any route.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in t
Do I also need mvc_application even thought I am not using the
LightSpeed data access layer?
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
I tried it!
It is throwing a 404 error:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure
that it is sp
rename them to .html.erb that should work.
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Tue, Jun 23, 2009 at 8:31 PM, Mohammad Azam wro
Is there any special place where you register the ViewEngine. I have
files with extensions .rhtml but they are not being picked up by the MVC
application.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.
Asp.net MVC has the ability to add view engines
Each view engine defines a bunch of search patterns, and you can configure
the location of the views but the convention is views so I'd stick with that
:)
When you request the view "index" the controller will ask the view engines
collection if it can
You have a 32-bit machine right?
You need to download the 32-bit version of the System.Data.SQLite.dll and
replace that one.. I've got one here if you want it, email me off-list
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://
For some reason it is not running for me out of the box. When I run the
application the following exception is thrown:
Could not load file or assembly 'System.Data.SQLite' or one of its
dependencies. An attempt was made to load a program with an incorrect
format.
Even though the reference to
Hi Ivan Porto carrero,
Great work on the MVC IronRuby sample!
I am curious to know how it works! I created an ASP.NET MVC application.
I created the controller and view but how will the views get called.
Here is my controller:
require 'application_controller'
class HomeController < Application
Ivan Porto carrero wrote:
> I've been meaning to ask this for a while now.
> Can I implement an event that is defined on an interface because
> whichever
> way I try it just won't work.
>
> public interface IHaveAnEvent { event EventHandler SomeEvent; }
>
> class EventImplementor
> include IHa
I've been meaning to ask this for a while now.
Can I implement an event that is defined on an interface because whichever
way I try it just won't work.
public interface IHaveAnEvent { event EventHandler SomeEvent; }
class EventImplementor
include IHaveAnEvent
# what now? I can't find any tes
Actually the AbstractHelloWorld is used as a work-around for
implementing the interface directly in ruby (see
http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=772), so
implementing it in C# gives us no benefit.
I did try (in our codebase, i havent tested this particular example)
removing
38 matches
Mail list logo