Displaying 20 results from an estimated 60000 matches similar to: "Rails Gem error after update"
2006 Jul 02
2
Cannot Find Gem error
I''ve updated rails to 1.1.4, and have also done a ''gem cleanup'' so
older versions are gone.
I went to a little app I had created back when I had 1.1.2. I tried to do a
script/generate migration xxxx
and got an error:
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
2006 May 05
3
Cannot find gem for Rails =1.1.2
First post here:
The error is below and i''m sure folks have posted it before, but perhaps
i''ve missed the solution:
I''m using apache because i first need to see if rails can work with
apache. Some particulars:
gem -v
0.8.11
ruby -v
ruby 1.8.4 (2005-12-24) [i686-linux]
rails -v
Rails 1.1.2
rails-1.1.2 is installed (via gem) and environment.rb''s
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?
2006 Apr 30
3
Problem(?) updating gems - mysql gem
Hi,
On OS X (10.4.6), Rails 1.1.2...
I tried doing a sudo gem update, and this is the result I''m getting:
Upgrading installed gems...
Attempting remote upgrade of mysql
Attempting remote installation of ''mysql''
Select which gem to install for your platform (powerpc-darwin8.6.0)
1. mysql 2.7.2006.04.21 (mswin32)
2. mysql 2.7 (ruby)
3. mysql 2.6 (ruby)
4. mysql
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
2009 May 12
2
rails 2.3.2 is not generating environment.rb properly
problem: rails 2.3.2 is not generating
config.action_controller.session_store = :active_record_store in
environment.rb
this is the code in environment.rb
---------------------------------------------------------------------------
# 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 =
2011 Feb 19
1
undefined method `map' for nil:NilClass for rails 2.3.2
Hai guys!
When i try to do rake gems:install and rake gems:refresh_specs in my app
below error is occurred. please give some solution for this.
config.gem: Unpacked gem authlogic-2.1.3 in vendor/gems has no specification
file. Run ''rake gems:refresh_specs'' to fix this.
rake aborted!
undefined method `map'' for nil:NilClass
enivorment.rb
RAILS_GEM_VERSION =
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/.
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
2009 Nov 03
2
Problem with gem install and rails update
Hi everyone.
I''m new to Rails and have been trying to learn something listening to
Ryan Bates'' podcast.
I have tried to install the authlogic gem, inserting the extension as
a dependency in the environment.rb file as requested.
But, when I run ''sudo rake gems:install'' I get an error: wrong number
of arguments.
I''ve pasted the trace blow.
Then
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
2006 Aug 09
3
Can''t update actionmailer gem?
Trying to update actionmailer gem, and it''s complaining about the
version of actionpack not being correct.
C:\eclipse\workspace>gem update actionmailer
Updating installed gems...
Attempting remote update of actionmailer
Install required dependency actionpack? [Yn] Y
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find actionpack (= 1.12.4) in the repository
2010 Jan 05
6
thin server claims I don't have correct rails gem installed
Hi everyone, I need some insight into a problem I just started having.
I''m running ruby 1.8.6 on an ubuntu box with the following gems
installed:
$ sudo gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.3.4, 2.3.2, 2.2.2)
actionpack (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activerecord (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activeresource (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activesupport (2.3.5, 2.3.4,
2006 Aug 30
3
Webrick Server don't start after Update Rails
Hi,
After a Rails update (rails-1.1.6) , Webrick server don''t start.
Error:
Cannot find gem for Rails =1.1.4:
Install the missing gem with ''gem install -v=1.1.4 rails'', or
change environment.rb to define RAILS_GEM_VERSION with your desired
version.
Looks normal because of the update.
A new project has no problems if I start the Webrick server.
My
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
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 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,
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 Aug 03
5
Cannot find gem for Rails error from dispatch.cgi
Hi All,
I''m developing a Rails app with Rails v1.1.4, but when I upload it to
Dreamhost and try to serve it with dispatch.cgi, I get the error "Cannot find
gem for Rails =1.1.4". However, I have installed the 1.1.4 gem in my home
directory and set GEM_PATH to look there; additionally, rake throws no errors
and "rails -v" displays "Rails 1.1.4". Any
2010 Mar 24
3
How to include a ruby gem environment.rb file?
I''m doing a Web Service Based on a page I found
(http://blog.complitech.net/web-services-basics-ruby-on-rails/) using
the rails version 2.3.4, the web service is already working, but when
working on a version Previous:
RAILS_GEM_VERSION = ''2 .0.2 ''unless defined? RAILS_GEM_VERSION
I can not run the service.
On the previous page, there''s a part that says:
3)