Download http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
Make the .bin file executable
$ chmod a+x AdobeAIRInstaller.bin
Run the .bin file by executing following
| version: 2 | |
| jobs: | |
| test-job: | |
| machine: true | |
| steps: | |
| - checkout | |
| - run: sudo bash -c "$(curl -fsSL https://s3.amazonaws.com/tools.nanobox.io/bootstrap/ci.sh)" | |
| - run: nanobox evar add local CLOUDINARY_API_KEY=$CLOUDINARY_API_KEY |
Download http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
Make the .bin file executable
$ chmod a+x AdobeAIRInstaller.bin
Run the .bin file by executing following
| # This is a skeleton for testing models including examples of validations, callbacks, | |
| # scopes, instance & class methods, associations, and more. | |
| # Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
| # | |
| # I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
| # so if you have any, please share! | |
| # | |
| # This skeleton also assumes you're using the following gems: | |
| # | |
| # rspec-rails: https://github.com/rspec/rspec-rails |
Updated for Rails 4.0.0+
Set up the bower gem.
Follow the Bower instructions and list your dependencies in your bower.json, e.g.
// bower.json{
| module Where | |
| class <<self | |
| attr_accessor :editor | |
| def is_proc(proc) | |
| source_location(proc) | |
| end | |
| def is_method(klass, method_name) | |
| source_location(klass.method(method_name)) |