Monthly Archives: September 2011

Rails Development-usefull sites

Development http://www.railsplugins.org/ http://mechanize.rubyforge.org/ http://lucene.apache.org/solr/ Tools http://www.ruby-toolbox.com/ Learning http://railscasts.com/ http://www.learnivore.com http://www.asciicasts.com/ for Procs, blocks, and anonymous functions http://augustl.com/blog/2008/procs_blocks_and_anonymous_functions/ for lambda http://samdanielson.com/2007/3/19/proc-new-vs-lambda-in-ruby coding conventions http://rails.nuvvo.com/lesson/5017-ruby-coding-convention http://www.klairvoyant.in Advertisements

Posted in rails, ROR, ruby on rails | Tagged , , , | 1 Comment

Document preparation tool in rails

rake doc:app  turn your “rdoc formatted” comments into properly formatted html source http://rdoc.sourceforge.net/ Also check the other option at http://rdoc.sourceforge.net/rd/index.html http://www.klairvoyant.in

Posted in rails, ROR, ruby on rails | Tagged , , , | 1 Comment

You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3. Consider using bundle exec. (Gem::LoadError)

When it says try using bundle exec… it means that you have to prefix the command with that Example if  “cucumber features” display the error “bundle exec cucumber features” http://www.klairvoyant.in

Posted in rails, ROR, ruby on rails | Tagged , | Leave a comment

ERROR: Could not find a valid gem ‘1.2.3.’ (>= 0) in any repository

Install  as the following form gem install rack –version=1.2.3. where rack is the gem we want to install http://www.klairvoyant.in

Posted in rails, ROR, ruby on rails | Tagged | Leave a comment

Installing Cucumber

1) sudo gem install cucumber-rails 2) Add cucumber-rails and dependencies to the :cucumber group in the Gemfile: group :cucumber do gem ‘capybara’ gem ‘database_cleaner’ gem ‘cucumber-rails’ gem ‘cucumber’ gem ‘spork’ gem ‘launchy’ end 3) sudo bundle install 4) rails generate … Continue reading

Posted in rails, ROR, ruby on rails | Tagged , | Leave a comment