2011-12-30 5 views
1

私はgithubからレールサンプルアプリケーションをダウンロードしましたが、GemFileはありません。どのように動かすことができますか? rake gems:installを試しましたが、次のエラーが発生しました。なぜ誰かが助けることができないのか分かりませんでしたか?どうもありがとう!GemFileなしでRailsアプリケーションを設定するには?

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. 
Gem.source_index called from G:/Desktop/20090319-/Rails Examples/showchart/vendor/rails/railties/lib/rails/gem_dependency.rb:21. 
... 
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. 
Gem::SourceIndex#add_spec called from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:91. 
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead. 
    at C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb 
DEPRECATION WARNING: Rake tasks in vendor/plugins/gemsonrails/tasks, vendor/plugins/gemsonrails/tasks, vendor/plugins/gemsonrails/tasks, vendor/plugins/gemsonrails/tasks, and vendor/plugins/open_flash_chart/tasks are deprecated. Use lib/tasks instead. (called from <top (required)> at G:/Desktop/20090319-/Rails Examples/showchart/vendor/rails/railties/lib/tasks/rails.rb:10) 
** Invoke gems:install (first_time) 
** Invoke gems:base (first_time) 
** Execute gems:base 
** Invoke environment (first_time) 
** Execute environment 
rake aborted! 
undefined method `name' for "RedCloth":String 
G:/Desktop/20090319-/Rails Examples/showchart/vendor/rails/railties/lib/rails/gem_dependency.rb:277:in `==' 
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:217:in `===' 
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:217:in `block in matching_specs' 
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:410:in `block in each' 
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:409:in `each' 
.... 
C:/Ruby192/bin/rake:19:in `load' 
C:/Ruby192/bin/rake:19:in `<main>' 
Tasks: TOP => environment 
+0

あなたは、githubのパスを提供することができますサンプルアプリをダウンロードしました –

答えて

0

ただ...その後、アプリケーションを起動し、不足している宝石を把握しようと、新しいレールアプリからGemfileを過ぎて/コピー:ここで、U -S

関連する問題