Monday, November 30, 2015

CouchDB, couchjs, SpiderMonkey, brew and Xcode

I have tried to play with couchjs, the CouchDB 'js engine' today. It involved some troubles (as always) so they are 'saved' here:
$sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.1
BuildVersion: 15B42

$xcodebuild -version
Xcode 5.0.1
Build version 5A2053



# Installing XCode from app store (downloading 4.3 GB) ;-(

$ xcodebuild -version
Xcode 7.1.1
Build version 7B1005


# paranoid

brew --version
0.9.5 (git revision fe22f; last commit 2015-09-21)

# no so
brew --version
0.9.5 (git revision 6fe85; last commit 2015-11-30)

# and now ?
brew install spidermonkey

# yes:
/usr/local/Cellar/spidermonkey/1.8.5_1/bin/js
js> Object.keys({});
[]

Yes Yes Yes, this was my main purpose to do this:
/Applications/Apache\ CouchDB.app/Contents/Resources/couchdbx-core/lib/couchdb/bin/couchjs
Usage: couchjs [FILE]

The couchjs command runs the Apache CouchDB JavaScript interpreter.

The exit status is 0 for success or 1 for failure.

Options:

  -h          display a short help message and exit
  -V          display version information and exit
  -H          enable couchjs cURL bindings (only avaiable
              if package was built with cURL available)
  -S SIZE     specify that the runtime should allow at
              most SIZE bytes of memory to be allocated
  -u FILE     path to a .uri file containing the address
              (or addresses) of one or more servers

Report bugs at .

21 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Develop Marketing, Advertising and Campaign Management Techniques at TSoM. Learn how to Research and Build the correct Marketing Strategies for key stakeholders. Pay Per Click Marketing. Google Ads.

    digital marketing course in chennai, digital marketing training in chennai, best digital marketing, digital marketing, skartec digital marketing, skartec digital marketing academy, seo training in chennai, best seo service in chennai, digital marketing blog

    ReplyDelete
  4. Are you trying to move in or out of Jind? or near rohtak Find the most famous, reputed and the very best of all Packers and Movers by simply calling or talking to Airavat Movers and Packers
    keep update lot
    Ai & Artificial Intelligence Course in Chennai
    PHP Training in Chennai
    Ethical Hacking Course in Chennai Blue Prism Training in Chennai
    UiPath Training in Chennai

    ReplyDelete
  5. Quite Interesting post!!! Thanks for posting such a useful post. I wish to read your upcoming post to enhance my skill set, keep blogging.I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    selenium training in chennai

    selenium training in chennai

    selenium online training in chennai

    software testing training in chennai

    selenium training in bangalore

    selenium training in hyderabad

    selenium training in coimbatore

    selenium online training

    selenium training



    ReplyDelete
  6. After I at first remarked I appear to have tapped on the - Notify me when new remarks are added-checkbox and now every time a remark is added I get 4 messages with precisely the same remark. There must be a simple strategy you can eliminate me from that help? Credit!
    best interiors

    ReplyDelete
  7. It lets you control the motion of your mouse and also emulate keyboard keypress such as a game controller to any matches. How To Register Pinnacle Game Profiler

    ReplyDelete
  8. It allows you to performance a routine MIDI documents also link by means of MIDI procedures, multiple training sorts, such as “Strain Training” which hiatus the song every time employer blunders a memo. Synthesia Unlock Key

    ReplyDelete