Unable to generate rspec using this command: rails generate rspec:install
I have made the changes to the Gemfile. Bundle was successful. I receive the following error message from 'rails generate rspec:install. I am using rails-4.2.0, bundler-1.7.11, rake-10.4.2. Any help would be appreciated!
λ rails generate rspec:install
DL is deprecated, please use Fiddle
require': cannot load such file -- rspec/core (LoadError)
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-3.1.0/lib/rspec.rb:1:in<top (required)>'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.11/lib/bundler/runtime.rb:76:inblock (2 levels) in require'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.11/lib/bundler/runtime.rb:72:inblock in require'
from C:/Users/AnnieD/treehouse/odot/config/application.rb:7:in<top (required)>'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/commands.rb:17:in<top (required)>'
The command 'spring stop' generated this error message
Spring not recognized as an internal or external command.
I am working in the treehouse vm.
I just installed it. When I execute 'spring stop', message says spring is not running.
I've tried all of that and more. But thank you for your help.
I agree with your assessment about RoR development on Windows. It was my intention to work through the treehouse tutorial using the treehouse vm on Windows, and then later set up a local development environment on Ubuntu. I've programmed alot under Windows before (C++), so I am comfortable with it. But RoR is probably meant for Linux. With all of your points, it seems you've done a lot of tracks on treehouse. Did you use the treehouse vm when you were completing the Ruby track?
Awesome, thanks for this. Unless I can resolve my rspec problem, I am pretty much back at square one. Would you suggest I blow off my current development environment, and reinstall based on this ubuntu setup. I have my owner virtual Linux server - I was planning on using it for my production application, might as well use it for dev. And rvm is Polish?
Great, thanks for your help. Have a good evening!