similar to: script/generate works fine as root, but not as -me-

Displaying 20 results from an estimated 5000 matches similar to: "script/generate works fine as root, but not as -me-"

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
2006 Jun 13
4
mysql gem not buidling on OSX 10.4.6
When I `sudo gem install mysql` I get the following: --snip-- $ sudo gem install mysql Attempting local installation of ''mysql'' Local gem file not found: mysql*.gem Attempting remote installation of ''mysql'' Updating Gem source index for: http://gems.rubyforge.org /usr/local/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24)
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
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
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 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 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
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
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
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 %>''
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
2009 Jul 03
1
Getting an app to run
Greetings, I'm new to wine (and linux in general) but I've found my experience with both to be very enjoyable and I'd like to convert over fully to being a penguin. In order to do this though, I must have functional a required app on my home network. This program basically monitors my satellite internet usage and informs my entire network how much remaining usage we have (there's
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
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
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
2006 Apr 17
2
wiki community
So I went to the rails wiki to check some OSS projects in ruby and I get a bunch garbage for drug ads. WTF? http://wiki.rubyonrails.com/rails/pages/OpenSourceProjects -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060417/f234d115/attachment.html
2006 Aug 11
2
dreamhost error after 1.1.5 upgrade
My site was working fine earlier, but since the 1.1.5 upgrade at dreamhost it just hangs and hangs and then gives 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