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.
Posts Tagged ‘bug fixes’
ERROR RUNNING ‘cluster::configure’: Plugin /cluster::configure does not exist in category /commands [mongrel/Ruby on Rails]
Posted in installations, Ruby on Rails, Weird Errors, tagged bug fixes, installations, lessons, Ruby on Rails on July 22, 2009 | Leave a Comment »
‘load_missing_constant’: uninitialized constant Inflector (NameError) -[Active Merchant and RoR]
Posted in installations, Ruby on Rails, Weird Errors, tagged bug fixes, installations, lessons, Ruby on Rails on June 30, 2009 | Leave a Comment »
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
No such file to load mysql – Ruby on Rails [even after gem install mysql]
Posted in installations, Ruby on Rails, Weird Errors, tagged bug fixes, installations, lessons, Ruby on Rails on June 25, 2009 | Leave a Comment »
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. [...]
Failed to create task or type scp – Ant
Posted in Weird Errors, tagged bug fixes on March 2, 2009 | 1 Comment »
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
cvs checkout: No CVSROOT specified! Please use the ‘-d’ option
Posted in Weird Errors, tagged bug fixes on February 26, 2009 | Leave a Comment »
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>
(uninitialized constant DBI::TypeUtil) (DBI::InterfaceError)
Posted in Ruby on Rails, tagged bug fixes, ruby on February 26, 2009 | 1 Comment »
use; require ‘rubygems’ gem ‘dbi’ before the line; require “dbi”
undefined method `gem’ for main:Object (NoMethodError)
Posted in Ruby on Rails, tagged bug fixes, ruby on February 26, 2009 | Leave a Comment »
Try using; require ‘rubygems’ in the firt line. That should fix your problem.
Java Not Serializable Exception
Posted in Java, tagged bug fixes, Java on January 20, 2009 | Leave a Comment »
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
undefined method fragment_cache_store=
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on December 18, 2008 | Leave a Comment »
Make it ‘cache_store‘ insted of ‘fragment_cache_store’ It should look something like, ActionController::Base.cache_store = :file_store, “../my_cache”
undefined method template_root=
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on December 18, 2008 | Leave a Comment »
template_path has been not only deprecated but is now gone. Try changing it to view_paths