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@googlegroups.com.
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.

Search Discussions

  • Colin Law at Jan 16, 2012 at 8:38 am

    On 15 January 2012 23:59, Erwin 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@googlegroups.com.
    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 at Jan 16, 2012 at 7:29 pm

    /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@googlegroups.com.
    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedJan 15, '12 at 11:59p
activeJan 16, '12 at 7:29p
posts3
users3
websiterubyonrails.org
irc#RubyOnRails

3 users in discussion

Bacrossland: 1 post Colin Law: 1 post Erwin: 1 post

People

Translate

site design / logo © 2021 Grokbase