On 15 January 2012 23:59, Erwin <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to