2df72d06978eb9790a8023f6e1f06df1ec18201a
				
			
			
		
	Webpacker (Ruby wrapper to webpack) uses RAILS_ENV-based environments while the javascript configuration for webpack re-reads this configuration file using the NODE_ENV environment variable. This means that when RAILS_ENV=test, running “assets:precompile” compiled the production packs in “public/packs” while webpacker expects them in “public/packs-test”. This causes Ruby to recompile them on-the-fly, possibly leading to race conditions in parallel_tests. This changes: - Disables on-the-fly compilation in test environment - Changes the javascript part to read the correct environment
Mastodon Glitch Edition
Now with automated deploys!
So here's the deal: we all work on this code, and then it runs on dev.glitch.social and anyone who uses that does so absolutely at their own risk. can you dig it?
- You can view documentation for this project at glitch-soc.github.io/docs/.
- And contributing guidelines are available here and here.
Description
				
					Languages
				
				
								
								
									Ruby
								
								57.6%
							
						
							
								
								
									JavaScript
								
								26.6%
							
						
							
								
								
									SCSS
								
								10%
							
						
							
								
								
									Haml
								
								5.5%
							
						
							
								
								
									HTML
								
								0.2%