0

こんにちは、Ubuntu 11.10でコマンドrhc-create-domainを実行すると、エラーが発生します。私はこれの手順に従います:

コマンドラインでのrhc-create-domainのエラー(Openshitft)

しかし、私はこのエラーを受け取ります:

mastervodoo@vodoo:/boot/grub$ rhc domain create -n projveh -l xxxxx@gmail.com 
Invalid gemspec in [/var/lib/gems/1.8/specifications/mime-types-1.18.gemspec]: invalid date format in specification: "2012-03-21 00:00:00.000000000Z"
Invalid gemspec in [/var/lib/gems/1.8/specifications/mime-types-1.18.gemspec]: invalid date format in specification: "2012-03-21 00:00:00.000000000Z"
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require': no such file to load -- mime/types (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /var/lib/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /var/lib/gems/1.8/gems/rest-client-1.6.7/lib/restclient.rb:13
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /var/lib/gems/1.8/gems/rest-client-1.6.7/lib/rest-client.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /var/lib/gems/1.8/gems/rhc-0.92.11/lib/rhc-rest.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /var/lib/gems/1.8/gems/rhc-0.92.11/lib/rhc-common.rb:12
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /var/lib/gems/1.8/gems/rhc-0.92.11/bin/rhc-domain:2
from /usr/local/bin/rhc-domain:19:in `load'
from /usr/local/bin/rhc-domain:19

`gem_original_require'が必要です:ロードするそのようなファイルはありません--mime / typesですが、これをインストールまたは修正する方法または場所はどこですか?、thnks。

4

1 に答える 1

2

さて、私はこれを簡単な解決策で解決します。Gemspecには、検証されないいくつかの異なる日付形式があります。私はこのコマンドを実行します:

$ sudo sed -i's / 00:00:00.000000000Z //' /var/lib/gems/1.8/specifications/*

その後、コマンドを実行できます

$rhcドメインはthknsを作成します。

于 2012-05-30T02:45:53.753 に答える