Entries Tagged 'development' ↓

Up to date on GIT

GithubI’ve been using GIT now some weeks (for my ultra-secret ruby project) and I must say it’s nice. Nothing more than nice. Just like svn was nice to use (compared to old-school full backups). When I first saw the GIT commands I was dazzling with confusion. But after two days you get the hang of it. I haven’t done anything special like branching so I can’t tell you about the advanced features. But the base is solid.

Ow, and github is really nice. I read somewhere that rubyforge now has git support too. Gonna check that out. But beating github will be difficult. Well, at least for now when Github is still free of charge!

testing and Rails

Ratatouille

As a “professional” webdesigner I know how much testing sucks and how it, at the same time, is one of the most important things to do (besides coding the stuff). That’s why I appreciate Rails’ very complete testsuite so much. And now with Rspec user stories (a nice tutorial here and here) and webrat it’s getting even better!

Installing jruby

I used this resource:

http://rorblog.techcfl.com/2008/02/19/create-and-deploy-a-jruby-app-to-the-glassfish-gem-in-10-minutes-or-less-on-mac-os-x/

How to install jruby on Ubuntu:

sudo -i
mdir -p ~/src/jruby/trunk
cd ~/src/jruby/trunk
svn svn.codehaus.org/jruby/trunk/jruby/ .
ant
~/src/jruby/trunk/bin/jruby --version

The current version doesn’t work to well with rails’ script/console. It is very, very, very slow. So I keep using Yarv until this is fixed. It seems really promising though. Can’t wait for Rubinius to become stable!

The beauty of Ubuntu

A.k.a. “installing something that would take ages in another OS”

For a client of ours I’m doing a project. But I had to wait at my new house today for my new tiles. And at my new address I don’t have internet yet. So I made a local copy of the project and had to install apache, mysql and phpmyadmin.

sudo aptitude install libapache2-mod-php5 phpmyadmin mysql-server apache2 php5-gd

And it worked! Linux not user-friendly? Pfffttt!

Rdoc and Rails

With my fabulous new project: mpd_radio I’m trying to everything right: tests, documentation, the whole shebang. So I was surfing tonight for some tutorials on rdoc. But I couldn’t find a lot. Some useful links:

When I learn some more about it I’ll post it here!

What’s all this git stuff anyway?

I’m reading a lot about git lately. Supposedly it’s the next greatest revision control software. It’s faster, better and doesn’t take the enormous amount of space subversion does. Maybe I’ll try it anytime soon but I don’t see any obvious advantages for using git over subversion.

I think using git’s a lot more trouble. Does capistrano work? Where am I going to host my project? Does netbeans support git? Is there enough git documentation for dumb people like me?