similar to: How do you move an application to a newer version of Rails?

Displaying 20 results from an estimated 4000 matches similar to: "How do you move an application to a newer version of Rails?"

2006 Apr 14
18
RJS Templates & Safari?
Hello, I tried Cody Fauser RJS tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) on my railsplayground dev site and got it to work when using Firefox, but when I tried it on Safari, nothing happens. Then I tried this tutorial - http://rewrite.rickbradley.com/articles/2006/02/06/rjs-templates Similarly, it works fine on Firefox... but with Safari the list is not
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 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 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
2006 Aug 10
6
Login Restfully
In DHH''s keynote, he alluded to doing logins with REST. Has anyone implemented this, and if so, would you mind elaborating on how you did it please? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
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 May 24
3
index.erb vs rhtml
I am a total Ruby/RoR n00b having just started reading the ''Ruby on Rails Bible'' book two days ago. I''ve been trying to work out through the introductory ''Your first ruby on rails application'' section, but I''ve run into problems already! The book goes on about creating the view templates and naming them with the *.html.erb extension, but I get
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 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
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
2006 Apr 14
2
Rails 1.1.2 is working on shared hosting that has rails 1.0
After many hours I got working It is in spanish but you can copy paste the code. http://wiki.onrails.com.ar/onrailscomarwiki/show/Instalacion+de+Rails+y+Gems+en+un+hosting+compartido P http://wiki.onrails.com.ar -- Posted via http://www.ruby-forum.com/.
2007 Sep 19
3
Rails cannot connect error after updating using ruby and rails to slightly newer versions
I am on a mac. Have been developing using a manually installed (according to the hivelogic instructions) ruby, rails, gems, mongrel setup. Life was good. When I noticed that my ruby version was out of date, I decided to switch to using macports to maintain the software on my mac. I used it to install a new ruby and gems, and then used gems to get the latest rails. Life seemed to be good. Next I
2006 Jun 27
25
1.1.3 available.
Hello, DHH has just announced the release of Rails 1.1.3 http://weblog.rubyonrails.org/2006/6/27/rails-1-1-3-security-fix-and-minor-fixes rails-1.1.3 activerecord-1.14.3 actionpack-1.12.2 actionmailer-1.2.2 actionwebservice-1.1.3 The announce without the repetition :) "Rails 1.1.3: Security fix and minor fixes Posted by David June 27, 2006 @ 08:07PM We''ve found and fixed a
2006 Feb 14
6
Rails on Sun
Hi Everbody, I''ve got a potential idea for introducing Rails to my company. My only shot at this is to minimize what our Ops guys would have to install and configure to get this up and running. Right now, our servers are Solaris boxes and we are using Sun ONE as our web server. Anyone got Rails running in this environment? Also, has anyone got Rails talking to Oracle databases?
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
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
2006 May 22
3
Syntax error when running dispatch.cgi
Hi, when I execute dispatch.cgi at the command line, I get the following error message: [cg@cg rails]$ ./public/dispatch.cgi ./public/dispatch.cgi:3:in `require'': ./public/../config/environment.rb:8: syntax error, unexpected ''<'' (SyntaxError) <%= ''# '' if freeze %>RAILS_GEM_VERSION = ''<%= Rails::VERSION::STRING %>''
2006 Aug 17
3
file_column plugin + rails 1.1.6
Hello, I need to install file_column plugin but I got an error message. This is the command I use: ./script/plugin install http://opensvn.csie.org/rails_file_column/plugins/file_column/trunk This is the 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
2006 Jun 15
1
script/generate works fine as root, but not as -me-
$ script/generate Scaffold Product Admin 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. $ rails -v Rails 1.1.2 $ echo ''wtf?'' wtf? ------- The above is what I get when I run script/generate as me, my normal user (MacOS X).
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)