我正在使用apache乘客在本地开发上运行rails app.i已成功安装apache乘客,mysql和所有相关的东西。这是我的appache / httpd.conf文件代码
LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-3.0.17/ext/apache2/mod_passenger.so
PassengerRoot /var/lib/gems/1.8/gems/passenger-3.0.17
PassengerRuby /usr/bin/ruby1.8
NameVirtualHost *:80
<VirtualHost *:80>
ServerName foo.local
DocumentRoot "/home/kashif/sunsspot_search/public"
RailsEnv development
<directory "/home/kashif/sunsspot_search/public">
Order allow,deny
Allow from all
</directory>
</VirtualHost>
我使用此命令启动apache sudo /etc/init.d/apache2 restart
然后这条消息来了
[warn] NameVirtualHost *:80 has no VirtualHosts
当我访问foo.local / posts时 那我有这个错误
no such file to load -- bundler
请帮忙。为什么会出现这种错误并且还看到我的apache配置是否正确?
由于