[Ironruby-core] Updated Rails instructions

Ryan Riley ryan.riley at panesofglass.org
Fri Jan 15 10:42:18 EST 2010


That's terrific, Jimmy! Thanks! Jim mentioned that the 'i' prefix might be
going away soon, but I noticed that you are still using the 'i'-prefixed
versions of commands. What's the timeline?

Cheers!

Ryan Riley

Email: ryan.riley at panesofglass.org
LinkedIn: http://www.linkedin.com/in/ryanriley
Blog: http://wizardsofsmart.net/
Twitter: @panesofglass
Website: http://panesofglass.org/


On Thu, Jan 14, 2010 at 6:48 PM, Jimmy Schementi <
Jimmy.Schementi at microsoft.com> wrote:

> All,
>
> http://ironruby.net/Documentation/Rails has been updated to show
> instructions for running Rails 2.3.5 on IronRuby, including using the
> official activerecord-sqlserver-adapter (v2.3). Thanks to Ivan for his work
> on ironruby-dbi!
>
> The steps are extrememly simple now. Assuming you have IronRuby installed
> and a Rails app you'd like to run on IronRuby:
>
> 1. Install Rake, Rails, and IronRuby SQLServer
>
> igem install rake rails ironruby-sqlserver
>
> 2. Add the following to the top of your app's config/environment.rb:
>
> require 'rubygems'
> require 'ironruby_sqlserver'
>
> 3. Connect to SQLServer in config/database.yml:
>
> development:
>  mode: ADONET
>  adapter: sqlserver
>  host: YOURMACHINENAME\SQLEXPRESS
>  database: app123_development
>  integrated_security: true
>
> 4. Migrate the database and start the server:
>
> irake db:migrate
> ir script\server
>
> And that's it! The documentation link above also has a walk through setting
> up IronRuby, Rails, and SQLServer, and shows a basic Rails "scaffold"
> running.
>
> Coming soon are updated instructions for running rack-based web
> applications in IIS on IronRuby.
>
> Let me know if you have any questions,
> ~Jimmy
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100115/f962ff4a/attachment.html>


More information about the Ironruby-core mailing list