Skip to content

Commit

Permalink
Address few pending issues in README
Browse files Browse the repository at this point in the history
  • Loading branch information
kikonen committed Jun 3, 2015
1 parent 455cdf1 commit 6f8c9d9
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,32 @@ Usage

By default ng-annotate processing is disabled in development and test environments. Processing, however, can be enforced by specifying NG_FORCE=true option.


### NOTES

#### Javascript runtime

[Issue with OSX javascript runtime](https://github.com/kikonen/ngannotate-rails/issues/20)

Use "therubyracer" as javascript runtime

Gemfile
```ruby
gem 'therubyracer', platforms: :ruby
```


#### Heroku
[Issue with Heroku](https://github.com/kikonen/ngannotate-rails/issues/10)

When pushing to heroku its important to invalidate all of your assets.


```ruby
Rails.application.config.assets.version = '1.0'
Rails.application.config.assets.version = '1.1
```
### Environment options
- NG_REGEXP
Expand All @@ -43,7 +69,6 @@ For example,
# with rails 4.1
NG_FORCE=true RAILS_ENV=development bundle exec rake assets:clobber assets:precompile

### Rails configuration options
Defined in "config.ng_annotate"
Expand Down

0 comments on commit 6f8c9d9

Please sign in to comment.