Over a million developers have joined DZone.

Ruby - Merb Edge + Feather Install

·

..install merb / etc / feather

..install dependencies
sudo gem install addressable english rspec
sudo gem install archive-tar-minitar tzinfo

..install merb edge
git clone git://github.com/sam/extlib.git
cd extlib
sudo rake install
cd ..

sudo git clone git://github.com/wycats/merb-core.git
sudo git clone git://github.com/wycats/merb-more.git
sudo gem install erubis rake json_pure rspec rack hpricot mime-types
cd merb-core ; sudo rake install ; cd ..
cd merb-more ; sudo rake install ; cd ..

..install datamapper-edge

..make sure you have openssl-ruby installed otherwise these will not compile!

sudo aptitude install openssl-ruby


sudo gem install ParseTree -v=2.1.1
sudo gem install ruby2ruby -v=1.1.8
sudo gem install addressable english rspec
mkdir -p ~/src cd ~/src
sudo gem install sake
sake -i http://github.com/dkubb/dm-dev/tree/master/dm-dev.sake?raw=true
sake dm:clone
cd dm
sake dm:install

..download feather
git clone git://github.com/fujin/feather.git
git clone git://github.com/fujin/feather-plugins.git
cd feather

..create database.yml in /feather/config/database.yml
development:
    adapter: mysql
    database: feather
    username: root
    password:
    host: localhost
#   socket: /var/run/mysqld/mysqld.sock

..save file then
cd ..
mkdir db

..create database manually
mysql -u root [password]

..then create db
create database feather;

..then exit mysql
exit;

..now init the feather database
merb -i

..then in the merb console (specific to merb-edge)
Database::initial_setup
DataMapper.auto_migrate!

..exit merb console, then run
merb

..navigate browser to
http://localhost:4000/         [your blog]
http://localhost:4000/admin    [admin panel]

..your admin login will be initially
username:admin
password:password
Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}