我刚刚安装了工程码宝石,并想知道如何卸载所有的 ri / RDoc文档的工程码后安装
Is it safe to remove all files from the following folder c:\Ruby192\lib\ruby\gems\1.9.1\doc
c:\Ruby192\bin>gem install engineyard
Welcome to Engine Yard!
Deploying for the first time? The Engine Yard Pandas want to help you!
Email pandas@engineyard.c
我是新来的引擎场。
我刚刚从github克隆了一个应用程序,它已经在engine yard服务器上运行了。
现在,当我尝试使用ey deploy --ref production命令推送最新的更改时,它确实给了我这个错误。
ERROR: could not find gem engineyard-serverside locally or in a repository
/usr/local/ey_resin/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:777:in `report_activate_error': RubyGem version
我正在使用engineyard gem,试图禁用维护页面。当我使用这两个命令中的任何一个时:
ey web enable
ey web disable
上面写着“在deploy@上运行命令...”然后我得到一个错误:nil的未定义方法'ssh_type‘:Niclass
1)以前有没有人遇到过这种情况? 2)有没有人知道如何在不使用Engineyard gem的情况下关闭维护页面?
突然间,在部署到暂存服务器(EngineYard)期间,我在遵循gem之后,开始面临这个错误。我们使用厨师配方来部署。
错误日志
NoMethodError: undefined method `spec' for nil:NilClass
Did you mean? inspect
An error occurred while installing ecwid_api (0.2.2), and Bundler cannot
continue.
Make sure that `gem install ecwid_api -v '0.2.2'` succeeds be
我使用EngineYard,但我的部署失败了。我得到了这样的信息:
Some gems seem to be missing from your vendor/cache directory.
Could not find rspec-core-2.6.0.rc2 in any of the sources
如何确保将这些get放入该目录?
我正在从CLI将rails 3.2.6应用程序部署到engineyard
当我运行命令时
ey deploy -e staging
发生以下错误
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
有什么办法解决这个问题吗?
我在config.ru中的configure do块中有一些配置代码,它读取以下内容:
scheduler = Rufus::Scheduler.new
scheduler.every '1h' do
# Run a cleanup job which should take place every hour
...
end
当我们在engineyard上部署sinatra应用程序时,默认情况下rufus-scheduler线程是在应用程序主服务器上产生的,尽管我们希望它们在engineyard内的其他应用程序服务器上产生。在before_restart.rb中没有条件
我在EngineYard上运行了一个项目,在那里我启动了resque-web
Starting 'resque-web'...
'resque-web' is already running at http://0.0.0.0:5678
从命令行中,我可以看到工作进程的状态,有3个工作进程处于空闲状态。
如果xxxx是我可以访问我的应用程序的地方,我无法通过访问xxxx:5678来查看Resque web UI。如何使用Web界面查看工人及其状态?
我在Jruby上玩得很开心,但在EngineYard上部署我的应用程序时遇到了麻烦。在deploy下,我得到以下错误:
ActiveRecord::JDBCError: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(2147483647) DEFAULT NULL' at line 1: ALTER TABLE `iterations` CHANGE `p