Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Open

Ruby 1.9.2 incompatibility issue! #2

jitendra opened this issue Oct 27, 2010 · 4 comments

Comments

@jitendra
Copy link

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

'

@prismofeverything
Copy link

Any word on this? It is destroying my world.

@pmandha
Copy link

pmandha commented Jul 2, 2013

Any solution or a pointer on this issue please.

@pmandha
Copy link

pmandha commented Jul 3, 2013

gem vibes-bj, fixed this issue for me.

@ahoward
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants