unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Problems running unicorn_rails without bundle exec (in a RVM context)
@ 2011-07-23 20:18 Maurizio De Santis
  2011-07-23 20:57 ` Eric Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Maurizio De Santis @ 2011-07-23 20:18 UTC (permalink / raw)
  To: mongrel-unicorn

Hello,

I cannot run unicorn_rails out without using bundle exec . This is the error:

/home/user/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/runtime.rb:31:in
`block in setup': You have already activated rack 1.3.1, but your
Gemfile requires rack 1.2.3. Consider using bundle exec.
(Gem::LoadError)

Maybe RVM is involved? Maybe I am involved?

Please add me in the CC replies, I am not subscribed to the newsletter.

Cheers

--

Maurizio De Santis
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems running unicorn_rails without bundle exec (in a RVM context)
  2011-07-23 20:18 Problems running unicorn_rails without bundle exec (in a RVM context) Maurizio De Santis
@ 2011-07-23 20:57 ` Eric Wong
  2011-07-23 23:03   ` Maurizio De Santis
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Wong @ 2011-07-23 20:57 UTC (permalink / raw)
  To: unicorn list; +Cc: Maurizio De Santis

Maurizio De Santis <desantis.maurizio@gmail.com> wrote:
> Hello,
> 
> I cannot run unicorn_rails out without using bundle exec . This is the error:
> 
> /home/user/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/runtime.rb:31:in
> `block in setup': You have already activated rack 1.3.1, but your
> Gemfile requires rack 1.2.3. Consider using bundle exec.
> (Gem::LoadError)
> 
> Maybe RVM is involved? Maybe I am involved?

You should use bundle exec if your app is using bundler.  Otherwise you
can try uninstall the conflicting version of rack from your system/RVM
installation, but that defeats the purpose of bundler...

> Please add me in the CC replies, I am not subscribed to the newsletter.

Thanks for making a note of this :>

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems running unicorn_rails without bundle exec (in a RVM context)
  2011-07-23 20:57 ` Eric Wong
@ 2011-07-23 23:03   ` Maurizio De Santis
  2011-07-24  0:48     ` Scott Windsor
  0 siblings, 1 reply; 4+ messages in thread
From: Maurizio De Santis @ 2011-07-23 23:03 UTC (permalink / raw)
  To: Eric Wong; +Cc: unicorn list

> You should use bundle exec if your app is using bundler.  Otherwise you
> can try uninstall the conflicting version of rack from your system/RVM
> installation, but that defeats the purpose of bundler...

uhm, this will make my life more difficoult because I'm trying to
write an upstart srcript for unicorn_rails, and so I have to consider
this too... more work for me :)

>> Please add me in the CC replies, I am not subscribed to the newsletter.
>
> Thanks for making a note of this :>
>

I read the ISSUES page carefully before to write :)

Thank you!

-- 

Maurizio De Santis
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems running unicorn_rails without bundle exec (in a RVM context)
  2011-07-23 23:03   ` Maurizio De Santis
@ 2011-07-24  0:48     ` Scott Windsor
  0 siblings, 0 replies; 4+ messages in thread
From: Scott Windsor @ 2011-07-24  0:48 UTC (permalink / raw)
  To: unicorn list

On Sat, Jul 23, 2011 at 4:03 PM, Maurizio De Santis
<desantis.maurizio@gmail.com> wrote:
>> You should use bundle exec if your app is using bundler.  Otherwise you
>> can try uninstall the conflicting version of rack from your system/RVM
>> installation, but that defeats the purpose of bundler...
>
> uhm, this will make my life more difficoult because I'm trying to
> write an upstart srcript for unicorn_rails, and so I have to consider
> this too... more work for me :)
>

Have you looked at foreman?
http://blog.daviddollar.org/2011/05/06/introducing-foreman.html

It's a pretty good approach to process management and can export the
upstart scripts for you...

- scott
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-24  1:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-23 20:18 Problems running unicorn_rails without bundle exec (in a RVM context) Maurizio De Santis
2011-07-23 20:57 ` Eric Wong
2011-07-23 23:03   ` Maurizio De Santis
2011-07-24  0:48     ` Scott Windsor

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).