Posted by sraghav on March 28, 2008
Preparing a deployment of an app
- Changes for fcgi configuration in public/.htaccess
- Comment the fcgi handler (found in initial few lines of the file)
- Change the dispatch.cgi reference to dispatch.fcgi (last few lines of file)
- In public/dispatch.fcgi change the shebang line to say something like this
- #!/usr/bin/env ruby
- Make sure everything is committed. (svn ci)
- capify the environment (capify)
- run rake configure_for_svn (assuming that the svn.rake task has been created already)
- edit config/deploy.rb to adjust values appropriately
- run cap deploy:setup
- On the remote server, copy $HOME/railsapps/config/database.yml.production to $HOME/${appdir}/shared/config (create target dir if not present). The $HOME/{appdir} should have been created by deploy:setup
- Since its the first time deployment, run cap deploy:cold
- Next time onwards, when you have to deploy, launch cap deploy:migrate
Posted in Rails, capistrano | Leave a Comment »
Posted by sraghav on March 27, 2008
Posted in Uncategorized | Leave a Comment »
Posted by sraghav on March 26, 2008
Posted in Mac, Ubuntu | Leave a Comment »
Posted by sraghav on March 26, 2008
Configuring DVD playback on Gutsy
For DVD playback, install VLC (accepted by most as the best DVD player, supports menus too);
sudo apt-get install vlc
And if you also want Totem to play DVDs well, you have to use the Xine backend instead of Gstreamer (this is optional, VLC will do just fine);
sudo apt-get install totem-xine libxine1-ffmpeg
To get encrypted DVDs playing properly (check out no. 9 in the “Troubleshooting” section if you are having problems with new DVDs), paste these commands into the Terminal;
sudo apt-get install libdvdcss2 libdvdread3 libdvdnav4 build-essential debhelper fakeroot
then;
sudo /usr/share/doc/libdvdread3/install-css.sh
or if you get an error with that command;
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
To set VLC as your default DVD player (I strongly advise you do) type the following command into the Terminal;
gksudo gconf-editor
Now expand “desktop” and then “gnome”, scroll down to “volume manager” but don’t expand it, just click on it and look over at the right pane. Scroll down and look for “autoplay_dvd_command” and change the command to “/usr/bin/vlc dvd://” (without quotes of course) by right clicking on it and selecting “Edit”, then click on “Set as Default”. Do the same for the “autoplay_vcd_command” as well.
From : Complete Streaming, Multimedia & Video How-to – Ubuntu Forums
Posted in Ubuntu | Leave a Comment »
Posted by sraghav on March 24, 2008
It works, finally… it works.
I managed to configure my voipcheap account to work with Ekiga.
Though the phone numbers that u have to call look a bit awkward (sip:<phoneNumber>@sip.voipcheap.com), but it works.
I basically love the fact that I reduced another reason to boot into windows. Loving Ubuntu every minute…
Here’s some documentation on How to Use Ekiga
Ekiga – Community Ubuntu Documentation
Posted in Ubuntu | Leave a Comment »
Posted by sraghav on March 22, 2008
Posted in ExternaLinks, Rails | Leave a Comment »
Posted by sraghav on March 21, 2008
Posted in Ubuntu | Leave a Comment »
Posted by sraghav on March 21, 2008
Posted in Rails | Leave a Comment »
Posted by sraghav on March 20, 2008
Posted in ExternaLinks, Mac, Ubuntu | Leave a Comment »
Posted by sraghav on March 19, 2008
I dont quite believe this, but havent tried this either.
Free 1 year subscription of McAfree Virus Scan Plus
I have heard about free trial licenses from such companies for a month or two or three, but never for 12 months.
I just tried to register following the link, and it does seem to work. I didnt actually download the software yet, but I would sure do that. Sometime over the weekend.
It sounds really really amazing to me. A 12 month free subscription.. great…
Posted in Blogging, ExternaLinks, JusTalk | Leave a Comment »