Skip to content

davidmilo/local_gem_reloading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example of the setup where we have a Rails app and a Gem

Rails app is including gem as a local gem using path in the Gemfile.

How to get reloading in development work so that:

  • changes in the gem are reflected in the rails app?

To test reloading, open the rails app frontpage (Dashboard#show action).

It render whatever MyNamespace::MyGem.do_something returns.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published