I heard someone whistling around the house. But it was from the TV(Doordarshan channel). Though it was a different song, it was done by this performer. Just wanted to share this talent performance.

If you face an error like this;

/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:269:in `require_frameworks’: no such file to load — openssl (RuntimeError) from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:134:in `process’

Follow these steps:

1. yum install openssl
2. yum install openssl-devel
3. cd /ruby_install_dir/ext/openssl
4. ruby extconf.rb
5. make
6. make install

Use the “return” statement to fix this issue.

(E.g)

def do_something
redirect_to(:action => “elsewhere”) and return if monkeys.nil?
render :action => “overthere” # won’t be called if monkeys is nil
end

(copied from http://api.rubyonrails.org/classes/ActionController/Base.html)

If you see this errror;

ERROR RUNNING ‘cluster::configure’: Plugin /cluster::configure does not exist in category /commands

Make sure you have; “mongrel_cluster” gem installed.

You can see whether it exists in the list by issuing the command;

gem list –local

If you don’t see it, run;

gem install mongrel_cluster

That should fix your issue.

Page 4 of 42« First...«23456»...Last »

Categories and Tags

Advertising