Displaying 20 results from an estimated 40000 matches similar to: "Rails unicorn start on boot error"
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both -
After bundle install when I do a rails g foundation:install I get the
following:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti
ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local
variable o
r method `inheritable_attributes' for ActiveRecord::Base:Class
(NameError)
2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
I am trying to deploy a rails application to a digitalocean VPS droplet. I
have the following setup Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn). I
have installed Ruby ruby-2.0.0-p247 and rails Rails 4.0.0 via rvm but when
I try to restart Unicorn I get the following error.
/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems
/core_ext/kernel_require.rb:45:in
2010 Feb 05
2
Edge Rails 3: Mongrel stuck in infinite loop, Unicorn missing uninitialized constant Rack::Runtime
Hi,
I wanted to try out Edge Rails 3 today and hit a serious problem
trying to run mongrel.
script/rails server mongrel just hangs. Interrupting and looking up
the spot of the lockup revealed
$LOAD_PATH.unshift ''projects/mongrel_experimental/lib/''
Mongrel::Gems.require ''mongrel_experimental'',
">=#{Mongrel::Const::MONGREL_VERSION}"
at the bottom
2010 Sep 09
4
Unicorn fails to restart gracefully on capistrano deploy
First off thanks very much for all the hard work on unicorn. Alas, we''ve encountered an issue where unicorn fails to spawn new workers that have loaded the incoming revision on a capistrano deploy. I''m not entirely sure the issue is due to unicorn as it appears that bundler was responsible for a similar issue in the past:
2013 May 25
1
Silent Failure when starting Unicorn on Heroku
Switched my RoR (3.1.3, 1.9.2) app from Thin to Unicorn (4.6.2). It ran
fine in development
(Mac OSX), but when deploying to production on Heroku, it fails silently
(no backtrace, no error detail). Log looks like:
Starting process with command `bundle exec unicorn start -p 6069 -c
./config/unicorn.rb`
/app/vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.2/lib/unicorn/configurator.rb:634:in
2013 Mar 20
2
Problem With Unicorn
Hello All,
I deployed my application in the local server and i''m using unicorn and
nginx. I tried to run ''bundle exec unicorn_rails'' but it is showing ''ERROR:
Gem bundler is not installed, run `gem install bundler` first.''. even if I
run gem install bundler the bundler getting installed, But it is showing
the same error again i.e. Gem bundler is not
2011 Aug 12
16
Rack content-length Rack::Lint::LintErrors errors with unicorn
Has anyone seen anything like this before? I can get it to happen all
the time if I issue a HEAD request, but it only happens very
intermittently on GET requests.
I''m using Ruby 1.9.2p180.
Any ideas on where to start debugging?
204.93.223.151, 10.195.114.81 - - [11/Aug/2011 21:03:50] "GET /
HTTP/1.0" 200 37902 0.5316
app error: Content-Length header was 37902, but should be
2014 May 15
0
composite primary key - Rails 4.1
Hi,
I am facing issue with composite primary key
In my gem file I have the below entries -
gem 'rails', '>= 4.1.0.rc2'
gem 'mysql2'
gem 'rb-readline', "~> 0.5.1"
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'spring', group: :development
gem 'bcrypt', '~> 3.1.7'
gem
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my
pc. Do I need to ran something in the ruby to use MySQL?
C:\>rails new MySQLRestaurant --database=mysql
C:\>cd MySQLRestaurant
C:\MySQLRestaurant>rails generate scaffold review poster:string
date:datetime ar
ticle:text
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l
2011 May 19
2
unicorn doesn't restart properly after cap deploy (not using Bundler)
Hey guys,
I''m sending USR2 to unicorn after cap deploy, and the old master is
getting replaced by a new master that doesn''t work.
Here are some similar threads I found ...
http://rubyforge.org/pipermail/mongrel-unicorn/2010-October/000733.html
http://rubyforge.org/pipermail/mongrel-unicorn/2010-October/000717.html
I''m not using Bundler, and I have working_directory
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
Rails application which i create manually like
rails new blog
and the content of the file "blog/config/boot.rb" are
require ''rubygems''
# Set up gems listed in the Gemfile.
gemfile = File.expand_path(''../../Gemfile'', __FILE__)
begin
ENV[''BUNDLE_GEMFILE''] = gemfile
require
2010 Oct 03
4
Error Running Rails 3 Application under Phusion Passenger
I have a rails 3 application that runs without problems under WebRick
(on Ubuntu) that generates the following error in the browser when I run
under Apache2 with Phusion Passenger:
Ruby (Rack) application could not be started
Error message:
no such file to load -- bundler
Exception class:
LoadError
I have googled and found one or two posts with this problem but none
with solutions.
2010 Sep 08
6
Cannot start sqlite3
Hello everybody, i''m a long time watcher of these forums first time
poster.
I wanted to start getting into rails and have a play, I found a very
useful guide on the Internet detailing the install process for Ubuntu
10.04, after the install and setup process which seem to complete OK, i
went ahead and started my first project, however when I go to start the
server I get this message?
2010 Feb 11
2
Error when starting rails server [on rails 3]
Hi all,
I receive an error when starting the server, namely:
~/Documents/blog$ rails server
/usr/local/lib/site_ruby/1.8/rubygems.rb:827:in `report_activate_error'':
RubyGem version error: rack-mount(0.5.0 not ~> 0.4.0) (Gem::LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:261:in `activate''
from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate''
2010 Oct 13
1
rails 3 with mongodb
Hi.
I would like to configure a application in ruby 1.9.2 + rails 3 +
mongodb on windows vista.
I know it''s work better in linux ou mac, but in my job i need to use
win.
I folowed the steps from the site of mongodb, but when i run the
bundle install, there comes
this message below.
Someone can help me with this.
Thanks.
<internal:lib/rubygems/custom_require>:29:in
2014 Mar 13
0
Starting rails server
Hi,
My apologies if a similar topic exists already. I did search, but could not
find anything related to below.
I am new to Ruby on Rails. I am currently setting up a Ruby on Rails
environment on a CentOS 6.4 64-bit server.
When I attempt to start the rails server, I get the following:
/usr/local/lib/ruby/gems/2.1.0/gems/activesupport-4.0.3/lib/active_support/key_generator.rb:2:in
2012 Dec 05
3
Fwd: Issue starting unicorn with non-ActiveRecord Rails app
Hi,
I''m trying to use unicorn in a test deployment of a Rails app that
uses Mongoid, so Activerecord isn''t included in the app. When I start
unicorn through Capistrano though, the stderr log fills up endlessly
with identical ActiveRecord-related errors:
I, [2012-12-05T04:19:25.375952 #5096] INFO -- : Refreshing Gem list
I, [2012-12-05T04:19:32.941249 #5096] INFO -- :
rails - postgres error: Reason: Incompatible library version: libpq.5.dylib requires version 1.0.0 o
2012 Jun 21
0
rails - postgres error: Reason: Incompatible library version: libpq.5.dylib requires version 1.0.0 o
Hi,
I am stuck with the setup of Ruby (1.9.3), Rails and Postgres (9.0.8) on
my Mac (10.6.8). Everytime when I run rails console I get the following
error:
/Users/dc/.rvm/gems/ruby-1.9.3-head@global/gems/pg-0.13.2/lib/pg.rb:4:in
`require'':
dlopen(/Users/dc/.rvm/gems/ruby-1.9.3-head@global/gems/pg-0.13.2/lib/pg_ext.bundle,
9): Library not loaded: @loader_path/../lib/libssl.dylib
2011 Apr 25
6
Unicorn / Daemontools
Hi -
I tried to get Daemontools and Unicorn working together a while back -
there are issues on USR2 restart because of the pid
change - I''m hoping someone in the community will have some
understanding of this issue
I documented my experience and eventual defeat here :
http://log.robotarmyma.de/post/2053448029/daemontools-ubuntu-rvm-bundler-unicorn-install
Any help would be received
2011 Sep 18
0
Two Separate Issues: rails generate
Hi folks.
I am just starting rails and have two current issues. I have installed everything, I think, and (first) I''m having permissions feedback upon rails generate:
> $ rails generate
> /Library/Ruby/Gems/1.8/gems/railties-3.1.0/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /Library/WebServer/Documents in PATH, mode 040777
>