ruby on rails 3 - Problem with use of gems (mode devel vs. production) -
i use rails 3. in development mode installed gems testing (diff-lcs, nokogiri, rspec, webrat). since did that, if try cap-deploy production server, complains: "could not find diff-lcs in of sources (bundler::gemnotfound)"
i don't want install them on server, because don't need testing purpose gems on production server. can put in gemfile maybe exclude them production mode?
or else how can handle this?
thank answering questiion struggling beginner...
you can put gems in own group this:
group :development, :test gem 'diff-lcs' end
this page explains groups in more details: http://gembundler.com/groups.html
Comments
Post a Comment