Note that there are some explanatory texts on larger screens.

plurals
  1. PORails Generate throwing Minitest error?
    text
    copied!<p>I am just starting to learn Rails and I'm creating my first project. In my Gemfile i've added:</p> <pre><code>group :test, :development do gem 'turn' gem 'rspec-rails' gem 'capybara' gem 'guard-rspec' gem 'growl_notify' end </code></pre> <p>And run <code>bundle</code>. All is going fine so far.</p> <p>I tried running <code>rails g</code> to see if my packages were installed but I was faced with the following error:</p> <pre><code>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 </code></pre> <p>I have searched my config but I can't find any references to <strong>Minitest</strong> anywhere? Has anyone came across this problem before? Or can point me in the right direction of fixing it?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload