Rails 3.6 manual, "bin" is not recognized as an internal or external command

I am stuck with section 3.6 on railstutorial.org, especially when I run

> bin/rspec spec/

      

on my windows 7 machine i get "bin" not recognized as an internal or external command.

I have already typed

> bundle --binstubs

      

I don't have RVM here. Should I install it?

When I go cd bin and execute rspec I get

'load': cannot load such file

      

My gemfile:

source 'https://rubygems.org'

gem 'rails', '3.2.13'

group :development, :test do
  gem 'sqlite3', '1.3.5'
  gem 'rspec-rails', '2.11.0'
end

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '3.2.5'
  gem 'coffee-rails', '3.2.2'
  gem 'uglifier', '1.2.3'
end

gem 'jquery-rails', '2.0.2'

group :test do
  gem 'capybara', '1.1.2'
end

group :production do
  gem 'pg', '0.12.2'
end

      

Thanks in advance.

0


source to share


1 answer


Just thought I'd repeat the warning about this section to the author:

"This section should only be attempted by fairly advanced users and can be skipped without loss of continuity. Among other things, this material is likely to become outdated faster than the rest, so you shouldn't expect everything on your system to match the examples exactly and you might need Google to get everything to work. "



As a side note ... I first tried using ruby ​​on rails on a windows machine, but found that most of the support community is using apples or Linux boxes. I have been much happier since I started dual booting in Ubuntu. The transition was easier than I expected and I had less gem issues.

0


source







All Articles