This repository has been archived by the owner on May 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 256
Installation
mwcmpbll edited this page May 9, 2011
·
19 revisions
http://guide.macports.org/chunked/installing.macports.uninstalling.html
https://github.com/mxcl/homebrew/wiki/installation
brew install scons
mkdir ~/javascript
cd ~/javascript
svn checkout http://v8.googlecode.com/svn/trunk/ v8
cd ~/javascript/v8
scons sample=shell
sudo ln -s ~/javascript/v8/shell /usr/local/bin/v8
cd ~/javascript/v8
svn update
scons sample=shell
You can also do this through brew
brew install v8
I was was going to get the sources and compile, and then thought brew...
brew install node
curl -O http://redis.googlecode.com/files/redis-2.2.4.tar.gz
tar xzf redis-2.2.4.tar.gz
cd redis-2.2.4
make
sudo cp src/redis-server /usr/local/bin
sudo cp src/redis-cli /usr/local/bin
git clone git://github.com/isaacs/npm.git
cd npm
sudo make install
# node cli.js install -g -f
# /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm.js
# npm@1.0.1rc6 /usr/local/lib/node_modules/npm
mv .rvm{,.1}
bash < <(curl -B http://rvm.beginrescueend.com/install/rvm)
rvm --version
# rvm 1.5.3
rvm install 1.9.2
rvm --default 1.9.2
which ruby
gem install rails3
gem install sinatra
gem install sqlite3
gem install json
gem install redis
gem install nokogiri
curl get.pow.cx/uninstall.sh > pow.sh
edit pow.sh and comment out these 2 lines
# launchctl unload "$HOME/Library/LaunchAgents/cx.pow.powd.plist"
# launchctl load "$HOME/Library/LaunchAgents/cx.pow.powd.plist"
./pow.sh
cd Workspaces
git clone https://github.com/defunkt/resque.git
cd resque
edit .rvmrc
rvm 1.9.2
bundle install
cd .pow
ln -s /Users/kramerica/Workspaces/resque
cd resque
vi .rvmrc
rvm 1.9.2
cd ~/.pow/resque
reply 'y' to trust
bundle install
edit /etc/resolver/dev ==> add newline after last entry
scutil --dns
resolver #9
domain : dev
nameserver[0] : 127.0.0.1
port : 20560
edit ~/Library/Application\ Support/Pow/Current/bin/pow
#!/usr/bin/ruby ==> #!/usr/bin/env ruby
sudo redis-server
launchctl unload "$HOME/Library/LaunchAgents/cx.pow.powd.plist"
launchctl load "$HOME/Library/LaunchAgents/cx.pow.powd.plist"
open http://resque.dev