Eso es esto:
-------------------------------------------------------------------------------------------------------------------------------
home/angeluz/AptanaWorkspace/depot/config/setup_load_paths.rb

 # encoding: utf-8
require "rubygems"
if ENV['MY_RUBY_HOME'] && ENV['MY_RUBY_HOME'].include?('rvm')
  begin
    rvm_path     = File.dirname(File.dirname(ENV['MY_RUBY_HOME']))
    rvm_lib_path = File.join(rvm_path, 'lib')
    $LOAD_PATH.unshift rvm_lib_path
    require 'rvm'
    RVM.use_from_path! File.dirname(File.dirname(__FILE__))
  rescue LoadError
    # RVM is unavailable at this point.
    raise "RVM ruby lib is currently unavailable."
  end
end

ENV['BUNDLE_GEMFILE'] = File.expand_path('../Gemfile', File.dirname(__FILE__
))
require 'bundler/setup'
__________________________________________________________________________________
abrazo
poli


2011/5/10 Gaston Ramos <[email protected]>

> El Mon, 09 de May de 2011, a las 11:04:13PM -0300, Paolo Loran dijo:
> > Buenas lucas, probe con el tuyo, pero el error persiste.
> > Tengo instalado apache2 y passenger, deberia utilizar tambien rvm? es si
> o
> > si necesario?
> Hola Pablo, una pregunta, qué es esto?:
>
> /home/angeluz/AptanaWorkspace/depot/config/setup_load_paths.rb
>
>
> Saludos
>  >
> > El nuevo log de errores dice:
> > 0 /usr/lib/ruby/gems/1.8/gems/bundler-1.0.12/lib/bundler/setup.rb 10 in
> > `exit'  1 /usr/lib/ruby/gems/1.8/gems/bundler-1.0.12/lib/bundler/setup.rb
> 10
> >  2 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 57 in
> > `gem_original_require'  3
> > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 57 in `require'
>  4
> > /home/angeluz/AptanaWorkspace/depot/config/setup_load_paths.rb 17
> >  5 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 36 in
> > `gem_original_require'  6
> > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 36 in `require'
>  7
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/utils.rb
> > 301 in `prepare_app_process'  8
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/rack/application_spawner.rb
> > 155 in `initialize_server'  9
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/utils.rb
> > 572 in `report_app_init_status'  10
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/rack/application_spawner.rb
> > 153 in `initialize_server'  11
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb
> > 204 in `start_synchronously'  12
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb
> > 180 in `start'  13
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/rack/application_spawner.rb
> > 128 in `start'  14
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb
> > 253 in `spawn_rack_application'  15
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb
> > 132 in `lookup_or_add'  16
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb
> > 246 in `spawn_rack_application'  17
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb
> > 82 in `synchronize'  18
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb
> > 79 in `synchronize'  19
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb
> > 244 in `spawn_rack_application'  20
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb
> > 137 in `spawn_application'  21
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb
> > 275 in `handle_spawn_application'  22
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb
> > 357 in `__send__'  23
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb
> > 357 in `server_main_loop'  24
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb
> > 206 in `start_synchronously'  25
> >
> /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/helper-scripts/passenger-spawn-server
> > 99
> >
> ...................................................................................................................................................................................................................
> >
> > saludos, poli
> >
> >
> > 2011/5/9 Lucas Florio <[email protected]>
> >
> > > Estás usando .rvmrc? Fijate el primer link [1], que habla de un archivo
> > > setup_load_paths.rb que hay que poner en config para que passenger se
> haga
> > > cargo de RVM.
> > >
> > > El mío luce así: https://gist.github.com/0c065484a6efbc834faa
> > >
> > > El [2] es el típico que sugiere la guía de RVM. Fijaet si te aporta
> algo.
> > >
> > > [1] http://everydayrails.com/2010/09/13/rvm-project-gemsets.html
> > > [2]
> > >
> http://blog.ninjahideout.com/posts/a-guide-to-a-nginx-passenger-and-rvm-server
> > >
> > > Conatem qué onda.
> > >
> > > Saludos
> > > Lucas
> > >
> > >
> > > 2011/5/8 Paolo Loran <[email protected]>
> > >
> > >> Hola lucas:
> > >>
> > >> Esta corriendo en mi propia maquina con apache2, sobre ubuntu, y tengo
> rvm
> > >> 1.6.2
> > >> Y al ir a la url me aparece todo ese stack de log de errores que se
> > >> ocasionan.
> > >>
> > >>
> > >> poli
> > >>
> > >>
> > >> Podrás contarme un poco más sobre el tema?
> > >>>
> > >>>
> > >>>    - Estás usando RVM?
> > >>>    - Es en tu máquina? O en un servidor?
> > >>>    - Qué sistema operativo corre?
> > >>>    - Cómo estás ejecutando Passenger? Ejecutando `passenger start` o
> con
> > >>>    Apache/Nginx?
> > >>>
> > >>> > _______________________________________________
> > >>> > Ruby mailing list
> > >>> > [email protected]
> > >>> >
> > >>>
> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
> > >>> >
> > >>> >
> > >>>
> > >>>
> > >>> Saludos
> > >>>
> > >>> Lucas
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Lucas
> > >>> http://www.lucasefe.com.ar/
> > >>> "When life is hard, you have to change. " S. Hoon
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Ruby mailing list
> > >>> [email protected]
> > >>>
> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
> > >>>
> > >>>
> > >>
> > >> _______________________________________________
> > >> Ruby mailing list
> > >> [email protected]
> > >>
> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
> > >>
> > >>
> > >
> > >
> > > --
> > > Lucas
> > > http://www.lucasefe.com.ar/
> > > "When life is hard, you have to change. " S. Hoon
> > >
> > > _______________________________________________
> > > Ruby mailing list
> > > [email protected]
> > >
> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
> > >
> > >
>
> > _______________________________________________
> > Ruby mailing list
> > [email protected]
> > http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
>
>
> --
> "Computer science education cannot make anybody an expert programmer any
> more
> than studying brushes and pigment can make somebody an expert painter."
>
> (Eric Raymond)
>
>
> +-------------------------------------+
> Gastón Ramos
> http://gastonramos.com.ar/
> GNU/Linux Counter user #450312
>  _______________________________________________
> Ruby mailing list
> [email protected]
> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
>
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar

Responder a