Displaying 20 results from an estimated 10000 matches similar to: "Web server won't start after freezing gems"
2008 Dec 15
3
Application failing on undefined method `install_gem_spec_st
Hi there,
I have rails 2.0.2 installed on my development server and that is where
I created this app. I froze the app to 2.0.2 knowing that my host server
uses 2.2.2 and that version breaks my application.
But when I upload my app to its test bed on the host server I get this
error:
# ruby dispatch.cgi
./../config/../vendor/rails/railties/lib/initializer.rb:49:in `send'':
undefined
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 16
1
Unable to start rail application at localhost
i am new to ruby on rail. i installed it to my computer.After that i
created the rail application by typing in terminal
rail rubyapplication
It was create
in my home directory.Afterwared i did follwoing
cd /home/administrator
and
2009 Apr 25
0
can run up the server after update to 2.3.2
my rails version was 2.2.2 and I turn 2.3.2 last night with gem update
and rake rails:freeze:edge. unfortunately I got a problem when I restart
my server.
a error when I script/server
./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:1:in
`require'': no such file to load --
active_support/core_ext/kernel/reporting (LoadError)
from
2008 Sep 06
2
Server is not running....
Hi all,
I am getting the following error while running ruby
script/server
Same error is also coming even when ruby
script/console.........
./script/../config/boot.rb:45:in `require'': no such file to load --
./script/../config/../vendor/rails/railties/lib/initializer (LoadError)
from ./script/../config/boot.rb:45:in `load_initializer''
2007 Dec 08
1
Trouble updating to Rails 2.0
I recently updated my gems and first I got an error with Rails.
Aparently, Rails 2.0 has a dependency on ActiveResource, but the gems
dont install it as a dependency. At least not when upgrading from
1.2.6 to 2.0
Then, when I try to freeze the gems to generate the new documentation,
I get the following error:
gabriel@fenix:~/dummy$ rake rails:freeze:gems --trace
(in /home/gabriel/dummy)
rake
2009 Oct 08
0
autospec cannont find gems
I am trying to install rspec for rails and have the following gems
install
C:\INSTAN~3.0-W\rails_apps\katai>gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.4, 2.0.2)
actionpack (2.3.4, 2.0.2)
activerecord (2.3.4, 2.0.2)
activeresource (2.3.4, 2.0.2)
activesupport (2.3.4, 2.0.2)
authlogic (2.1.2)
autotest-rails (4.1.0)
builder (2.1.2)
capistrano (2.5.9, 2.1.0)
cgi_multipart_eof_fix
2008 Nov 05
1
Removed edge rails but cannot find installed rails
I removed edge-rails from a project, git rm, committed and pushed the
revised project to the shared repository, and then git pulled it onto my
Windows XPpro laptop.
Both the original host and my laptop have Rails-2.2.0RC1 installed. The
Gem environment is:
$ rails --version
Rails 2.2.0
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel
2010 Sep 30
0
no such file to load --initializer
Hi all,
issuing the command "$rake gems" in a rails-application folder leads
to the error "no such file to load -- initializer"
I am on centos5.2, ruby 1.9.2.p0, rubygems 1.3.7, rails 3.0
irb -> require ''rubygems'' => false
echo $GEM_PATH leads to /usr/local/lib/ruby/gems/1.9.1
gem environment leads to
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7 -
2010 May 25
1
rake rails:freeze:gems bug in rails 2.3.5?
Hi All,
Not sure if this is a bug or expected behavior.
I''ve pasted my log below, but basically the first time that I run
rake rails:freeze:gems, I get action* all unpacked into app/vendor/
rails.....the 2nd time I run it? I only get vendor/railties/*
Something I''ve done wrong?
Thanks,
Dale
---- log -----
~/cygwin/test$ rake rails:freeze:gems
(in C:/Documents and
2008 Mar 28
1
undefined method ''alias_method_chain''
Running Rails 2.0.2, I get this error:
./script/../config/../vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb:29:
undefined method `alias_method_chain'' for
ActionController::UrlRewriter:Class (NoMethodError)
from /usr/local/rubygems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
from
2007 Dec 04
0
Freezing Rails 1.2.6 & rubygems 0.95 Problems
Freezing to 1.2.6 appears to be broken right now for two reasons. My
environment is using rails 1.2.6 and rubygems 0.9.5 Attempting to
freeze to 1.2.6 with this will result in this output & error:
% rake rails:freeze:edge TAG=rel_1-2-6
...
** Invoke rails:freeze:edge (first_time)
** Execute rails:freeze:edge
A vendor/rails/railties
. . .
A vendor/rails/activesupport/MIT-LICENSE
2010 Dec 20
0
Server won't start on using authlogic-oauth2
I have included oauth2 and authlogic-oauth2 in the gemfile as I want to
use them and am trying to start the server. It doesn''t start and gives
me the error
/Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails.rb:44:in
`configuration'': undefined method `config'' for nil:NilClass
(NoMethodError)
from
2007 Nov 26
2
Rails 1.2.6 gem freeze fails with gem 0.9.5 system
Freezing to the gems for Rails 1.2.6
rake aborted!
uninitialized constant Gem::GemRunner
tracing gives:
no such file to load -- /Users/nathany/Sites/boat/oat/config/../vendor/
rails/railties/lib/initializer
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
...
which seems like it may be trying to load the frozen gems before they
are there?
It
2008 Oct 28
1
Old Rails app: can't find file_column gem?
Hi all
I''m trying to get some old Rails app to work. But when trying to start
it, I get the following error:
josh$ script/server
=> Booting WEBrick...
./script/../config/../config/environment.rb:5: warning: already
initialized constant RAILS_ENV
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- file_column
2008 May 29
0
NoMethodError: undefined method `configuration' for #<String inside railties?
I''m in the middle of upgrading an application to rails 2.0.2 from
1.2.5 and on startup I see this message printed out:
#<NoMethodError: undefined method `configuration'' for #<String:
0x1145040>>
After some hacking I''ve figured out it emanates from plugin.rb in
railties (railties/lib/rails/plugin.rb) in the following block:
def evaluate_init_rb(initializer)
2008 Oct 14
1
Starting Server gives an error
Hi,
I had created a new environment and tried to start the webrick server
for that environment but it is giving an error:-
E:/demo/vendor/rails/railties/lib/commands/servers/
webrick.rb:11: warning: already initialized constant OPTIONS
E:/demo/vendor/rails/activesupport/lib/active_suppo
rt/dependencies.rb:249:in `load_missing_constant'': Expected E:/Demo
2010 Mar 09
1
db:migrate fails after upgrade to Rails 2.3.5
Hi -- I''m upgrading an app from Rails 2.0.2 to 2.3.5 in development on
a Mac OS/X Leopard. I unfroze the old Rails files, froze the 2.3.5
gem on the machine into the app, and some quick tests of the app
showed no problems.
However, after trying to run rake db:migrate, it fails silently. Run
with trace I get the output below. I gather it might be related to
plugin initialization or
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi
i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and
i can''t able to run my existing application.
error occurred :
run command for server "script/server -e production -p 3001"
error:
=> Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3001
config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no
specification
2009 May 25
2
CAn u please tell wats the prob in runnning my project?
[~/kallori]# rake db:migrate
(in /home/gm/kallori)
no such file to load -- hmac-sha1
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require''
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in `require''