Windows deployment of JRuby on Rails

View: New views
6 Messages — Rating Filter:   Alert me  

Windows deployment of JRuby on Rails

by zwadar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
in my company I'm running small RoR app on Windows platform (standard
setup of Apache+Several Mongrel Instances) and MRI.
Now it's time to improve RoR app and hand to hand with that I've started
to think about change of it's deployment (but stay on Windows). Firstly
I wanted to wait for IronRuby, but it looks like it will need some time  
to be ready for production. So I've looked at JRuby and at the first
look it looks really fantastic. Great performance comapred do 1.8.6 MRI,
easy deployment with Glassfish  gem.

So my question is, where is the problem? If there is any.. :-)

Well yes, native and windows specific extensions, but probably
everything I use exists in jruby/java world too or its simple to write
some wrapper using FFI or JNA? (I use ruby SVN bindings, win32-registry,
win32-service)

thanks

Roman


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Windows deployment of JRuby on Rails

by Jacob Kessler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Roman,

  The only problem that I could see you running into is that Glassfish
gem doesn't support running as a service on Windows yet. It's something
that we've considered doing, but haven't seen much interest and thus
have kept it fairly low-priority. If that's something that you are going
to want, I can see if we can bump it up a bit.

Other than that, glad to see you are having no problems with JRuby + GF
gem. I've found the pathing/environment variable setup on Windows to be
a bit clunky, but that's a Windows issue, not a JRuby issue =).

Roman Zawada wrote:

> Hi,
> in my company I'm running small RoR app on Windows platform (standard
> setup of Apache+Several Mongrel Instances) and MRI.
> Now it's time to improve RoR app and hand to hand with that I've
> started to think about change of it's deployment (but stay on
> Windows). Firstly I wanted to wait for IronRuby, but it looks like it
> will need some time  to be ready for production. So I've looked at
> JRuby and at the first look it looks really fantastic. Great
> performance comapred do 1.8.6 MRI, easy deployment with Glassfish  gem.
>
> So my question is, where is the problem? If there is any.. :-)
>
> Well yes, native and windows specific extensions, but probably
> everything I use exists in jruby/java world too or its simple to write
> some wrapper using FFI or JNA? (I use ruby SVN bindings,
> win32-registry, win32-service)
>
> thanks
>
> Roman
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Windows deployment of JRuby on Rails

by zwadar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for your answer.
I'm having no problems running Jruby+ GF bem because I don't use it now
:-) . Right now I'm planning my new RoR app  and together with it trying
to improve my RoR windows deployment. JRuby seems to be the best choice
for it, but since I haven't heard much about this solution for windows
I'm curious if it easy as it looks like. I don't want to start using
jruby, wrap some java libraries and then see that it was dead end :-)

Well I'm definitely interestend in GlassFish gem as a Windows Service...

Maybe it's time to start some "Jruby on Rails, the best solution for
your Windows deployment" advertisment campaign? :-)

Roman

P.S. I had problem with my path variable so I was unable to run event
jruby from cmd, but puting every signle path in quotes fixed it.

Jacob Kessler napsal(a):

> Roman,
>
>  The only problem that I could see you running into is that Glassfish
> gem doesn't support running as a service on Windows yet. It's
> something that we've considered doing, but haven't seen much interest
> and thus have kept it fairly low-priority. If that's something that
> you are going to want, I can see if we can bump it up a bit.
>
> Other than that, glad to see you are having no problems with JRuby +
> GF gem. I've found the pathing/environment variable setup on Windows
> to be a bit clunky, but that's a Windows issue, not a JRuby issue =).
>
> Roman Zawada wrote:
>> Hi,
>> in my company I'm running small RoR app on Windows platform (standard
>> setup of Apache+Several Mongrel Instances) and MRI.
>> Now it's time to improve RoR app and hand to hand with that I've
>> started to think about change of it's deployment (but stay on
>> Windows). Firstly I wanted to wait for IronRuby, but it looks like it
>> will need some time  to be ready for production. So I've looked at
>> JRuby and at the first look it looks really fantastic. Great
>> performance comapred do 1.8.6 MRI, easy deployment with Glassfish  gem.
>>
>> So my question is, where is the problem? If there is any.. :-)
>>
>> Well yes, native and windows specific extensions, but probably
>> everything I use exists in jruby/java world too or its simple to
>> write some wrapper using FFI or JNA? (I use ruby SVN bindings,
>> win32-registry, win32-service)
>>
>> thanks
>>
>> Roman
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Windows deployment of JRuby on Rails

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jul 6, 2009 at 12:09 PM, Roman Zawada<info@...> wrote:

> Thank you for your answer.
> I'm having no problems running Jruby+ GF bem because I don't use it now :-)
> . Right now I'm planning my new RoR app  and together with it trying to
> improve my RoR windows deployment. JRuby seems to be the best choice for it,
> but since I haven't heard much about this solution for windows I'm curious
> if it easy as it looks like. I don't want to start using jruby, wrap some
> java libraries and then see that it was dead end :-)
>
> Well I'm definitely interestend in GlassFish gem as a Windows Service...
>
> Maybe it's time to start some "Jruby on Rails, the best solution for your
> Windows deployment" advertisment campaign? :-)

Yeah, I think more and more JRuby is the best option for deployment on
Windows. We need more people on Windows to help work out usability
issues, install issues, and so on, but in general things just get
better and better, and basically nothing we do for JRuby proper
damages compatibility (like some changes to C ruby give the Windows
porters headaches).

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Windows deployment of JRuby on Rails

by Jay McGaffigan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

we currently deploy all our apps onto GF2 on windows.  Overall it's
been a positive experience however there are some windows
idiosyncrasies that pop up more than jruby being the problem :P

I put some of the issues we've worked around on the Jruby wiki.



Jay

On Mon, Jul 6, 2009 at 4:01 PM, Charles Oliver
Nutter<headius@...> wrote:

> On Mon, Jul 6, 2009 at 12:09 PM, Roman Zawada<info@...> wrote:
>> Thank you for your answer.
>> I'm having no problems running Jruby+ GF bem because I don't use it now :-)
>> . Right now I'm planning my new RoR app  and together with it trying to
>> improve my RoR windows deployment. JRuby seems to be the best choice for it,
>> but since I haven't heard much about this solution for windows I'm curious
>> if it easy as it looks like. I don't want to start using jruby, wrap some
>> java libraries and then see that it was dead end :-)
>>
>> Well I'm definitely interestend in GlassFish gem as a Windows Service...
>>
>> Maybe it's time to start some "Jruby on Rails, the best solution for your
>> Windows deployment" advertisment campaign? :-)
>
> Yeah, I think more and more JRuby is the best option for deployment on
> Windows. We need more people on Windows to help work out usability
> issues, install issues, and so on, but in general things just get
> better and better, and basically nothing we do for JRuby proper
> damages compatibility (like some changes to C ruby give the Windows
> porters headaches).
>
> - Charlie
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



RE: Windows deployment of JRuby on Rails

by zwadar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jay, that would be really great.

I've finaly decided to use Jruby, so I hope it will not disappoint me. :-)

Thanks

Roman

-----Original Message-----
From: Jay McGaffigan [mailto:hooligan495@...]
Sent: Tuesday, July 07, 2009 3:24 AM
To: user@...
Subject: Re: [jruby-user] Windows deployment of JRuby on Rails

we currently deploy all our apps onto GF2 on windows.  Overall it's
been a positive experience however there are some windows
idiosyncrasies that pop up more than jruby being the problem :P

I put some of the issues we've worked around on the Jruby wiki.



Jay

On Mon, Jul 6, 2009 at 4:01 PM, Charles Oliver
Nutter<headius@...> wrote:
> On Mon, Jul 6, 2009 at 12:09 PM, Roman Zawada<info@...> wrote:
>> Thank you for your answer.
>> I'm having no problems running Jruby+ GF bem because I don't use it now
:-)
>> . Right now I'm planning my new RoR app  and together with it trying to
>> improve my RoR windows deployment. JRuby seems to be the best choice for
it,
>> but since I haven't heard much about this solution for windows I'm
curious

>> if it easy as it looks like. I don't want to start using jruby, wrap some
>> java libraries and then see that it was dead end :-)
>>
>> Well I'm definitely interestend in GlassFish gem as a Windows Service...
>>
>> Maybe it's time to start some "Jruby on Rails, the best solution for your
>> Windows deployment" advertisment campaign? :-)
>
> Yeah, I think more and more JRuby is the best option for deployment on
> Windows. We need more people on Windows to help work out usability
> issues, install issues, and so on, but in general things just get
> better and better, and basically nothing we do for JRuby proper
> damages compatibility (like some changes to C ruby give the Windows
> porters headaches).
>
> - Charlie
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email