6
Rails'i yeni öğrenmeye başlıyorum ve ilk projemi oluşturuyorum. Benim Gemfile i ekledik:Raylar Atma Üretme En az hata mı?
group :test, :development do
gem 'turn'
gem 'rspec-rails'
gem 'capybara'
gem 'guard-rspec'
gem 'growl_notify'
end
Ve bundle
çalıştırın. Her şey yolunda gidiyor.
rails g
çalışan denedim ama şu hata yapması gerekiyordu:
GarysMBA:glecto swally_1991$ rails g
gem install minitest
/Library/Ruby/Gems/1.8/gems/turn-0.9.4/lib/turn/minitest.rb:9:in `require': no such file to load -- minitest/unit (LoadError)
from /Library/Ruby/Gems/1.8/gems/turn-0.9.4/lib/turn/minitest.rb:9
from /Library/Ruby/Gems/1.8/gems/turn-0.9.4/lib/turn.rb:13:in `require'
from /Library/Ruby/Gems/1.8/gems/turn-0.9.4/lib/turn.rb:13
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `each'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `each'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler.rb:122:in `require'
from /Users/swally_1991/Desktop/glecto/config/application.rb:13
from /Library/Ruby/Gems/1.8/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
from /Library/Ruby/Gems/1.8/gems/railties-3.2.3/lib/rails/commands.rb:24
from script/rails:6:in `require'
from script/rails:6
benim yapılandırma araştırdım ama her yerde Minitest herhangi bir referans bulamıyorum? Daha önce bu problemi gören oldu mu? Ya da beni düzeltmek için doğru yönde yönlendirebilir misin? Bu size yardımcı olacaktır
teşekkür ederiz okuyun. Mükemmel çalıştı. – starskythehutch