æ©è½ ã¢ã»ãããã¡ã¤ã«ã«ã¢ã¯ã»ã¹ããããã®ãã¹ã管çãã(ã¢ã»ãããã¹) ã¢ã»ããã®ã³ã³ãã¤ã«(Asset Pipeline) ã¢ã»ãããã¡ã¤ã«å士ã®ä¾åæ§ã管çãã developmentç°å¢ã®å ´å 1. ã¢ã»ãããã¹ãç»é² ã¢ã»ãããã¡ã¤ã«ãé ç½®ãããã¹ã管çãã¦ï¼ã¤ã®ãã£ã¬ã¯ããªã«ãããã®ããã«ã¢ã¯ã»ã¹ããæ©è½ (Ruby) require 'sprockets' #/assetsã«ã¢ã¯ã»ã¹ããéã«å¼ã³åºãã¢ã»ããã®è¨å® map '/assets' do environment = Sprockets::Environment.new #assets/javascript以ä¸ã®ãã¡ã¤ã«ã/assetsããå¼ã³åºãã environment.append_path 'assets/javascript' #assets/stylesheets以ä¸ã®ãã¡ã¤ã«ã/assetsããå¼ã³åºãã
{{#tags}}- {{label}}
{{/tags}}