Advertisement
Guest User

Untitled

a guest
Feb 15th, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. # cat Gemfile
  2. # -*- coding: utf-8 -*-
  3. source :rubygems
  4.  
  5. gem "rails", "2.3.14"
  6.  
  7. gem "coderay", "~> 1.0.0"
  8. gem "i18n", "~> 0.4.2"
  9. gem "rubytree", "~> 0.5.2", :require => 'tree'
  10. gem "rdoc", ">= 2.4.2"
  11. gem "liquid", "~> 2.3.0"
  12. gem "acts-as-taggable-on", "= 2.1.0"
  13. # Needed only on RUBY_VERSION = 1.8, ruby 1.9+ compatible interpreters should bring their csv
  14. gem "fastercsv", "~> 1.5.0", :platforms => [:ruby_18, :jruby, :mingw_18]
  15.  
  16. group :test do
  17. gem 'shoulda', '~> 2.10.3'
  18. gem 'edavis10-object_daddy', :require => 'object_daddy'
  19. gem 'mocha'
  20. gem 'capybara'
  21. end
  22.  
  23. group :ldap do
  24. gem "net-ldap", '~> 0.2.2'
  25. end
  26.  
  27. group :openid do
  28. gem "ruby-openid", '~> 2.1.4', :require => 'openid'
  29. end
  30.  
  31. group :rmagick do
  32. gem "rmagick", ">= 1.15.17"
  33. # Older distributions might not have a sufficiently new ImageMagick version
  34. # for the current rmagick release (current rmagick is rmagick 2, which
  35. # requires ImageMagick 6.4.9 or later). If this is the case for you, comment
  36. # the line above this comment block and uncomment the one underneath it to
  37. # get an rmagick version known to work on older distributions.
  38. #
  39. # The following distributions are known to *not* ship with a usable
  40. # ImageMagick version. There might be additional ones.
  41. # * Ubuntu 9.10 and older
  42. # * Debian Lenny 5.0 and older
  43. # * CentOS 5 and older
  44. # * RedHat 5 and older
  45. #
  46. #gem "rmagick", "< 2.0.0"
  47. end
  48.  
  49. # Use the commented pure ruby gems, if you have not the needed prerequisites on
  50. # board to compile the native ones. Note, that their use is discouraged, since
  51. # their integration is propbably not that well tested and their are slower in
  52. # orders of magnitude compared to their native counterparts. You have been
  53. # warned.
  54.  
  55. platforms :mri, :mingw do
  56. group :mysql2 do
  57. gem "mysql2", "~> 0.2.7"
  58. end
  59.  
  60. group :postgres do
  61. gem "pg", "~> 0.9.0"
  62. # gem "postgres-pr"
  63. end
  64. end
  65.  
  66. platforms :mri_18, :mingw_18 do
  67. group :mysql do
  68. gem "mysql"
  69. # gem "ruby-mysql"
  70. end
  71.  
  72. group :sqlite do
  73. gem "sqlite3-ruby", "< 1.3", :require => "sqlite3"
  74. end
  75. end
  76.  
  77. platforms :mri_19, :mingw_19 do
  78. group :sqlite do
  79. gem "sqlite3"
  80. end
  81. end
  82.  
  83. platforms :jruby do
  84. gem "jruby-openssl"
  85.  
  86. group :mysql do
  87. gem "activerecord-jdbcmysql-adapter"
  88. end
  89.  
  90. group :postgres do
  91. gem "activerecord-jdbcpostgresql-adapter"
  92. end
  93.  
  94. group :sqlite do
  95. gem "activerecord-jdbcsqlite3-adapter"
  96. end
  97. end
  98.  
  99. # Load a "local" Gemfile
  100. gemfile_local = File.join(File.dirname(__FILE__), "Gemfile.local")
  101. if File.readable?(gemfile_local)
  102. puts "Loading #{gemfile_local} ..." if $DEBUG
  103. instance_eval(File.read(gemfile_local))
  104. end
  105.  
  106. # Load plugins' Gemfiles
  107. ["plugins", "chiliproject_plugins"].each do |plugin_path|
  108. Dir.glob File.expand_path("../vendor/#{plugin_path}/*/Gemfile", __FILE__) do |file|
  109. puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
  110. instance_eval File.read(file)
  111. end
  112. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement