Displaying 20 results from an estimated 20000 matches similar to: "system hangs while running gem install rails"
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 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 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 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
2011 Apr 27
1
'bignum too big to convert into long' while migration in rails
While i run rake db:migrate i got below error ,let me know any one .
Please it is urgent to me.
D:\raj\tweasier>rake db:migrate --trace
(in D:/raj/tweasier)
DEPRECATION WARNING: Rake tasks in
vendor/plugins/open_flash_chart_2/tasks, vend
or/plugins/resque/tasks, and vendor/plugins/resque/tasks are deprecated.
Use lib
/tasks instead. (called from
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
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello --
Please pardon my newness -- I''m just getting started with rails, and
I''m having some difficulty getting it set up with MySQL.
I am able to get the basic ruby server running (script\server). When I
created a new page (using script/generate controller about index), I
am not able to navigate to the new page, and Ruby either crashes or
gives me an error:
/!\ FAILSAFE /!\ 
2010 Dec 24
2
buildr Windows 7 64 bit problems
Preface: I''m not overly familiar with the inner workings of RoR, so I
apologize for my relatively superficial knowledge upfront
I have a new 64 bit Windows 7 machine.
My dev environment on my old machine which functions fine (sans a
functioning monitor -- thus the new machine), I have the following
installed and functioning well:
Ruby 1.8.6 using the Windows MSI installer
Buildr 1.3.3
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 12
7
"We're sorry, but something went wrong." from RoR app
Hi All,
"We''re sorry, but something went wrong." is the message I got when I
started up an RoR app in the environment:
Rails 2.3.5
Ruby 1.8.6
WinXP-Pro/SP3
Firefox 3.6
MySQL 5.0.37-community-nt
Mongrel
The app under development was working fine until I (stupidly) thought
I needed to upgrade MySQL to 5.1.44.
I took the precaution of MySQL-dumping
the development db before
2010 Jul 16
31
Added associations but don't see generated methods
Hi,
I''ve got a Rails app working that includes two two classes, etc.:
Expense & Vendor.  I eventually learned that the mental concept I had
of their relationship should be express in Rails as:
class Expense < ActiveRecord::Base;   belongs_to :vendor; end
class Vendor < ActiveRecord::Base;   has_many :expenses; end
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
Hello All,
We''re working on a project on a Windows machine that will use PDFKit to
convert an HTML page to a PDF. I have followed all the instructions at
GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and
PDFKit, then creating the config file in ''config/initializers/pdfkit.rb''
and then finally, setting up Middleware for Rails apps in
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)
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,
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
2007 Aug 24
2
error in rails 1.2.3 activerecord
i''m a rails nuby so i don''t know where to fix this in the activerecord
module....
there is no such column in the sys.view.user_constraints.
SELECT uc.index_name FROM user_constraints uc WHERE uc.constraint_type =
''P''
this prevents me from doing a rake test:functionals ...as in below....
C:\railsspace>c:\ruby186\ruby\bin\ruby c:\ruby186\ruby\bin\rake
2006 Jun 22
1
Can Rails be used without gems?
I have ruby installed on linux, but not gems.
I wish to run a Rails application so I generated a Rails app on another 
(win32) machine and placed the Rails framework in ./vendor/rails so that 
it used that instead of rails gem.
I then transfered this over to the linux machine. When I run ruby 
script/server I get an error:
=> Booting WEBrick...
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 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/.
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 %>''