1 # Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
3 _gemname=${pkgname#ruby-}
6 pkgdesc="Is an open source web application framework for the Ruby programming language."
8 url="http://www.rubyonrails.org"
10 depends=('ruby' 'rubygems' 'ruby-bundler' 'ruby-railties' 'ruby-actionmailer' 'ruby-actionpack' \
11 'ruby-activerecord' 'ruby-activeresource' 'ruby-activesupport')
12 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
13 noextract=(${_gemname}-${pkgver}.gem)
14 md5sums=('2ce8bb472ce1f9929d1f14fe020026ed')
19 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem