Displaying 20 results from an estimated 11000 matches similar to: "After upgrading to Rails 3, getting errors in Rails 2 app"
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects.
I have RVM installed.
When I upgraded to Rails 3, Installed RVM via terminal:
bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest)
version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt);
mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O
http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2011 Mar 31
3
can i switch to rails 2.3.5 and run a rails 2.3.5 code??
Hi all,
i have installed rails 3 using RVM . the prob is now i have two parallel
projects where one is in 2.3.5 and another is in rails3.
i use Mac o x 10.6.3
mysql :Server version: 5.1.56 MySQL
so can i switch in between rails3 and rails 2.3.8??
this is my gem list...
actionmailer (3.0.5, 3.0.5.rc1, 3.0.4, 3.0.3, 2.3.8, 2.3.5)
actionpack (3.0.5, 3.0.5.rc1, 3.0.4, 3.0.3, 2.3.8, 2.3.5)
2010 Aug 18
1
upgarde from rails 2.3.5 to rails 2.3.8
Hi
I upgraded my rails application rails 2.3.8 from 2.3.5 like below
gem install rails -v=2.3.8
Now in environemnt.rb RAILS_GEM_VERSION changed to ''2.3.8''. Now
when I tried to a previous migration like
rake db:migrate VERSION=20100714122104
I got warning like
DEPRECATION WARNING: Rake tasks in vendor/plugins/delayed_job/tasks,
vendor/plugins/paperclip/tasks,
2008 Nov 21
15
Switching the version of Rails that an app uses
Hi All,
I’ve got a few versions or Rails installed and I''d like to run an App
I’m developing with various versions of Rails. I heard of two ways to
switch the version of Rails that an app uses:
1. Use GitHub as described by http://kylecordes.com/2008/04/30/git-windows-go/
. But that requires using Bash in a Command Window and more steps
than I want to go through.
2. Alter
2010 Mar 21
4
Deploying my rails app to GoDaddy
So I''ve written my first real-world RoR app and I''m now getting ready
to deploy it. Unfortunately, my client decided to use GoDaddy as the
hosting provider and based on what I''ve seen so far from the web, it''s
not really the smoothest or ideal hosting for RoR apps. There were
several posts here that I tried to follow but they were kinda old
(2008, 2007). Most of
2010 Mar 31
1
[PATCH] Upgrading the server to work with Rails 2.3.4.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
src/app/controllers/application_controller.rb | 2 +-
src/config/environment.rb | 2 +-
src/config/initializers/new_rails_defaults.rb | 6 +++++-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/app/controllers/application_controller.rb b/src/app/controllers/application_controller.rb
2010 Sep 07
1
unicorn_rails and rails 2.3.8
First off, I love unicorn. Thanks to all 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?
2011 Jun 01
4
missing these required gems: will_paginate
Hi EveryBody,
I hope some one help me.
I am new on ROR so might be problem is silly or Obvious. i had
developed a project and i had use "WILL_PAGINATE" plugin in my app.
It''s working well at localhost.
But when deploying on HEROKU, ALL step is going well but when running
$heroku rake db:migrate
ERROR IS
Missing these required gems:
will_paginate
You''re
2007 Nov 25
5
Can't find rails after re-installing/upgrading Kubuntu
Hello Railers (?),
I have just re-installed my machine with the lattest Kubuntu, which 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
2010 Sep 03
6
upgrading to rails 3.
I''ve installed rails_upgrade plugin with ruby script/plugin install
http://github.com/rails/rails_upgrade.git.
Then if I run rake rails:upgrade:check it says
rake aborted!
no such file to load -- initializer
What I''ve missed?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
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
2010 May 05
1
[PATCH server] Upgrade rails gem version for F13
From: root <root at ovirt.admin.virt.par.lng>
Signed-off-by: Arthur Cl?ment <aclement at linagora.com>
---
src/config/environment.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/config/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
2009 Jan 12
5
Restful Authentication Uninitialized Constant in Production...
rake db:migrate RAILS_ENV=production
rake aborted!
uninitialized constant User::Authentication
The preceding I encounter when attempting to migrate to the production
database. My google powers have escaped me. Everywhere says Restful
Authentication is missing in the production server. However, to
validate this, I attempted this on the same server as the development,
which works.
So, what
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
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 12
6
RVM on a Macbook
I have a Macbook with Snow Leopard and Macports. I have successfully
run the script displayed below the heading "The following script will
boostrap git + RVM..." on the page:
http://rvm.beginrescueend.com/rvm/install/
However I can find no .bash_profile or .bashrc on my machine. The
closest existing files are .profile in my root, .bash_login in my
root, and setup.bash.in in a subfolder
2008 Apr 04
3
Weird Issue with Rails 2.0.2+???
Hi. I have kept my rails installation up to date. Now I have
2.0.2.9216 installed, including a fewl older ones, back to the
original 2.0.2 release, However, I keep on getting weird problems
with newly created projects on line #44 of config/environment.rb:
config.time_zone = ''UTC''
So I did a "sudo gem cleanup" so that only 2.0.2-9216 remains, and
created a new
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
2006 May 15
2
Error creating controllers in InstantRails-1.3a
Hi,
I was able to successfully Install InstantRails-1.3a and run cookbook throgh
Apache and WEBrick , however when I try to create my own app. 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
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