Distriker
2011-Jun-21 18:13 UTC
`exec'': wrong number of arguments (ArgumentError) when using bundle exec
Hi! I''m trying to make a migration, but when I do "rake db:migrate" tell me this: You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7. Consider using bundle exec. Then, I use a bundle exec, but I have other error: `exec'': wrong number of arguments (ArgumentError) from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/cli.rb:346:in `exec'' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor/task.rb:22:in `send'' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor/task.rb:22:in `run'' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor.rb:246:in `dispatch'' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor/base.rb:389:in `start'' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/bin/bundle:13 from /usr/bin/bundle:19:in `load'' from /usr/bin/bundle:19 Anyone know why show me this error? Regards, Iván -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/y7LLmCma100J. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Chirag Singhal
2011-Jun-22 04:18 UTC
Re: `exec'': wrong number of arguments (ArgumentError) when using bundle exec
When it says try using bundle exec... it means that you have to prefix the command with that Use it like this ''bundle exec rake db:migrate'' -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Bf4nuK8WxBUJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Iván Hernández
2011-Jun-22 09:56 UTC
Re: Re: `exec'': wrong number of arguments (ArgumentError) when using bundle exec
On 06/22/2011 05:18 AM, Chirag Singhal wrote:> When it says try using bundle exec... it means that you have to prefix > the command with that > Use it like this ''bundle exec rake db:migrate'' > -- > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/Bf4nuK8WxBUJ. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.Yes, I understand. Thanks! Regards, Iván -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Possibly Parallel Threads
- bundle exec fail
- Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
- Bundle Install failing on deployment
- Fatal Error during bundle install
- bundle crashing with `error!': 302 "Moved Temporarily" (Net::HTTPRetriableError)