Ruby on Rails - Cannot Freeze Gems


#1

Hi, trying to following the instruction on the wiki to freeze my gems with rake gems:unpack
http://wiki.dreamhost.com/Freezing_Gems

but got the following error
rake aborted!
Don’t know how to build task ‘gems:unpack’

tried googling but not much information on “gems:unpack” around…

can anyone help? thanks much in advance!


#2

can anyone help please?


#3

What’s the --trace say ?

Jw


#4

below, thanks!

/Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/task_manager.rb:49:in []' /Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/application.rb:115:ininvoke_task’
/Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/application.rb:94:in block (2 levels) in top_level' /Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/application.rb:94:ineach’
/Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/application.rb:94:in block in top_level' /Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/application.rb:133:instandard_exception_handling’
/Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/application.rb:88:in top_level' /Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/application.rb:66:inblock in run’
/Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling' /Users/xxx/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/lib/rake/application.rb:63:inrun’
/Users/Eric/.rvm/gems/ruby-1.9.3-p125@feedback/gems/rake-0.9.2.2/bin/rake:33:in <top (required)>' /Users/Eric/.rvm/gems/ruby-1.9.3-p125@feedback/bin/rake:19:inload’
/Users/Eric/.rvm/gems/ruby-1.9.3-p125@feedback/bin/rake:19:in `’


#5

You’re using rails 3.x right? and rvm so the bundler is what you use now.

I’m not using 3.x just yet, using Redmine, but the equivalent command is:

bundle install --deployment

I believe…
Jw