There is a vulnerability in the sendmail delivery agent of the
Mail gem that could allow an attacker to pass arbitrary commands
to the system.
Versions Affected: Versions 2.2.14 or earlier
Not affected: Any application not using sendmail delivery
Fixed Versions: 2.2.15 or later
More information in the original post here
Your Logitech Quickam doesn’t work with Skype in Mandriva.
Start your skype instance from the comand line using the following:
D_PRELOAD=/usr/lib/libv4l/v4l2convert.so /path_to/skype/skype_static-188.8.131.52/skype &
When you try to run the console
rails c in a new Rails 3.0.3 application, and when you use rvm, you get the following error:
no such file to load -- readline (LoadError)
It’s quite like likely that the readline libraries are missing from your installation. To find out which ones go to the directory that the error is indicating (ie):
and then to the following:
then run the following:
If you get something like:
checking for readline/readline.h... no
checking for editline/readline.h... no
then you are probably missing the neccessary header files for readline.
so install them in your system (ie in Mandriva):
sudo urpmi readline-dev,
In Debian you will need to install libreadline5-dev and maybe libncurses5-dev (apt-get install).
When the package is installed successfully run the following again:
sudo make install
You should now be able to go back to your project and run
rails c with no errors.
You want to deploy your Rails 3.0.3 in Dreamhost with capistrano, but even though you follow the steps from a previous post here, when you go to the application’s main page you still get an error:
500 Internal Server Error
Thanks to a blog post from Brendon Wilson here, the last missing piece from the puzzle in order to have your application running is to add the following line to the top of your deploy.rb file:
and redo your cap deploy.
You want to deploy your Rails (3.0.3) application to Dreamhost using Capistrano, but you get errors like:
bundle command not found
Enter your password to install the bundled RubyGems to your system:
You may be able to see in your deploy.rb file a commented section that says the following:
As Capistrano executes in a non-interactive mode and therefore doesn’t cause
any of your shell profile scripts to be run ….
So in order for capistrano to be able to find your bundle command you should add in your deploy.rb file a line with your paths (ie):
If you have the previous line your bundle command can run, but if you try to do cap:deploy your bundler will probably give you an error as it would ask for your sudo password. In order to avoid this error and to make it work you have to add another line with your gem path (ie):
making sure that your home directory path for your gems is first in the list.
You are trying to use Webrat with a new Rails 3.0.3 application but the redirection doesn’t work, and you get an error like:
You are being redirected. (RSpec::Expectations::ExpectationNotMetError)
According to a post here, there is a way to patch the webrat code so it follows the redirection.
After adding what is suggested above into your
#starting at line 288
- URI.parse(current_url).host || @custom_headers["Host"] ||
+ URI.parse(current_url).host || @custom_headers["Host"] ||
+ def default_current_host
+ adapter.class==Webrat::RackAdapter ? "example.org" :
and running your tests again, they should work.
Thanks yannnimac 🙂