`
cinic2003
  • 浏览: 37117 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Gem::Specification

阅读更多

在Mac OSX 10.6.7上运行gem update --system后,可能会出现:

 

NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/acts_as_ferret-0.5.1.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/aws-s3-0.6.2.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/bundler-1.0.0.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/erubis-2.6.6.gemspec:10.
NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
Gem::Specification#default_executable= called from /Library/Ruby/Gems/1.8/specifications/json-1.4.6.gemspec:10.
 

解决办法:

sudo gem pristine --all
 

 

 

转自:http://www.phpmercenary.com/2011/05/note-gemspecificationdefault_executable-is-deprecated-with-no-replacement/

分享到:
评论

相关推荐

    Gem-源码.rar

    例如,`Gem::SourceIndex`类负责维护所有已知Gem的索引,而`Gem::Specification`类则定义了如何解析和处理`gemspec`文件。这些类和模块提供了Gem的基本操作,如安装、卸载和更新。 `commands`模块则包含了Gem命令行...

    ruby-2.67.tgz

    例如,你可以使用`Gem::Specification`类来定义gem的元数据,或者使用`Gem::Dependency`来声明你的项目依赖哪些其他gem。此外,`require`语句能够自动加载已安装gem中的文件,简化了代码的导入过程。 总的来说,...

    special_delivery:使用 rake 标记、构建和发布 gem 到您的 geminabox 服务器,就像 Bundler 一样!

    Gem :: Specification . new do | gem | # ... gem . add_development_dependency 'special_delivery' end 然后执行: $ bundle 在您的 gem 的 Rakefile 中,将 Bundler 的 gem 任务替换为 Special Delivery ...

    git_tagger:旨在加快速度的Ruby宝石

    git_tagger = Gem :: Specification . find_by_name "git_tagger" load " #{ git_tagger . gem_dir } /lib/tasks/deploy.rake" 然后执行: $ bundle 或者自己安装: $ gem install git_tagger 用法 在您的...

    test:第一个仓库

    Gem::Specification.new do |gem| gem.authors = ["Tony Arcieri", "Erik Michaels-Ober", "Alexey V. Zapparov", "Zachary Anker"] gem.email = ["bascule@gmail.com"] gem.description = <<-DESCRIPTION....

    landing:我们的网站

    咆哮着陆 该站点由提供支持, 是静态站点...如果您在运行服务器时遇到问题或遇到Gem错误:WARN:控制台上的Gem :: Specification.reset过程中未解决的规范,则可以调用以下命令来强制Middleman启动服务器: bundle ex

    furious:将宝石推入Gemfury的简单方法

    Gem :: Specification . new do | spec | # ... spec . add_development_dependency 'furious' end 用法 furious package -建立一个宝石包裹 furious tag -在Git存储库中标记版本 furious push -将gem推送到...

    autoloaded:消除为项目中的每个 Ruby 源代码文件手工编写 `autoload` 语句的苦差事

    自动加载 如果您喜欢 Ruby 核心库的功能,您可能希望使用Autoloaded 。 它消除了为项目中的每个 Ruby 源代码文件手工编写...Gem :: Specification . new do | spec | # ... spec . add_dependency 'autoloaded'

    Core:CocoaPods gem中使用的模型

    gem还提供了对Pod::Specification::Set::Presenter等辅助功能的支持,适用于预置Pod::Specification::Set::Presenter描述和Specification::Linter ,以确保podspec文件的有效性。安装 $ [sudo] gem install ...

    Ruby中的gem包管理的使用及gem源搭建教程

    Gem::Specification.new do |s| s.name = 'topico' s.version = '0.0.1' s.date = '2012-03-11' s.summary = 'Greeting from Topico' s.description = 'Topico shows a greeting to RubyGems' s.authors = ['...

    preloadables:用于输出预加载预取元数据的Rails助手

    预载物Preloadables是Rails的瑰宝,它...安装将gem'preloadables gem 'preloadables'添加到您的Gemfile中,或者如果您使用的是gemspec: Gem :: Specification . new do | s | s . add_dependency 'preloadables'end用

    SECSGEM Software Specification Document Version 1.21

    SECS/GEM接口规范文档通常用于半导体制造业中,用以确保设备与主机间的通信协议的标准化。SECS(SEMI Equipment Communications Standard)和GEM(Generic Equipment Model)是SEMI(半导体设备和材料国际协会)制定...

    gem_config:一种使您的gem可配置的好方法

    用法作为宝石作者包括 gem 并添加如下配置选项: # awesomeness.gemspecGem :: Specification . new do | gem | ... gem . add_runtime_dependency 'gem_config'end # lib/awesomeness.rbrequire 'gem_config'module...

    gem-version-update-easy

    宝石版本更新容易 1 班轮更新宝石版本 ...Gem::Specification.new do |s| s.name = 'mll_common' s.version = GemVersion.current rake release:version_bump rake release:version_bump_and_push

    KLM8G1GEME-B041 datasheet

    KLM8G1GEME-B041(eMMC5.1 1ynm based e-MMC)1.0 embedded MultiMediaCard Ver. 5.1 compatible.  SAMSUNG eMMC supports features of eMMC5.1 which are defined in JEDEC Standard - Supported Features : ...

    Ruby包管理器gem常用命令

    `gem specification <gem_name>`(如 `gem spec progressbar`)会提供已安装gem的详细信息,包括版本、作者、描述等。 6. **卸载软件**: `gem uninstall <gem_name>` 用于卸载指定的gem,如 `gem uninstall ...

    jsonapi-scopes:这个gem允许您根据请求,按照JSON过滤和排序ActiveRecord关系

    这也是一个可以帮助您遵循JSON:API specification解决方案。 它不在乎您要如何处理结果。 而且,它可以无缝集成到您的Rails应用程序中,而不是一个完整的库。 安装 将此行添加到您的应用程序的Gemfile中: gem '...

    SECSgem半导体行业通信规范资料.rar

    SECSgem半导体行业通信规范资料.rar CIMConnect.pdf Crandell.ppt EB696d01.pdf Introduction_to_the_semi_standards.pdf...SECS-GEM_PROTOCOL_SPECIFICATION.pdf Secs-II.pdf SEMI E04 - 0699.pdf SEMI E37 - 0999.pdf

    Influxer:InfluxDB ActiveRecord风格

    涌入者Influxer提供了一种ActiveRecord风格的方式来使用具有许多有用功能的 ,例如:安装添加到宝石: # my-cool-gem.gemspecGem :: Specification . new do | spec | # ... spec . add_dependency "influxer" , ">=...

Global site tag (gtag.js) - Google Analytics