A super easy, no fat, no carbs, anti-oxidant filled three lines that had Rmagick working immediately for me:
sudo apt-get install imagemagick sudo apt-get install libmagick9-dev sudo gem install rmagick
A super easy, no fat, no carbs, anti-oxidant filled three lines that had Rmagick working immediately for me:
sudo apt-get install imagemagick sudo apt-get install libmagick9-dev sudo gem install rmagick
I’m an Ubuntu user and wanted to give the Feedzirra gem a shot and play with some RSS feeds today but unfortunately I ran into a few problems — which were CAKE to fix thanks to apt-get and hopefully this post will save you some time!Continue reading
If you are using RailsCollab on Ubuntu and emails are not working, check the config and make sure the path to sendmail is /usr/sbin/sendmail . This tripped me up because the default path to sendmail is /usr/bin/sendmail and i hardly noticed it was wrong!
Postfix in Ubuntu = /usr/sbin/sendmail
If you are doing development on Linux using a bash shell this is a nice alias a time saver might be to setup some aliases. I am using an alias to start script/server via simply typing ‘ss’.
Here’s all you have to do:
Jump into your home directory and open hidden file .profile:
user@kenyacoffee:~/railz/bort$ cd user@kenyacoffee:~$ user@kenyacoffee:~$ nano .profile
Add the following line:
alias ss="./script/server"
Exit nano and write out the changes to .profile.
In your home directory execute the source command:
user@kenyacoffee:~/railz$ cd user@kenyacoffee:~$ source .profile
Now change back to your rails project directory and try running ‘ss’:
user@kenyacoffee:~$ cd railz/bort user@kenyacoffee:~/railz/bort$ ss => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails 2.2.0 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment...
Feels good to type less!