Displaying 6 results from an estimated 6 matches for "install_gem_spec_stub".
Did you mean:
  install_gem_spec_stubs
  
2008 Sep 06
0
Web server won't start after freezing gems
...nt to
freeze my app to Rails version 1.2.3. I was able to freeze it
successfully, but when I try to start the server on my local
development environment, I''m confronted with this error:
./script/../config/../vendor/rails/railties/lib/initializer.rb:43:in
`send'': undefined method `install_gem_spec_stubs'' for
#<Rails::Initializer:0x290444c> (NoMethodError)
	from ./script/../config/../vendor/rails/railties/lib/initializer.rb:
43:in `run''
	from ./script/../config/boot.rb:46:in `load_initializer''
	from ./script/../config/boot.rb:38:in `run''
	from ./script/../...
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
...lizer.rb"
    end
  end
  class Boot
    def run
      load_initializer
      Rails::Initializer.run(:set_load_path)
    end
  end
  class VendorBoot < Boot
    def load_initializer
      require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
      Rails::Initializer.run(:install_gem_spec_stubs)
      Rails::GemDependency.add_frozen_gem_path
    end
  end
  class GemBoot < Boot
    def load_initializer
      self.class.load_rubygems
      load_rails_gem
      require ''initializer''
    end
    def load_rails_gem
      if version = self.class.gem_version
        gem...
2008 Dec 15
3
Application failing on undefined method `install_gem_spec_st
...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 method `install_gem_spec_stubs'' for
#<Rails::Initializer:0x7f48dec3aef0> (NoMethodError)
  from ./../config/../vendor/rails/railties/lib/initializer.rb:49:in
`run''
  from ./../config/boot.rb:46:in `load_initializer''
  from ./../config/boot.rb:38:in `run''
  from ./../config/boot.rb:11:in...
2010 Oct 22
6
(Unable to start rails application) ruby scipt/server error
1) I  installed the ruby-1.9.2-p0  and rubygems-1.3.7  in the
(/usr/local/src directory )
2) Then i installed rails from terminal by typing follwoing
           sudo gem install rails --include-dependencies
3) Then i  made a rails applcation from terminal as
                        rails new demo
                             then
                       cd demo
                      ruby
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...diff --git a/src/config/boot.rb b/src/config/boot.rb
index cd21fb9..0ad0f78 100644
--- a/src/config/boot.rb
+++ b/src/config/boot.rb
@@ -44,6 +44,7 @@ module Rails
     def load_initializer
       require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
       Rails::Initializer.run(:install_gem_spec_stubs)
+      Rails::GemDependency.add_frozen_gem_path
     end
   end
 
@@ -67,7 +68,7 @@ module Rails
 
     class << self
       def rubygems_version
-        Gem::RubyGemsVersion if defined? Gem::RubyGemsVersion
+        Gem::RubyGemsVersion rescue nil
       end
 
       def gem_version
@@ -8...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply 
to this email, as some of the replaced lines are too long, so git 
won't let me send the email.  However, there is nothing wrong with 
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server