Maurizio De Santis
2011-Jul-23 20:18 UTC
Problems running unicorn_rails without bundle exec (in a RVM context)
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
Eric Wong
2011-Jul-23 20:57 UTC
Problems running unicorn_rails without bundle exec (in a RVM context)
Maurizio De Santis <desantis.maurizio at 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
Maurizio De Santis
2011-Jul-23 23:03 UTC
Problems running unicorn_rails without bundle exec (in a RVM context)
> 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
Scott Windsor
2011-Jul-24 00:48 UTC
Problems running unicorn_rails without bundle exec (in a RVM context)
On Sat, Jul 23, 2011 at 4:03 PM, Maurizio De Santis <desantis.maurizio at 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
Maybe Matching Threads
- unicorn_rails cleanup (possible fix for Rails3) pushed
- unicorn_rails and rails 2.3.8
- Rails 3 "RAILS_ENV not defined by config/boot" error
- Bug in unicorn_rails when Encoding.default_internal is set
- Fwd: Issue starting unicorn with non-ActiveRecord Rails app