search for: gem_version

Displaying 5 results from an estimated 5 matches for "gem_version".

Did you mean: drm_version
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 $...
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
...n(: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 the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/envir...
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
...all_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 @@ -82,14 +83,14 @@ module Rails def load_rubygems require 'rubygems' - - unless rubygems_version >= '0.9.4' - $stderr.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.) +...
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