estorm logo Ficonab.com
  • Home
  • About
  • Strategies
  • Technology
  • Contact
  • Quotes

Compile coffeescript to javascript

On my mac compiling coffeescript to javascript was not self evident. I did it by entering rails console or irb and then running the following commands

require 'coffee-script'
res=CoffeeScript.compile File.read("application.coffee")
File.open('application.js', 'w') { |file| file.write(res) }

Technical Notes

  • Technology
    • Technology
    • Migrating to systemd
    • Migrating to heroku
    • Migrating to postgres
    • estorm-message-processor
    • email-authentication gem
    • Migrating to bootstrap V3
    • Manually running a resque worker.
    • Using mathematica to send emails on a Mac OS X
    • Wolfram AWS Amazon Web Services
    • Wolfram Cron jobs
    • Databin wolfram via ruby
    • Email via scheduled tasks (mathematica/wolfram) deployed to Wolfram Cloud
    • Sigh V2! Email via scheduled tasks (mathematica/wolfram) deployed to Wolfram Cloud
    • DocumentGenerator working in the cloud! (10.3)
    • How to post from mathematica to rails application using json.
    • Compile coffeescript to javascript
    • Internationalize NestaCMS


Show Version and Copyright
Version: 1.4 ficonab logo
Copyright Ficonab Pte. Ltd. 2015

Company registration: 200710430W

Developed by Scott with Nesta, a Ruby CMS. using the twitter boostrap css v3 to provide responsive support on various devices. Code for the entire website is available at github source