FAQ
I think this is happening because `bundle exec rake clean` erroneously
clears out the Gemfiles from the components. Don't run that step and you
should be fine.

On Mon, Jun 17, 2013 at 11:21 AM, sancho wrote:

I'm receiving an error when I try to generate spree_api.gem branch
'2-0-stable',

The others gems: spree, spree_backend, spree_frontend, spree_sample were
installing without issues.
The problem is only with spree_api. Below I show the steps that i did.

git clone git://github.com/spree/spree.git -b 2-0-stable
cd spree
/spree$ bundle exec rake clean
/spree$ cd api
/spree/api$ bundle exec rake gem
rake aborted!
Don't know how to build task 'Gemfile'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task_manager.rb:49:in
`[]'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:60:in
`lookup_prerequisite'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:56:in
`block in prerequisite_tasks'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:56:in
`collect'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:56:in
`prerequisite_tasks'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:203:in
`invoke_prerequisites'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:183:in
`block in invoke_with_call_chain'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:177:in
`invoke_with_call_chain'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:205:in
`block in invoke_prerequisites'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:203:in
`each'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:203:in
`invoke_prerequisites'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:183:in
`block in invoke_with_call_chain'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:177:in
`invoke_with_call_chain'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:170:in
`invoke'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:143:in
`invoke_task'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:101:in
`block (2 levels) in top_level'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:101:in
`each'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:101:in
`block in top_level'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:110:in
`run_with_threads'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:95:in
`top_level'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:73:in
`block in run'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:160:in
`standard_exception_handling'
/home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:70:in
`run'
Tasks: TOP => gem => pkg/spree_api-2.0.3.beta.gem
(See full trace by running task with --trace


--

Ryan Bigg
Community Manager
Spree Commerce, Inc.

Search Discussions

  • Miguel Sancho Fernández at Jun 17, 2013 at 2:28 am
    Thanks you, Ryan


    2013/6/16 Ryan Bigg <ryan@spreecommerce.com>
    I think this is happening because `bundle exec rake clean` erroneously
    clears out the Gemfiles from the components. Don't run that step and you
    should be fine.

    On Mon, Jun 17, 2013 at 11:21 AM, sancho wrote:

    I'm receiving an error when I try to generate spree_api.gem branch
    '2-0-stable',

    The others gems: spree, spree_backend, spree_frontend, spree_sample were
    installing without issues.
    The problem is only with spree_api. Below I show the steps that i did.

    git clone git://github.com/spree/spree.git -b 2-0-stable
    cd spree
    /spree$ bundle exec rake clean
    /spree$ cd api
    /spree/api$ bundle exec rake gem
    rake aborted!
    Don't know how to build task 'Gemfile'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task_manager.rb:49:in
    `[]'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:60:in
    `lookup_prerequisite'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:56:in
    `block in prerequisite_tasks'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:56:in
    `collect'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:56:in
    `prerequisite_tasks'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:203:in
    `invoke_prerequisites'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:183:in
    `block in invoke_with_call_chain'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:177:in
    `invoke_with_call_chain'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:205:in
    `block in invoke_prerequisites'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:203:in
    `each'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:203:in
    `invoke_prerequisites'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:183:in
    `block in invoke_with_call_chain'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:177:in
    `invoke_with_call_chain'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/task.rb:170:in
    `invoke'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:143:in
    `invoke_task'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:101:in
    `block (2 levels) in top_level'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:101:in
    `each'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:101:in
    `block in top_level'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:110:in
    `run_with_threads'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:95:in
    `top_level'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:73:in
    `block in run'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:160:in
    `standard_exception_handling'
    /home/test/.rvm/gems/ruby-1.9.3-p392/gems/rake-10.0.4/lib/rake/application.rb:70:in
    `run'
    Tasks: TOP => gem => pkg/spree_api-2.0.3.beta.gem
    (See full trace by running task with --trace


    --

    Ryan Bigg
    Community Manager
    Spree Commerce, Inc.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedJun 17, '13 at 1:31a
activeJun 17, '13 at 2:28a
posts2
users2
websitespreecommerce.com
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase