search for: rails_gem_version

Displaying 20 results from an estimated 116 matches for "rails_gem_version".

2006 Aug 15
3
Versions Compatibility and RAILS_GEM_VERSION
Is there any problem with versions compatibility? A project I started with 1.1.2 cannot run with 1.1.4. Dreamhost recently updated their rails from 1.1.2 to 1.1.5 and 1.1.6. Needless to say I got "Application Error". However when I changed RAILS_GEM_VERSION to either 1.1.5 or 1.1.6, it works. (Haven''t made a thorough checking though.) Here it seems there is no compatibility problem between 1.1.2 and 1.1.5 / 1.1.6. So if, I started with one version (e.g. 1.1.2) will it still work after rails upgrade later (e.g. 1.9.9)? What is the sign...
2009 Jan 12
5
Restful Authentication Uninitialized Constant in Production...
...issing in the production server. However, to validate this, I attempted this on the same server as the development, which works. So, what could cause the production environment to not see something that is there, when the development environment can? Ahh. While writing this, I decided to change: RAILS_GEM_VERSION = ''2.2.2'' unless defined? RAILS_GEM_VERSION to this RAILS_GEM_VERSION = ''2.1.0'' unless defined? RAILS_GEM_VERSION And, things work fine. Now to find out why. I don''t like having to step downward... --~--~---------~--~----~------------~-------~--~----~...
2009 Mar 18
6
How to use a freshly updated Rails gem?
Hi there, How do I make my app pick up the new Rails gem that I have just updated? I have: 1. just updated rails from version 2.1.0 to version 2.3.2 (console: "rails -v" -> "Rails 2.3.2") 2. in environment.rb set: "RAILS_GEM_VERSION = ''2.3.2'' unless defined? RAILS_GEM_VERSION" 3. restarted the server Result: - The Console in Eclipse tells me "=> Rails 2.1.0 application started on http://127.0.0.1:3000" Even if I a) totally uncomment "RAILS_GEM_VERSION = ''2.3.2'' unles...
2010 May 05
1
[PATCH server] Upgrade rails gem version for F13
...ig/environment.rb b/src/config/environment.rb index 9c1a9fa..ca6ed03 100644 --- a/src/config/environment.rb +++ b/src/config/environment.rb @@ -20,7 +20,7 @@ # Be sure to restart your web server when you modify this file. # Specifies gem version of Rails to use when vendor/rails is not present -RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION +RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') -- 1.7.0.1
2006 Jul 02
6
How do you move an application to a newer version of Rails?
Hello, I''ve got an app written in rails 1.1.2 and I need to move it to 1.1.4 Installing the older version of rails is not an option (it''s not my system) unfortunately. Thanks, -Jon -- Posted via http://www.ruby-forum.com/.
2010 Mar 31
1
[PATCH] Upgrading the server to work with Rails 2.3.4.
...ig/environment.rb b/src/config/environment.rb index 913b9f9..9c1a9fa 100644 --- a/src/config/environment.rb +++ b/src/config/environment.rb @@ -20,7 +20,7 @@ # Be sure to restart your web server when you modify this file. # Specifies gem version of Rails to use when vendor/rails is not present -RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION +RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') diff --git a/src/config/initializers/new_...
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
...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/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.) exit 1 end class << self def rubygems_version Gem::RubyGemsVersion rescue nil end def gem_version...
2007 Nov 25
5
Can't find rails after re-installing/upgrading Kubuntu
...ich brings with Rails 1.2.4 instead of 1.2.3. Now my Rail project doesn''t start anymore. At first I''ve got this message: Cannot find gem for Rails ~>1.2.3.0: Install the missing gem with ''gem install -v=1.2.3 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. then I went and I updated environment.rb and now it says: Cannot find gem for Rails ~>1.2.4.0: Install the missing gem with ''gem install -v=1.2.4 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. Just t...
2008 Nov 21
15
Switching the version of Rails that an app uses
...(2007-09-24 patchlevel 111) [i386-mswin32] K:\>rails -v Rails 2.2.1 K:\>gem list rails -l *** LOCAL GEMS *** rails (2.2.1, 2.2.0, 2.1.2, 2.0.2, 1.1.6, 1.1.4) rails-app-installer (0.2.0) B. = = = = = = = = = = = = = = = = = = = = = = = = I modified config\environment.rb by commenting out “RAILS_GEM_VERSION = ''2.2.0'' unless defined? RAILS_GEM_VERSION” and followed it with the following 6 lines: RAILS_GEM_VERSION = ''2.0.2'' # RLM puts "\n=============" # RLM puts "RAILS_GEM_VERSION is defined" if defined? RAILS_GEM_VERSION # RLM puts "RAILS_G...
2010 Jan 26
7
updated rails now missing rails gem
So i updated rails and this is now what i''m getting. i tried reinstalling rails and it didn''t help. it''s installed. this is driving me nuts. i''m at rails 2.3.5 and ruby 1.8.7 Missing the Rails gem. Please `gem install -v= rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&quo...
2006 Aug 08
8
RESTful Rails Plugin
I am following the instructions on how to use RESTful Rails plugin found at http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3. When I run the rake test:functionals I get the following error message: rake aborted! undefined method `first'' for :book:Symbol (See full trace by running task with --trace) How can I fix this problem? I am using Rails 1.1.4 version. TIA
2006 Apr 11
18
Rails 1.1 in Production
My hosting company is still supporting only Rails 1.0. I have installed Rails 1.1.2 to my vendor directory and deployed it in production which should mean that my application should be using the Rails version in my vendor diretory. But It looks like its still using local gem libraries, here is the error from dispatch.fcgi when I try and invoke my app NoMethodError (undefined method
2006 May 15
2
Error creating controllers in InstantRails-1.3a
...cookbook2 following tutorial ( http://instantrails.rubyforge.org/tutorial/index.html) , it gives me below error whle creating MyTest controller Cannot find gem for Rails =1.1.2: Install the missing gem with ''gem install -v=1.1.2 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. I looked at environment.rb of cookbook and it does NOT define RAILS_GEM_VERSION, however cookbook2''s environment.rb DOES define it, when I make it same as cookbook''s ( i.e. comment it ) then I get below error E:\InstantRails\rails_apps\cookbook2>rub...
2008 Apr 04
3
Weird Issue with Rails 2.0.2+???
...t;sudo gem cleanup" so that only 2.0.2-9216 remains, and created a new project, and now I have a different problem: ----- % rails --version Rails 2.0.2 % rails test ... output omitted ... % cd test % script/server Missing the Rails 2.0.2 gem. Please `gem install -v=2.0.2 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. ----- If I modify RAILS_GEM_VERSION to "2.0.2.9216", mongrel now starts up properly. It seems to me that rails behaves badly when both 2.0....
2008 Mar 21
3
Error in new project boot.rb
...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/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.) exit 1 end There is also a second error reported in the (rescue Gem::LoadError => load_error) of "unused local variable load_error&...
2010 Mar 21
4
Deploying my rails app to GoDaddy
...onment" require ''fcgi_handler'' RailsFCGIHandler.process! +++++++++++++++++++++++++++++++ Here''s what my environment.rb looks like: # Be sure to restart your server when you modify this file # Specifies gem version of Rails to use when vendor/rails is not present #RAILS_GEM_VERSION = ''2.3.5'' unless defined? RAILS_GEM_VERSION RAILS_GEM_VERSION = ''1.1.6'' unless defined? RAILS_GEM_VERSION ENV[''GEM_HOME''] = ''/usr/local/lib/ruby/gems-dev/1.8'' # Bootstrap the Rails environment, frameworks, and default configur...
2006 Aug 11
2
dreamhost error after 1.1.5 upgrade
...the "Application error, rails failed to load properly". Fastcgi was and still is enabled in the control panel. I had been using capistrano to deploy and it has been working well that way. The application works on my local box which has 1.1.6 running. I edited environment.rb to use RAILS_GEM_VERSION 1.1.5. I use the acts_as_taggable gem and the BlueCloth gem. Any tips on what to try? Thanks -- Posted via http://www.ruby-forum.com/.
2011 Jan 02
1
After upgrading to Rails 3, getting errors in Rails 2 app
Hey all After upgrading to Rails 3, when I try to run Rails 2 app, I get this: script/server Missing the Rails 2.3.8 gem. Please `gem install -v=2.3.8 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed. MacBook-Pro:MK JANUARY jmerlino$ rails -v Rails 3.0.3 So I assume there''s going to be several issues like this. According to the railscasts...
2010 Sep 07
1
unicorn_rails and rails 2.3.8
...ll who have worked on it. For the first time, I am trying to run a rails 2.3 app with unicorn. I don''t understand what is not set correctly. I have rails 2.3.8 and dependencies installed. I am sure it is something simple.... See output below. Much thanks! Matt config/environment.rb ... RAILS_GEM_VERSION = ''2.3.8'' unless defined? RAILS_GEM_VERSION ... ruby-1.9.2-p0 repositories/rails_apps/fat_free_crm[master]% unicorn_rails I, [2010-09-07T12:20:54.342354 #9085] INFO -- : reaped #<Process::Status: pid 9087 exit 1> worker=0 I, [2010-09-07T12:20:54.343368 #9085] INFO -- : wo...
2009 Sep 12
5
undefined method `^' for "d":String
Hi guys. I''m a freshman on Rails (and Ruby) so I''m sorry if my question is pretty basic, and possible has a vary basic answer. I tried to Google this problem, but a couple of hour after and no solution found, I decided to ask for help here. I have installed ruby 1.9.1p243, Rails 2.3.4, Gem 1.3.5, SQLite version 3.6.18 (I think this is all that it''s needed). I´m reading