You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The installer will create your default Sass input file in `app/assets/stylesheet
8
8
9
9
If you need to configure the build process – beyond configuring the build files – you can run `bundle exec dartsass` to access the platform-specific executable, and give it your own build options.
10
10
11
-
When you're developing your application, you want to run Dart Sass in watch mode, so changes are automatically reflected in the generated CSS output. You can do this either by running `rails dartsass:watch` as a separate process, or by running `./bin/dev` which uses [foreman](https://github.com/ddollar/foreman) to starts both the Dart Sass watch process and the rails server in development mode.
11
+
When you're developing your application, you want to run Dart Sass in watch mode, so changes are automatically reflected in the generated CSS output. You can do this either by running `rails dartsass:watch` as a separate process, or by running `./bin/dev` which uses [foreman](https://github.com/ddollar/foreman) to start both the Dart Sass watch process and the rails server in development mode.
12
12
13
13
14
14
## Installation
@@ -65,16 +65,16 @@ and want to switch to dartsass-rails, follow these instructions below:
65
65
1. Remove any references to Sass files from the Sprockets manifest file:
66
66
`app/assets/config/manifest.js`
67
67
68
-
1. In your continues integration pipeline, before running any tests that
69
-
interacts with the browser, make sure to build the Sass files by running:
68
+
1. In your continuous integration pipeline, before running any tests that
69
+
interact with the browser, make sure to build the Sass files by running:
70
70
71
71
```
72
72
bundle exec rails dartsass:build
73
73
```
74
74
75
75
## Troubleshooting
76
76
77
-
Some common problems experienced by users ...
77
+
Some common problems experienced by users:
78
78
79
79
### LoadError: cannot load such file -- sassc
80
80
@@ -83,7 +83,7 @@ but the sass-rails or sassc-rails gems are not installed. This is expected,
83
83
since Dart Sass is used instead to build Sass files, and the solution is
84
84
to make sure that Sprockets is not building any Sass files.
85
85
86
-
There are three reasons for why this error can occur:
86
+
There are three reasons why this error can occur:
87
87
88
88
#### Sass files are referenced in the Sprockets manifest file
89
89
@@ -109,16 +109,16 @@ the Dart Sass process is most likely not running.
109
109
Make sure the Dart Sass process is running by starting the Rails sever by
110
110
running: `./bin/dev`.
111
111
112
-
#### Running continues integration pipelines
112
+
#### Running continuous integration pipelines
113
113
114
-
If you receive this error when running tests that interacts with the browser in
115
-
a continues integration pipeline and have removed any references to Sass files
114
+
If you receive this error when running tests that interact with the browser in
115
+
a continuous integration pipeline and have removed any references to Sass files
116
116
from the Sprockets manifest file, the Sass files have most likely not been
117
117
built.
118
118
119
119
##### Solution
120
120
121
-
Add a step to the continues integration pipeline to build the Sass files with
121
+
Add a step to the continuous integration pipeline to build the Sass files with
122
122
the following command: `bundle exec rails dartsass:build`.
0 commit comments