gemspec ruby '1.9.2', engine: 'jruby', engine_version: '1.0' gem 'gemfiler' gem 'rspec', '2.11' gem 'somegemthesecond', group: 'test2' group :test do gem 'somegem' end platforms :ruby do gem 'plat' end git 'git://github.com/rails/rails.git' do gem 'rails' end git 'git://github.com/rails/rails.git', ref: '2f7cb5e9' do gem 'rails2' end group :randomgroup do gem 'testgem1' gem 'testgem2' end