Working with the Ruby on Rails tutorial and getting stuck here. "To run RSpec and Spork using Autotest, we need to configure RSpec to use the -drb option by default, which we can arrange by adding it to the .rspec configuration file in the Rails root directory (Listing 3.14).
When I look at my file structure, I can not find a single file with the extension .rspec? How to access this file to update the configuration?
If you are using a mac, you will not see these files the same way you will not see the gitignore file
, , ( )
mate .rspec
, , , .
gem 'rspec-rails' Gemfile, rails g rspec:install. .rspec Rails. "spec_helper.rb"
gem 'rspec-rails'
rails g rspec:install
, . Linux-, <ctrl-h>. ls -a unix, .
<ctrl-h>
ls -a
mac, ., . , ls -a, "dotfiles", .
.
If this file does not exist yet (maybe it is not), you just need to create it using your favorite editor.
Source: https://habr.com/ru/post/1782321/More articles:Printing an HTML page in landscape mode? - htmlWhat is the difference between Response.Close () and Response.Dispose ()? - c #How to open a file in such a way that if the file does not exist, it will be created and opened automatically? - cWhat do you call C functions from MacRuby? - macrubytwo queries give different results in one database - mysqlLinks are not expanded when using ResolveReferences and _CopyWebApplication in AfterBuild - asp.netimport existing source code as a reference library in eclipse - build-processМожно ли сериализовать массив так, чтобы его элементы не были обернуты тегом для массива? - c#Create UML from Zend-framework project? - netbeansusername from CGI - perlAll Articles