Migration to rails 3 and Jruby 1.6

Hi,

I would like to know which versions of Jruby is compatible with Rails 3

I was migrating my current app from Rails 2.3.5 and Jruby 1.5.0 to Rails
3.1 and Jruby 1.6.4

I faced a few issues like bcrypt being into native etc.

So in general wanted to know expert opinion on which version of Jruby
are compatible with Rails 3.x and any known issues and errata faced.

Thank you.

On 21 September 2011 10:56, Prachi T. [email protected]
wrote:

Hi,

I would like to know which versions of Jruby is compatible with Rails 3

I was migrating my current app from Rails 2.3.5 and Jruby 1.5.0 to Rails
3.1 and Jruby 1.6.4

I faced a few issues like bcrypt being into native etc.

I think you must upgrade your gems too.

Msan M. wrote in post #1023083:

On 21 September 2011 10:56, Prachi T. [email protected]
wrote:

Hi,

I would like to know which versions of Jruby is compatible with Rails 3

I was migrating my current app from Rails 2.3.5 and Jruby 1.5.0 to Rails
3.1 and Jruby 1.6.4

I faced a few issues like bcrypt being into native etc.

I think you must upgrade your gems too.

Hi,

Yes i Have upgraded gems too. But in general i just wanted to know
compatibility of Rails 3.x with Jruby.
Also Currently whil upgrading an issue of jruby-openssl not being loaded
as mentioned here too:
http://www.ruby-forum.com/topic/1365640#1023089

Dint find any solution of it yet.

Msan M. wrote in post #1023107:

On 21 September 2011 14:57, Prachi T. [email protected]
wrote:

Msan M. wrote in post #1023083:

On 21 September 2011 10:56, Prachi T. [email protected]
wrote:

Hi,

I would like to know which versions of Jruby is compatible with Rails 3

I’m running rails 3.1 with jruby-1.6.4 in 1.8 mode with no problems by
now.

Even i am in 1.8 mode. Are you using jruby-openssl ? and if so which
version of it?

Thanks…

On 22 September 2011 12:45, Prachi T. [email protected]
wrote:

I’m running rails 3.1 with jruby-1.6.4 in 1.8 mode with no problems by
now.

Even i am in 1.8 mode. Are you using jruby-openssl ? and if so which
version of it?

I’ve installed jruby-openssl-0.7.4 gem but I’m not using ssl in my
applications.

On 21 September 2011 14:57, Prachi T. [email protected]
wrote:

Msan M. wrote in post #1023083:

On 21 September 2011 10:56, Prachi T. [email protected]
wrote:

Hi,

I would like to know which versions of Jruby is compatible with Rails 3

I’m running rails 3.1 with jruby-1.6.4 in 1.8 mode with no problems by
now.

On 26 September 2011 08:03, Prachi T. [email protected]
wrote:

applications.

Hi,

My issue was solved. Just in case any one faces it, i had put an older
version in gemfile of openssl and then gemfile.lock had locked that
version of gem. But later i installed the new version of openssl and
modifoed the gemfile but somehow it dint seem to reflect in gemfile.lock

To update gems you have to run bundle update.

Msan M. wrote in post #1023247:

On 22 September 2011 12:45, Prachi T. [email protected]
wrote:

I’m running rails 3.1 with jruby-1.6.4 in 1.8 mode with no problems by
now.

Even i am in 1.8 mode. Are you using jruby-openssl ? and if so which
version of it?

I’ve installed jruby-openssl-0.7.4 gem but I’m not using ssl in my
applications.

Hi,

My issue was solved. Just in case any one faces it, i had put an older
version in gemfile of openssl and then gemfile.lock had locked that
version of gem. But later i installed the new version of openssl and
modifoed the gemfile but somehow it dint seem to reflect in gemfile.lock

Thanks msan…

Also there is one more question i had if someone could help:

I want to install will_paginate as a plugin, but i cant take it from git
because i am behind a firewall. hence proxy bolcks installation. But
what i did was the classic way: downloaded the package and unpacked it
in vendor/rails … Then in gemfile included the line gem ‘will_paginate’

Even when i do a bundle install i get the error :

Could not find gem ‘will_paginate (>= 0, runtime)’ in any of the gem
sources listed in your Gemfile.

So in rails 3 how do i install plugin by downloading the plugin as zip
in windows?

Msan M. wrote in post #1023751:

On 26 September 2011 08:03, Prachi T. [email protected]
wrote:

applications.

Hi,

My issue was solved. Just in case any one faces it, i had put an older
version in gemfile of openssl and then gemfile.lock had locked that
version of gem. But later i installed the new version of openssl and
modifoed the gemfile but somehow it dint seem to reflect in gemfile.lock

To update gems you have to run bundle update.

Hi,

I am actually installing a plugin and not a gem… Also when i do bundle
update it searches it in git… however i have manually downloaded the
plugin.

On Mon, Sep 26, 2011 at 9:24 AM, Prachi T. [email protected]
wrote:

I am actually installing a plugin and not a gem… Also when i do bundle
update it searches it in git… however i have manually downloaded the
plugin.

PS C:> gem search -r will_paginate

*** REMOTE GEMS ***

agnostic-will_paginate (3.0.0)
djmaze-will_paginate (2.3.13)
elmer-will_paginate (3.0.0)
Empact-will_paginate (2.3.15)
jkaneacumen-will_paginate (2.3.12)
larsklevan-will_paginate (2.3.12)
leshill-will_paginate (2.3.11)
mjfreshyfresh-will_paginate (3.0.0)
pb-will_paginate (2.3.12)
svenaas-will_paginate (3.0.2)
tism-will_paginate (2.3.16)
will_paginate (3.0.1) # I wonder what that is?
will_paginate_couchrest (0.3.1)
will_paginate_renderers (0.0.3)


Phillip G.

gplus.to/phgaw | twitter.com/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
– Leibniz