Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). Serve is meant to be a lightweight version of the Views part of the Rails MVC. This makes Serve an ideal framework for prototyping Rails applications or creating simple websites. Serve has full support for Rails-style partials and layouts.
By using the gem 'rack-coffee' and 'coffee-script', we can use the .coffee to write the coffeescript code. It runs well in the running environment, but it does not generate the js file into the /public/javascripts directory.
By using the gem 'rack-coffee' and 'coffee-script', we can use the .coffee to write the coffeescript code. It runs well in the running environment, but it does not generate the js file into the /public/javascripts directory.