search for: load_rails_gem

Displaying 6 results from an estimated 6 matches for "load_rails_gem".

2008 Mar 21
3
Error in new project boot.rb
When I create a new 2.0 project (rails project_name) Aptana shows what appears to me to be a valid error in boot.rb The line: if version = self.class.gem_version is an assignment Should this not read: if version == self.class.gem_version def load_rails_gem if version = self.class.gem_version gem ''rails'', version else gem ''rails'' end rescue Gem::LoadError => load_error $stderr.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your...
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
...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 ''rails'', version else gem ''rails'' end rescue Gem::LoadError => load_error $stderr.puts %(Missing t...
2009 Feb 03
1
"uninitialized constant Gem::Etc (NameError)" when starting server
...gems/source_index.rb:56:in `from_installed_gems'' from /Library/Ruby/Site/1.8/rubygems.rb:736:in `source_index'' from /Library/Ruby/Site/1.8/rubygems.rb:140:in `activate'' from /Library/Ruby/Site/1.8/rubygems.rb:49:in `gem'' from ./script/../config/boot.rb:59:in `load_rails_gem'' from ./script/../config/boot.rb:53:in `load_initializer'' from ./script/../config/boot.rb:38:in `run'' from ./script/../config/boot.rb:11:in `boot!'' from ./script/../config/boot.rb:109 from script/server:2:in `require'' from script/server:2 I have m...
2009 Dec 07
1
problem starting rails (hobo) app with passenger
...ruby/1.8/rubygems.rb 736 in `source_index'' 9 /usr/local/lib/site_ruby/1.8/rubygems.rb 140 in `activate'' 10 /usr/local/lib/site_ruby/1.8/rubygems.rb 49 in `gem'' 11 /home/es-server/employee_status/config/boot.rb 60 in `load_rails_gem'' 12 /home/es-server/employee_status/config/boot.rb 54 in `load_initializer'' 13 /home/es-server/employee_status/config/boot.rb 38 in `run'' 14 /home/es-server/employee_status/config/boot.rb 11 in `boot!'' 15 /home/es-server/empl...
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
2010 Jul 18
3
Passenger configuration
Hello Experts, I am developing a site that will be deployed on dreamhost. My Development environment is as followed. Development H:\mywork\QMed\KIMS_banglore\rails_apps\kims_sachin2.0>ruby script/ about About your application''s environment Ruby version 1.8.6 (i386-mingw32) RubyGems version 1.3.7 Rack version 1.1 Rails version 2.3.8