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 new ASP.NET MVC project in Visual Studio
3. Add a reference to System.Web.Mvc.IronRuby.dll
4.
Open Global.asax.cs and ...
// add this to your usings using System.Web.Mvc;
// make the subclass of "MvcApplication" be "RubyMvcApplication"
namespace MyIronRubyMvcApp {
public class MvcApplication : RubyMvcApplication {
}
}
5.
Create Routes.rb and define a default route:
$routes.ignore_route "{resource}.axd/{*pathInfo}" $routes.map_route
"default", "{controller}/{action}/{id}", :controller => 'Home', :action =>
'index', :id => ''
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
GSM: +32.486.787.582
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:21 PM, Mohammad Azam <[email protected]> wrote:
> 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
> [email protected]
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core