Posted by
stoyan on 16-Sep-2008
Trying to install the development version of merb , i’ve got:
no such file to load -- extlib/tasks/release
Seems the extlib gem is too old for merb. Fix:
$ git clone git://github.com/sam/extlib.git
$ cd extlib
$ rake gem
$ sudo gem install pkg/extlib-0.9.4.gem
The rest of installation process:
$ sudo gem install sake erubis mime-types
$ sake -i http://merbivore.com/merb-dev.sake
$ mkdir ~/merb_src && cd ~/merb_src
$ sake merb:clone
$ sake merb:install:all
Your first application:
$ merb-gen app my_app --flat && cd my_app
Posted by
stoyan on 27-Dec-2007
The Accelerator including almost everything by default – Ruby, gems etc. Adding the Merb framework was without any problems. Some tips:
Pre-requirements:
$ sudo gem install mongrel json json_pure erubis mime-types rspec hpricot mocha \
rubigen haml markaby mailfactory Ruby2Ruby --no-rdoc --no-ri
Switching to merb trunk:
$ svn co http://svn.devjavu.com/merb/trunk merb
$ cd merb/
$ rake gem
$ sudo gem install pkg/merb-0.4.2.gem --no-rdoc --no-ri
Swithing to merb_helpers trunk (for better form helpers):
$ svn co http://svn.devjavu.com/merb/plugins/merb_helpers
$ cd merb_helpers/
$ rake gem
$ gem list
$ sudo gem install pkg/merb_helpers-0.4.1.gem --no-rdoc --no-ri
There was problems with the datamapper installation. The do_sqlite3 gem compilation was successful. For do_mysql gem one however I needed:
cd /opt/local/lib/ruby/gems/1.8/gems/do_mysql-0.2.2/ext/
make clean
ruby extconf.rb --with-mysql-include=/opt/local/include/mysql \
--with-mysql-lib=/opt/local/lib/mysql
make
cd ../
rake gem
gem install pkg/do_mysql-0.2.2.gem \
--no-rdoc --no-ri -- \
--with-mysql-include=/opt/local/include/mysql \
--with-mysql-lib=/opt/local/lib/mysql
My coworker Jeffrey Gelens was pretty excited about merb+datamapper combo. He even submitted some composite indexes patch to their repository.
Posted by
stoyan on 20-Nov-2007
Got my own Joyent Facebook Developer Accelerator . Will try to put some Merb application on it. To read: