rails@george:/srv/fsg_distro$ sudo passenger-status
*** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one...
# mkdir -p /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/ruby-1.8.7-x86_64-linux
# cd /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/
我试图用下面的命令在aws实例上启动opswork代理,
sudo service opsworks-agent start
但由于以下错误而失败了,
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:34:in `singleton class': undefined method `default_specifications_dir' for class `#<Class:Gem::Specification>' (NameError)
from /usr/lib/r
我在生产上有一个应用程序,server.Everything以前运行得很好,但我不知道出了什么问题,应用程序没有运行,然后在nginx的error.log文件中抛出错误
[ 2015-11-26 05:34:16.2247 7383/7fbc4d776700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/ec2-user/deploy/app/kickmarket_eu/current: An error occurred while starting up the pre
我正在一台Linux机器上创建一个项目。
当我执行bundle install时,它会安装所有的宝石,但是当我尝试使用gem时,它会给出一个错误,并建议再次执行bundle install。
命令和输出如下:
saurabh@my-linux:~/beacon$ bundle install
Using addressable 2.3.8
Using execjs 2.0.2
Using json 1.8.3
Using autoprefixer-rails 6.0.3
Using backports 3.6.6
Using sass 3.2.19
Using bootstrap-sass
我试着创建一个简单的RoR 3.2.3应用程序,但是我做不到。好像我装错了什么东西。
这是来自Ubuntu控制台的代码
~$ rails test
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find railties (>= 0) amongst [] (Gem::LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spe
Rails控制台不能在我的生产服务器上工作。下面是发生的情况:
root@myapp:/webapps/myapp/current# rails c
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- rails/cli (LoadError)
from /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1
每次登录到服务器时,在运行/bin/bash之前,我不能运行任何rails命令;请参见下面的内容
Last login: Mon Oct 29 16:28:07 2012 from natint3.company.com
user1@company.com [~]# rails -v
/usr/lib64/ruby/site_ruby/1.8/rubygems.rb:926:in `report_activate_error': Could not find RubyGem rails (>= 0) (Gem::LoadError)
from /usr/lib64/rub
当我运行傀儡客户端命令时,得到了500个错误。我在傀儡主服务器中找到了调试日志: (nginx版本:1.8.0,用客运安装-nginx-模块安装乘客)
来自应用程序的消息:启动web应用程序时发生了错误。它公布了一个Unix域套接字,其所有者与预期不同(应该是UID 0,但实际UID为52)。
乘客错误html原始输出:
An error occurred while starting the web application. It advertised a Unix domain socket that has a different owner than expected (should
我有一个应用程序,我可以构建容器,但无法启动。
当我尝试启动它时的错误消息:
Activating bundler (~> 2.3) failed:
Could not find 'bundler' (2.3.18) required by `$BUNDLER_VERSION`.
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:2.
我已经用Ruby1.9.2建立了RVM系统,据我所知,它运行得很好。
但是当我试图编译乘客apache2模块时
passenger-install-apache2-module
它将其编译为系统的1.8.7 ( ext/ruby文件夹包含ruby-1.8.7-x86_64-linux),当我启动apache时,乘客会抱怨:
*** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one...
# mkdir -p /usr/local/rvm/
我在railcast.com上的310铁路广播之后安装了ruby on rails。现在,我可以运行并创建一个新的rails,并使用rails s运行它。
The program 'rails' is currently not installed. You can install it by typing:
sudo apt-get install rails
这里是ruby版
ruby -v
ruby 1.9.3p286 (2012-10-12 revision 37165) [i686-linux]
如果我执行rails -v,我会得到如下结果
The program