Feeds:
Posts
Comments

Posts Tagged ‘bug fixes’

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.

Read Full Post »

If you have recently updated to Rails 2.2 or +, you may encounter this error: /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:443:in `load_missing_constant’: uninitialized constant Inflector (NameError) from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in `const_missing’ from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:92:in `const_missing’ from /usr/local/rails/mogulus/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations.rb:13 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’ Go to the error file; /usr/local/rails/mogulus/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations.rb and replace; Inflector.inflections do |inflect| . . . end with; ActiveSupport::Inflector.inflections do |inflect| . . . end

Read Full Post »

You may face some issues while configuring rails; no such file to load — mysql /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’ /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require’ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/mysql_adapter.rb:65:in `mysql_connection’ and so on step 1: If you havn’t done “gem install mysql”; do it first. step 2: If it doesn’t work even after “gem install mysql”; search for “mysql.so” in your system. [...]

Read Full Post »

Download jsch jar file: Eg:http://prdownloads.sourceforge.net /jsch/jsch-0.1.41.jar?download Or from http://www.jcraft.com/jsch And save it under Ant’s(C:apache-ant) lib folder That should fix your issue

Read Full Post »

Do; export CVSROOT=:pserver:<username/login>@<server/host-name>:/<directory-name> make sure “CVSROOT” has been set in the environment by; echo $CVSROOT where,  CVSROOT is set to mention the <repository-folder> from which we are going to check-out/check-in Now, continue doing your checkout by; cvs checkout <dir-name>

Read Full Post »

use; require ‘rubygems’ gem ‘dbi’ before the line; require “dbi”

Read Full Post »

Try using; require ‘rubygems’ in the firt line. That should fix your problem.

Read Full Post »

Java Not Serializable Exception

Solution: Implement the serializable interface for the class, whose objects you are going to write to a file (or) stream. (Ex:) import  java.io.Serializable; public class <className> implements Serializable

Read Full Post »

Make it ‘cache_store‘ insted of ‘fragment_cache_store’ It should look something like, ActionController::Base.cache_store = :file_store, “../my_cache”

Read Full Post »

template_path has been not only deprecated but is now gone. Try changing it to view_paths

Read Full Post »

« Newer Posts - Older Posts »