Tag Archives: ruby

Better description of Rails rake “db” tasks

Reposted after https://jacopretorius.net/ (good job!) db:create Creates the database for the current RAILS_ENV environment. If RAILS_ENV is not specified it defaults to the development and test databases. db:create:all Creates the database for all environments. db:drop Drops the database for the current RAILS_ENV … Continue reading

Posted in Coding, Rails | Tagged , | Leave a comment

Rubygems: Rebuild native extensions

Reposted after “makandropedia”: Rarely, you might want to rebuild all gems with native extensions, because they might be compiled against outdated system libraries, resulting in some warnings or even segfaults or other ruby errors. You can do that using gem … Continue reading

Posted in Coding, Rails | Tagged , | Leave a comment

Rails derailed again (and again)

Executive summary (aka TL;DR) Rails docs suck… erm, no. I mean they are great but most probably written by people who never actually had to use them. If you want to follow Rails Guides and install a fresh Rails environment … Continue reading

Posted in Rails, Rants | Tagged , , , , | 4 Comments