Ruby on Rails
Tuesday, July 1, 2014
On Tuesday, July 1, 2014 10:40:51 AM UTC-4, Liz Huang wrote:
--
Great, it seems that I got further, now I got error messageIt looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:
bundle install
....
You just need to get your PassengerRuby directive set up properly then. That will need to be specified in your site configuration file in /Library/Server/Web/Config/apache2/sites/. You can use the passenger utility:
passenger-config --ruby-command
which will show you what your PassengerRuby directive should look like. I put that directive just above the closing </VirtualHost> tag in the site config file. If you want to run in development mode, you will also need the "RackEnv development" directive.
If you installed passenger using HomeBrew, then you do not want to list passenger as a requirement in your rails app Gemfile. Personally, I only list app-specific gems in the Gemfile, and leave out the server-specific details like Passenger.
Jim
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/92fc014e-0009-4649-9849-46280ec67cbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment