similar to: mongrel cluster and local gems loading problem

Displaying 20 results from an estimated 6000 matches similar to: "mongrel cluster and local gems loading problem"

2008 Apr 15
4
Version Control (and gems)
1. Full version control of a web app would include the constellation of gems actually used. I can do ''gem list'' and put that into a file in version control but that could include unused gems. That is, it could include gems use by other projects. And putting the whole gem in version control seem like overkill since the authors do that. But it might be safer. Do we have a
2006 Aug 03
5
Cannot find gem for Rails error from dispatch.cgi
Hi All, I''m developing a Rails app with Rails v1.1.4, but when I upload it to Dreamhost and try to serve it with dispatch.cgi, I get the error "Cannot find gem for Rails =1.1.4". However, I have installed the 1.1.4 gem in my home directory and set GEM_PATH to look there; additionally, rake throws no errors and "rails -v" displays "Rails 1.1.4". Any
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
2007 Jul 31
2
Camping-list Digest, Vol 15, Issue 2
Eli, This is interesting. I enabled DEBUG logging in Apache and tailed the error.log. Lo and behold, you''re right, its a problem with one of my require statements. Namely: `gem_original_require'': no such file to load -- camping/fastcgi (LoadError) Strange, it works fine when I do it in IRB, or do it from a ruby script at the bash prompt. Apache runs as the same user that
2007 Feb 07
1
Auto-installing Gems via boot.rb causes errors under Mongrel
Hi, I''m trying to make my Rails app auto-install my required gems, by invoking the gem installation in boot.rb. I''ll use the ActionMailer gem as an example: ... system "sudo gem install actionmailer --version=1.2.5 -y" ... Problem is that this fails on the first invocation of Mongrel - it can''t find the gem. However, if I kill and restart mongrel (with the
2007 Nov 09
3
ERROR RUNNING ''cluster::configure'': Plugin /cluster::configure does not exist in category /commands
I''m following the mongrel_cluster setup instructions and am unable to create a config file: $ mongrel_rails cluster::configure ERROR RUNNING ''cluster::configure'': Plugin /cluster::configure does not exist in category /commands Use help command to get help Every web page I could find that mentioned this error was folks who didn''t install mongrel_cluster or had
2010 Mar 13
0
Authlogic -> Production Server
Sorry if this is a repost. I never received a successful post msg. So this is my first deployment. I''ve used Capistrano and Git. CPanel to install all the gems (with some added server support for additional gems). CPanel is used to start/stop the app. In development mode the app starts and runs into a db problem (expected I never copied the sqlite3 db). But it starts. In production mode
2006 Aug 16
6
Experience with ferret on Dreamhost ?
Does anybody have experience with running ferret on dreamhost ? My app is running ok until I install the acts_as_ferret plugin, at which point I get "Rails application failed to start properly" errors. I''ve used script/console to confirm that I can require ''ferret'' and make a new Index object . Everything appears to be ok in that respect. Unfortunately
2007 Feb 27
5
Camping on Dreamhost - Please Help!
Hi Folks, I''ve been trying to get camping up and running on dreamhost for the past six hours, but have had no success. I''d really appreciate any suggestions! The camping gem is on the dreamhost server, but just to make sure it wasn''t a dependency issue causing all the problems, I installed camping + the full set of dependencies in my own gem directory (both are on the
2009 Feb 04
1
How to hack a mongrel cluster to restart in an alternating manner?
Hello, I''ve been trying (unsuccessfully) to hack my mongrel_cluster to re-ststart in an alternating manner. Specifically, this soluiton: http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongrel-cluster/#content Which means I an call to mongrel_rails cluster::restart to do this: mongrel_rails start 8001 mongrel_rails stop 8001 mongrel_rails start 8002
2010 Jun 09
3
rake tells me to install gems that are already there
Hi, I''ve on hostmonster.com and i''ve run into a small problem that I just can''t get. When I push my application into my hosting environment and try to run rake db:migrate, I get an error message from rake telling me to install the missing gem my environment.rb file has: config.gem "formtastic" config.gem "authlogic" So I installed them but I still
2006 Jul 31
6
Unable to install Gems with RubyGems on Intel OSX with DarwinPorts
I followed Duncan Davidson''s Sandboxing Rails with Darwin Ports guide and everything went fine up till the part where I had to install gems using gem install. I would get this stacktrace: Attempting local installation of ''rake'' Local gem file not found: rake*.gem Attempting remote installation of ''rake''
2011 Dec 15
1
problem with starting mongrel gem
Hi, I have installed mongrel gem and when i tried to start mongrel_rails start its causing me following problem mongrel_rails start ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... Requiring REXML /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.10/lib/ active_support/dependencies.rb:239:in `require'': no such file to load --
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with mongrel cluster. Here''s what I''m doing: rails test sudo chown -R mongrel:mongrel test cd test sudo mongrel_rails \ cluster::configure -e production \ -p 8000 -N 3 -a 127.0.0.1 --user mongrel \ --group mongrel It correctly writes the mongrel_cluster.yml file to the config directory. Now,
2006 Nov 30
1
Restarting mongrel cluster from other directories
I want to restart my Mongrels from crontab periodically to free up memory. I tried this: [admin at mudcrapce ~]$ mongrel_rails cluster::restart -C /var/www/apps/mudcrapce/current/config/mongrel_cluster.yml Restarting 5 Mongrel servers... mongrel_rails restart -P log/mongrel.3040.pid !!! PID file log/mongrel.3040.pid does not exist. Not running? mongrel::restart reported an error. Use
2011 Apr 18
2
rubygems fail - require hpricot!
Hi guys, I wanted to fetch some info from webpage and use it in my db. I read hpricot is one way to do it. But the problem is I''m unable to use it with my app. For some reason after successfully installing hpricot it fails when I try to use it in the rails console. I''ve been trying to fix this for the last four-five days. I''m stumped ! I tried re-installing everything
2006 Apr 10
0
Gems on custom dir are ignored
Hi: Im working on my hosting linux platform and Im trying to use custom gems not that default installed on /usr/lib/ruby/gems/1.8 I installed gems on $HOME/apps/lib/gems/1.8 I export: export GEM_HOME=$HOME/apps/lib/gems/1.8 export GEM_PATH=$HOME/apps/lib/gems/1.8 I got rails 1.1.2 rails -v shows Rails 1.1.2 but on a page using dispatch.rb I got
2005 Dec 18
2
EdgeRails with other Gems like RMagick
I am using EdgeRails, and have some of the plugin''s using gems such as Rmagick which are included through a command similar to "require_gems ''rmagick''". Curious how to handle such attempts at inclusion when I am no longer bound to the system gems and am using the code strictly within vendor/rails and such. Is there a way to point require_gems to another
2010 Dec 11
2
Problem using rvm in bash script
I am using rvm installed on Ubuntu 10.04 as recommended in the rvm docs (including changes to .bashrc) and all is working well with several versions of Rails, and Ruby 1.8.7 and 1.9.2. If I run rvm use 1.9.2 it says Using /home/colinl/.rvm/gems/ruby-1.9.2-p0 and if I run rvm info It shows exactly what I would expect for 1.9.2 and I can start the rails server and all is well. The problem arises if
2006 Jun 19
0
mongrel_cluster 0.2.0 -- Mongrel 0.3.13 Compliant
Bradley couldn''t make it so I''m filling in for him. This is a short announcement to tell everyone using the mongrel_cluster gem to manage their Mongrels that there''s a new official version out. Version 0.2.0 is sporting the following features: * Added support for specifying user to run * Added script, mongrel_cluster_ctl for starting/stopping all clusters on a server.