I am trying to deploy a Rails app ( Rails 3.0.9 / Ruby 1.9.2 ) in production (Debian 6) it''s running fine in development mode on localhost ( OSX) I am getting this error from Passenger : undefined symbol: ruby_current_thread /var/www/vhosts/mydomain.com/rails/testsbga/shared/bundle/ruby/ 1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so: undefined symbol: ruby_current_thread - /var/www/vhosts/mydomain.com/rails/ testsbga/shared/bundle/ruby/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ ruby_debug.so I am using rvm : ruby-1.9.2-p290@rails3 with Rails 3.0.9 & ruby-debug19 installed as : gem install ruby-debug19 -- --with-ruby-include="home/erwin/.rvm/src/ ruby-1.9.2-p290@rails3" what could be wrong ? anything related with linebase19 and ruby- debug19 versions w Rails 3.0 ?? whatever it''s a production deployment , I don''t need ruby-debug in production... I tried to put gem ''ruby-debug19'' into the development group of my Gemfile , but the production server keep requesting for it ... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2012-Jan-16 08:37 UTC
Re: ruby-debug19 error undefined symbol: ruby_current_thread
On 15 January 2012 23:59, Erwin <yves_dufour-ee4meeAH724@public.gmane.org> wrote:> I am trying to deploy a Rails app ( Rails 3.0.9 / Ruby 1.9.2 ) in > production (Debian 6) > it''s running fine in development mode on localhost ( OSX) > > I am getting this error from Passenger : undefined symbol: > ruby_current_thread > > /var/www/vhosts/mydomain.com/rails/testsbga/shared/bundle/ruby/ > 1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so: undefined > symbol: ruby_current_thread - /var/www/vhosts/mydomain.com/rails/ > testsbga/shared/bundle/ruby/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ > ruby_debug.so > > > I am using rvm : > > ruby-1.9.2-p290@rails3 with Rails 3.0.9 & ruby-debug19 > installed as : > gem install ruby-debug19 -- --with-ruby-include="home/erwin/.rvm/src/ > ruby-1.9.2-p290@rails3" > > what could be wrong ? anything related with linebase19 and ruby- > debug19 versions w Rails 3.0 ?? > whatever it''s a production deployment , I don''t need ruby-debug in > production... > I tried to put gem ''ruby-debug19'' into the development group of my > Gemfile , but the production server keep requesting for it ...On your production server do something like bundle install --without development test to tell it to only install the production gems Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
bacrossland
2012-Jan-16 19:29 UTC
Re: ruby-debug19 error undefined symbol: ruby_current_thread
> /var/www/vhosts/mydomain.com/rails/testsbga/shared/bundle/ruby/ > 1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so: undefined > symbol: ruby_current_thread - /var/www/vhosts/mydomain.com/rails/ > testsbga/shared/bundle/ruby/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ > ruby_debug.so > > I am using rvm : > > ruby-1.9.2-p290@rails3 with Rails 3.0.9 & ruby-debug19 > installed as : > gem install ruby-debug19 -- --with-ruby-include="home/erwin/.rvm/src/ > ruby-1.9.2-p290@rails3" > > what could be wrong ? anything related with linebase19 and ruby- > debug19 versions w Rails 3.0 ??I''ve noticed that the ruby install is 1.9.1 on your production environment and 1.9.2 in dev. That might be the root of the issue, might not. Worth looking at.> whatever it''s a production deployment , I don''t need ruby-debug in > production... > I tried to put gem ''ruby-debug19'' into the development group of my > Gemfile , but the production server keep requesting for it ...Is Passenger configured to run in the development environment? By default it is configured to run as production but that can be changed. Thanks, B. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.