在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::SourceIndex`类负责维护所有已知Gem的索引,而`Gem::Specification`类则定义了如何解析和处理`gemspec`文件。这些类和模块提供了Gem的基本操作,如安装、卸载和更新。 `commands`模块则包含了Gem命令行...
例如,你可以使用`Gem::Specification`类来定义gem的元数据,或者使用`Gem::Dependency`来声明你的项目依赖哪些其他gem。此外,`require`语句能够自动加载已安装gem中的文件,简化了代码的导入过程。 总的来说,...
Gem :: Specification . new do | gem | # ... gem . add_development_dependency 'special_delivery' end 然后执行: $ bundle 在您的 gem 的 Rakefile 中,将 Bundler 的 gem 任务替换为 Special Delivery ...
git_tagger = Gem :: Specification . find_by_name "git_tagger" load " #{ git_tagger . gem_dir } /lib/tasks/deploy.rake" 然后执行: $ bundle 或者自己安装: $ gem install git_tagger 用法 在您的...
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....
咆哮着陆 该站点由提供支持, 是静态站点...如果您在运行服务器时遇到问题或遇到Gem错误:WARN:控制台上的Gem :: Specification.reset过程中未解决的规范,则可以调用以下命令来强制Middleman启动服务器: bundle ex
Gem :: Specification . new do | spec | # ... spec . add_development_dependency 'furious' end 用法 furious package -建立一个宝石包裹 furious tag -在Git存储库中标记版本 furious push -将gem推送到...
自动加载 如果您喜欢 Ruby 核心库的功能,您可能希望使用Autoloaded 。 它消除了为项目中的每个 Ruby 源代码文件手工编写...Gem :: Specification . new do | spec | # ... spec . add_dependency 'autoloaded'
gem还提供了对Pod::Specification::Set::Presenter等辅助功能的支持,适用于预置Pod::Specification::Set::Presenter描述和Specification::Linter ,以确保podspec文件的有效性。安装 $ [sudo] gem install ...
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的瑰宝,它...安装将gem'preloadables gem 'preloadables'添加到您的Gemfile中,或者如果您使用的是gemspec: Gem :: Specification . new do | s | s . add_dependency 'preloadables'end用
SECS/GEM接口规范文档通常用于半导体制造业中,用以确保设备与主机间的通信协议的标准化。SECS(SEMI Equipment Communications Standard)和GEM(Generic Equipment Model)是SEMI(半导体设备和材料国际协会)制定...
用法作为宝石作者包括 gem 并添加如下配置选项: # awesomeness.gemspecGem :: Specification . new do | gem | ... gem . add_runtime_dependency 'gem_config'end # lib/awesomeness.rbrequire 'gem_config'module...
宝石版本更新容易 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(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 : ...
`gem specification <gem_name>`(如 `gem spec progressbar`)会提供已安装gem的详细信息,包括版本、作者、描述等。 6. **卸载软件**: `gem uninstall <gem_name>` 用于卸载指定的gem,如 `gem uninstall ...
这也是一个可以帮助您遵循JSON:API specification解决方案。 它不在乎您要如何处理结果。 而且,它可以无缝集成到您的Rails应用程序中,而不是一个完整的库。 安装 将此行添加到您的应用程序的Gemfile中: gem '...
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提供了一种ActiveRecord风格的方式来使用具有许多有用功能的 ,例如:安装添加到宝石: # my-cool-gem.gemspecGem :: Specification . new do | spec | # ... spec . add_dependency "influxer" , ">=...