gem

How to install json gem - Failed to build gem native extension

和自甴很熟 提交于 2020-01-24 14:33:12
问题 I'm trying to deploy a rails app to my ubuntu linux server. I'm using capistrano and bundler and when it gets to installing gems it fails with this error: Installing json (1.7.7) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /opt/ruby-enterprise-1.8.7-2012.02/bin/ruby extconf.rb creating Makefile make /usr/bin/gcc -I. -I/opt/local/include -I/opt/ruby-enterprise-1.8.7- 2012.02/lib/ruby/1.8/i686-linux -I/opt/ruby-enterprise-1.8.7-2012

How to install json gem - Failed to build gem native extension

橙三吉。 提交于 2020-01-24 14:32:24
问题 I'm trying to deploy a rails app to my ubuntu linux server. I'm using capistrano and bundler and when it gets to installing gems it fails with this error: Installing json (1.7.7) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /opt/ruby-enterprise-1.8.7-2012.02/bin/ruby extconf.rb creating Makefile make /usr/bin/gcc -I. -I/opt/local/include -I/opt/ruby-enterprise-1.8.7- 2012.02/lib/ruby/1.8/i686-linux -I/opt/ruby-enterprise-1.8.7-2012

SECS/GEM:PLC与MES间解决方案

爱⌒轻易说出口 提交于 2020-01-24 12:04:36
SECS/GEM是由国际半导体设备连接性标准。此连接性标准用于在设备和工厂的资讯和控制系统间建立通讯。被定义为制造设备实现通讯和控制的一般模型。一般来说,SECS/GEM标准定义了信息、状态机和情境,来让工厂软件能够控制并监视制造设备。   在实现SECS/GEM标准的工厂内,存在主机和设备这两方。由制造商(工厂)运行与设备接口建立通讯的主机软件。主机无需遵守完整的连接性标准,因为它只设定设备的预期行为。不过,若要使用接口,主机必须进行主机端通讯。SECS/GEM为每条可能的主机信息设定了清晰的设备预期行为。 虽然SECS/GEM已经挺有历史,但是在国内没有优秀的产品,金南瓜 解决方案让你的设备稳定及流畅。 这方面的资料太少了,而且领域性太强。这里面涉及到的半导体设备相关、网络相关、软件相关、工厂业务的内容等等,太多了,如果你是从事纯软件开发的人想要涉足这块内容还是需要化费一定精力的。 里面涉及设备的运行以及工艺问题,如果刚刚入门的人来说,太过于艰难了。 SECS/GEM介绍 SECS/GEM定义半导体生产设备与主机之间的通讯关系,通讯标准。SECS/GEM通讯规则如下图,FAB负责MES进行控制整个车间的生产。 设备不需要关心SECS/GEM的实现,里面集成Event和支持动态配置报表Report,数据上报等大量内容。 我们是毫秒级响应,不像一些SECS/GEM Driver

How to create interdependent gems with bundler, and use repositories as the source?

余生颓废 提交于 2020-01-24 05:41:58
问题 How is it possible to create interdependent gems, and still use Bundler? Right now, if the Gemfile for library-a reads like this: gem 'library-b' gem 'library-c' And the Gemfile for library-b reads like this: gem 'library-a' gem 'library-c' And the Gemfile for library-c reads: gem 'library-a', github: 'library-root/library-a', branch: 'master' gem 'library-b', github: 'library-root/library-b', branch: 'master' When you try to run bundle update and/or bundle install for library-c , this is the

'Could not find gem' error when specifying a forked version of a gem from Github in my gemfile

天涯浪子 提交于 2020-01-23 12:42:56
问题 I am trying to use this forked version of the searchlogic gem. In my gemfile, I have gem "searchlogic", :git => "http://github.com/railsdog/searchlogic.git" when I do bundle install , I get this error: Could not find gem 'searchlogic (>= 0, runtime)' in http://github.com/railsdog/searchlogic.git (at master). Source does not contain any versions of 'searchlogic (>= 0, runtime)' What is causing this error? Thanks for reading. 回答1: It's because your fork not define searchlogic gem by rd

'Could not find gem' error when specifying a forked version of a gem from Github in my gemfile

拈花ヽ惹草 提交于 2020-01-23 12:42:29
问题 I am trying to use this forked version of the searchlogic gem. In my gemfile, I have gem "searchlogic", :git => "http://github.com/railsdog/searchlogic.git" when I do bundle install , I get this error: Could not find gem 'searchlogic (>= 0, runtime)' in http://github.com/railsdog/searchlogic.git (at master). Source does not contain any versions of 'searchlogic (>= 0, runtime)' What is causing this error? Thanks for reading. 回答1: It's because your fork not define searchlogic gem by rd

Gem not installing, showing connection error

白昼怎懂夜的黑 提交于 2020-01-23 00:41:09
问题 When I try to install gem like bundler or rake after creating new gemset , its not installing ,but if i intall old version its working fine for me . Here are the error logs while installing gems gem install rake Fetching: rake-0.9.2.2.gem ( 7%)ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) too many connection resets (http://cachefly.mirrors.rubygems.org/gems/rake-0.9.2.2.gem) 回答1: This problem was caused by the cachefly server. It seems that the folks over at rubygems.org

SECS/GEM解决方案

大兔子大兔子 提交于 2020-01-22 18:57:58
secs/gem及半导体前道工序设备多年经验,我们对SECS/GEM无比熟悉,不论SECS/GEM还是GEM300甚至少有听闻的EDA,我们都无比熟悉 对于没有接触过的人来说,SECS/GEM是无比艰难的,里面全部描述着概念性的东西。如果有人跟你说:他们一周就帮你完成一切。我们就只能呵呵的说,我们做不到,即使是外国大佬,也是会跟你说,他们做不到。 虽然SECS/GEM已经挺有历史,但是在国内总是那么的找不到方向,我们将会指导你如何设计。 这方面的资料太少了,而且领域性太强。这里面涉及到的半导体设备相关、网络相关、软件相关、工厂业务的内容等等,太多了,如果你是从事纯软件开发的人想要涉足这块内容还是需要化费一定精力的。 里面涉及设备的运行以及工艺问题,如果刚刚入门的人来说,太过于艰难了。 我们已经扎根于半导体许多年,做过的设备遍布于半导体前道工序以及LED的前道工序中,成熟稳定。 SECS/GEM介绍 SECS/GEM定义半导体生产设备与主机之间的通讯关系,通讯标准。SECS/GEM通讯规则如下图,FAB负责MES进行控制整个车间的生产。 符合SEMI E4, E5, E30, E37 的 SECS/GEM通讯方案 遵循 SEMI 人机交互设计,提供触摸屏支持让你触手可及。 毫米级的响应,让设备行云流水般流畅。 我们为你快速搭建PLC与MES之间的桥梁,无后顾之忧

installing gems using rvm

喜你入骨 提交于 2020-01-20 17:23:29
问题 When trying to install gems using rvm i get this error $ rvm gem install sproutcore ERROR: While executing gem ... (Errno::EACCES) Permission denied - /home/tee/.gem/specs but it says on the rvm site that you should not use sudo so I'm not sure whats wrong with my setup when i type $GEM_HOME it shows that the directory is pointing to the rvm dir $GEM_HOME bash: /home/tee/.rvm/gems/ruby-1.8.7-p302: is a directory Any ideas what I'm doing wrong? 回答1: There's a permission issue with your .gem

jekyll 完整安装教程

最后都变了- 提交于 2020-01-19 13:27:01
我的操作环境 CentOS主机: LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.4.1708 (Core) Release: 7.4.1708 Codename: Core 1. 安装ruby(同时会自动安装gem) 有ruby者,跳过此步骤! - 查看电脑是否有ruby $ ruby -v 安装 $ yum install ruby 查看ruby版本 $ ruby -v 输出 ruby 2.0.0p648 (2015-12-16) [x86_64-linux] jekyll 最新版要求 ruby 2.1或更高,所以更新ruby 这里我使用rvm更新ruby 安装rvm $ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 $ curl -sSL https://get.rvm.io | bash -s stable $ source ~/.bashrc $ source ~/.bash_profile $ source /etc/profile.d/rvm.sh 修改rvm 的镜像到国内 $