Skip to content

Commit c65ab08

Browse files
authored
Create README.md
1 parent 7adf6ab commit c65ab08

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Example of the setup where we have a *Rails app* and a *Gem*
2+
3+
Rails app is including gem as a local gem using path in the Gemfile.
4+
5+
How to get reloading in development work so that:
6+
- changes in the gem are reflected in the rails app?
7+
8+
9+
To test reloading, open the rails app frontpage (`Dashboard#show` action).
10+
11+
It render whatever `MyNamespace::MyGem.do_something` returns.
12+
13+
Try changing what thius method in the gem returns and reload the page. If what is rendered on the page changes then it works. If value stays same, it fails.

0 commit comments

Comments
 (0)