[Rails] Re: Unable to deploy to Apache
Hi Walter,
They look correct... (from httpd.conf)
LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/
passenger-3.0.11/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.11
PassengerRuby /usr/local/bin/ruby
-------------------------------------------------------------------------
Again, I'm running...
Ruby 1.9.3p0 (which ruby = /usr/local/bin/ruby)
Rails 3.1.3
Phusion Passenger version 3.0.11
-------------------------------------------------------------------------
Thanks,
~Kal
On Apr 13, 12:02 pm, Walter Lee Davis <wa...@wdstudio.com> wrote:
> On Apr 13, 2012, at 10:36 AM, Raels Koder wrote:
>
> > I get the same error. I am also using passenger, although I don't
> > always use it. I am also using RVM.
>
> > I noticed an error that popped up in my email from rake (I am working on
> > a Mac) that showed an error from rake 1.8.X something or other, instead
> > of the rake from 1.9.2 that I am running. I suspect that deep in some
> > of the code, someone is diddling the path incorrectly. I don't have
> > time right now to chase it down, but I thought that this might at least
> > help.
>
> That's an excellent point. Look in your Apache configuration and make sure that the path to Ruby in your Passenger configuration block includes your rvm prefix, and to the Ruby you think you're using. You may not be running the same Ruby for Passenger as your application, and that's guaranteed to be awful.
>
> Walter
>
>
>
>
>
>
>
>
>
> > --
> > Posted viahttp://www.ruby-forum.com/.
>
> > --
> > 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 athttp://groups.google.com/group/rubyonrails-talk?hl=en.
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home