similar to: rubygems LoadError with Apache

Displaying 20 results from an estimated 20000 matches similar to: "rubygems LoadError with Apache"

2006 May 29
0
Non standard rubygems location
Hi, Page 183 of Programming Ruby, talking about the $: load path variable, states: "You can always add additional directories to this array from within your running program". So why can''t I do this in environment.rb: $:.concat(Dir["/home/jhughes/lib/ruby/site_ruby/1.8"]) # path points at my install of rubygems and then have require ''rubygems''
2006 Jan 22
2
Rails and Apache: Error
I''ve done my development using WEBrick, and now I want to put my application on a server that uses Apache. (not with fcgi) I think I''ve done everything like I''m supposed to, but when surfing to my site I get: Application error Rails application failed to start properly" In /var/log/apache/error_log, I get this error:
2006 Jun 16
0
Rails under apache
My app is ready to roll out to my users and I''m switching over to the central apache server we use. I''ve got it accessing the right directory (via Alias, not VHost), but in my error_log I see this: [Fri Jun 16 11:44:32 2006] [error] [client 127.0.0.1] /home/site/rails/alerts/public/../config/boot.rb:7:in `require'': No such file to load -- pathname (LoadError) [Fri
2006 Apr 14
0
Premature end of script headers
Hi. We install ruby, rail, rubygems, rails, mod_fastcgi and fastCGI nad we get from this URL http://bobcares.com/article38.html ans everything install with no errors, but when we try to run "test" we get this: Error from apache error_log: Premature end of script headers: /home/user/public_html/rails/dispatch.cgi /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:46:in
2006 Jun 15
2
FastCGI can''t find rubygems?
Hi all, I''m trying to use Apache 2.0.52 and FastCGI on Mac OS 10.4.6 and I''m having some trouble. The server starts up fine, but I get the error at the bottom of this post once I make a request to the rails app. I was curious if anyone had an idea as to why it wasn''t working. I have everything installed correctly (rubygems, fastcgi, ruby bindings, etc). I had this
2005 Dec 28
1
Can''t quite get fcgid working
I''m having trouble with running my app under fcgid. I am getting errors in my Apache log. It seems that it is choking on the gems replacement for require. The relevant lines from /var/log/apache2/error.log: /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- initializer (LoadError) from
2007 Feb 20
2
rails 1.2.1, locomotive and backgroundrb
Hi I just tried to move my project to rails 1.2.1 on my locomotive development setup. It seems that backgroundrb is not willing to start up anymore. If I switch locomotive back to 1.1.6, everthing is fine. This is the error I get while attempting to start backgroundrb: /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/
2006 Feb 04
0
home install frustration
Hello list, I''m new to rails (and first time poster here). I''m trying to get rails installed on my shell, haxeh.com, and I''m having some issues. First, some background: - I have installed ruby to ~/local/bin/ruby - I have installed rubygems to ~/local/bin/gem with all gem installs going into ~/.gems - I have also installed a bunch of gems, including rails, and they
2006 May 30
1
Apache can''t load/require rubygems
Hi, I have rubygems installed in my home directory as I''d like to have control over gems without requiring root access. I''m trying to deploy a known working rails app on this machine but it falls down at the "require ''rubygems''" line in boot.rb. I have added the path to rubygems to LOAD_PATH in environment.rb; this is confirmed by dumping $: to a
2011 Apr 27
6
rubygems (LoadError)
I''m trying to set up a cron job with a runner that calls a method in one of my models. I''m using javan''s whenever gem to do this and I''m running CentOS on my server. Whenever the cron executes though I''m getting the following error: `require'': no such file to load -- rubygems (LoadError) The method uses the ''mail'' and
2012 Jun 04
1
bundle install results in "Symbol not found: _SSL_SESSION_free (LoadError)"
Hey everybody I just installed RVM. I never had any issues with my OSX''s default Ruby 1.8.7, but for a project I want to work on I need a newer version, specifically 1.9.3-p0. So I installed it. Sadly, when doing rails new bla I get the following error (right after bundle install is run): /Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
2007 Apr 09
0
Problem with Ferret on OS X with Locomotive
I am using Locomotive 2.0.8 with Rails 1.2.3 for development. It works great. I recently installed Ferret 0.11.4 as a gem. The installation seemed to go fine. No error or warning messages. I setup a test rails app to try Ferret, and the server won''t start. The error I get is /Applications/Locomotive2/Bundles/rmagickRailsJan2007_x86.locobundle/
2006 Jan 12
2
Can''t install rubygems on Debian 3.1
Hi all, When I try to install rubygems I get this: install security.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems install gem_openssl.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems <--- lib/rubygems <--- lib /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2007 Jun 01
1
LoadError on ''initializer'' when starting Mongrel
Hi all... When I start Mongrel I get a LoadError. I use the command > sudo mongrel_rails cluster::start -C /path/to/mongrel_cluster.yml and it says > Starting 2 Mongrel servers... but in the log I see this error: ** Starting Rails with production environment... /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load --
2009 Mar 25
0
RMagick LoadError
I installed RMagick 2.9.1 and tried to test RMagick code below. irb -rubygems -r RMagick But I got an error like below. /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so: libMagickCore.so.2: cannot open shared object file: No such file or directory - /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so (LoadError) from
2006 Mar 31
6
Install rubygems error
I made the mistake of trying to upgrade to 1.8.4 from 1.8.2 and had intended to upgrade to rails 1.1. I have now completely borked my ruby gems installation. After installing ruby I get the following error when trying to execute gem: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2012 Jul 16
1
After moving from Ruby 1.8.7 to 1.9.3 - test/unit/error (LoadError)
People, For my old library app I did with Rails 2.1.1, if I use Fedora 16/Ruby 1.8.6, everything is OK. If I copy the app to a Fedora 17/Ruby 1.9.3 setup and reinstall all the old Gems and run: ./script/server I get: /usr/share/rubygems/rubygems/custom_require.rb:55:in `require'': cannot load such file -- test/unit/error (LoadError) from
2006 Aug 03
0
Can''t set up rails: dispatch.cgi failed
Hi, I''m trying to setup RoR on OpenBSD 3.9 with Ruby 1.8.4 and Apache 1.3. I''ve setup Rails to run as a Virtual Host, and I can view the "Welcome Aboard" page. When I try to access http://<server>/category/ though, I get an "Application error...Rails application failed to start properly" message. Apache.log has this error: [error] (2)No such file or
2008 Jun 06
3
LoadError (Expected model.rb to define Model)
Hello, I''m having an error that occurs in production (on Dreamhost) but does not occur in development on my local machine. The situation is that there is a model (Article), and it uses act_as_ferret for search. The error is as follows (where I say {full server path}, that''s not what the error says, just my note): LoadError (Expected {full server path}/article.rb to define
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody, I''m trying to use the prawn gem into a new rails3 application on debian. What I did: As root: - install rubygems, from http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz - gem install rails - gem install prawn - gem install pdf-reader - gem list | grep prawn => prawn (0.8.4) prawn-core (0.8.4) prawn-layout (0.8.4)