Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Ruby 1.9.2 incompatibility issue! #2

Open
jitendra opened this Issue Oct 27, 2010 · 4 comments

Comments

Projects
None yet
4 participants

I upgraded my project from Ruby 1.8.7/Rails 2.3.2 to Ruby 1.9.2/Rails 2.3.8

In my environment file there is line to tell Bj not to manage the runner itself with

Bj.config["production.no_tickle"] = true if defined?(Bj)

Everything worked fined with Ruby 1.8.7 but after upgrade the application server does not start and throwing following exception

=> Booting WEBrick
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
/Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/bj-1.0.1/lib/bj/attributes.rb:41:in block (2 levels) in attributes': wrong number of arguments (1 for 0) (ArgumentError) from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/bj-1.0.1/lib/bj/attributes.rb:43:ininstance_eval'
from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/bj-1.0.1/lib/bj/attributes.rb:43:in call' from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/bj-1.0.1/lib/bj/attributes.rb:43:inblock (2 levels) in attributes'
from (eval):3:in call' from (eval):3:inconfig!'
from (eval):4:in config' from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/bj-1.0.1/lib/bj/bj.rb:15:inblock in module:ClassMethods'
from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/bj-1.0.1/lib/bj/attributes.rb:43:in instance_eval' from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/bj-1.0.1/lib/bj/attributes.rb:43:incall'
from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/bj-1.0.1/lib/bj/attributes.rb:43:in block (2 levels) in attributes' from (eval):3:incall'
from (eval):3:in config!' from (eval):4:inconfig'
from /Users/jitendra/projects/blocks/config/environment.rb:72:in <top (required)>' from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:inrequire'
from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in block in require' from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:521:innew_constants_in'
from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:156:in require' from /Users/jitendra/.rvm/gems/ruby-1.9.2-p0/gems/rails-2.3.8/lib/commands/server.rb:84:in<top (required)>'
from script/server:4:in require' from script/server:4:in

'

Any word on this? It is destroying my world.

pmandha commented Jul 2, 2013

Any solution or a pointer on this issue please.

pmandha commented Jul 3, 2013

gem vibes-bj, fixed this issue for me.

Owner

ahoward commented Mar 16, 2014

i'd love a pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment