similar to: Rails 3 Crashing On Windows 7

Displaying 20 results from an estimated 1200 matches similar to: "Rails 3 Crashing On Windows 7"

2010 Aug 14
10
Redirecting after logging in
Hey everybody, I''m trying to make an example of a small networking site, and when I log in a user, it should redirect and show his profile, but I get the following error: NoMethodError in User#index Showing app/views/user/index.html.erb where line #5 raised: undefined method `screen_name'' for nil:NilClass Extracted source (around line #5): 2: Your basic information 3:
2011 Mar 02
2
[ win32utils-Bugs-28904 ] Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2
Bugs item #28904, was opened at 2011-02-02 10:41 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28904&group_id=85 Category: win32-eventlog Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Jason Bourne (jbourne) Assigned to: Nobody (None) Summary: Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2 Initial Comment: 1.Requirement:
2010 Jul 16
1
Rails 3 bug: undefined method `<=>' for class `ActiveSupport::Multibyte::Chars'
I''m getting the following bug when I try to run rake db:migrate in Rails 3 beta 4: $ rake db:migrate --trace (in C:/Users/Adam/Documents/Aptana Workspace/QuestionBank) default formats are encoded in ISO-8859-1 ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate == CreateUsers: migrating
2012 Jan 15
2
ruby-debug19 error undefined symbol: ruby_current_thread
I am trying to deploy a Rails app ( Rails 3.0.9 / Ruby 1.9.2 ) in production (Debian 6) it''s running fine in development mode on localhost ( OSX) I am getting this error from Passenger : undefined symbol: ruby_current_thread /var/www/vhosts/mydomain.com/rails/testsbga/shared/bundle/ruby/ 1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so: undefined symbol: ruby_current_thread -
2009 Mar 12
8
Segment error loading rails
I have downloaded ruby 1.9.1 binaries to c:\ruby191 (I have ruby 1.8.6 under c:\ruby). I then downloaded gems 1.3.1 and ran "gem install rails --include-dependencies" from c:\ruby191\bin and it ran and came up with a segment error and killed the rails install. Any ideas what I am doing wrong? Thanks Chris -- Posted via http://www.ruby-forum.com/.
2012 Feb 26
15
ActiveRecord::ConnectionNotEstablished
Hi, I am trying the tutorial in: http://guides.rubyonrails.org/getting_started.html when I try to navigate to http://localhost:3000 after the 4.3 change I get the error : ActiveRecord::ConnectionNotEstablished and I don''t know how to solve it the database.yml file is: adapter => mysql host => 127.0.0.1 database => blog username => root password => ***** my
2011 Jul 25
4
Rails 3 test database issues
I am having a problem using the test database in Rails 3. It apparently has kept track of aspects of the database that I deleted completely from my migrations at some point. I don''t always use the ''down'' part of a migration and sometimes just recreate the whole database. I did rake db:migrate:reset and rake db:test:prepare, but when I run my test it is trying to access
2008 Dec 04
1
upload test images using rake with populator
I am wondering if it is possible to upload test images to the database along with the other fake user data. I am using populator along with faker for fake test data and it is working very well. I am able to do things like: User.populate 100 do |user| user.username = Faker::Name.first_name user.email = Faker::Internet.email end but I am wondering if theres a way to do
2010 Nov 25
2
no such file to load - spec/test/unit
Under the older version of rspec, I''m able to run my script successfully by running "spec randomperform.rb" I''ve now installed the newest rspec, and it does not work for me. If I run the command: rspec randomperform.rb I get the following error: ----- <internal:lib/rubygems/custom_require>:29:in `require'': no such file to load -- spec/test/unit
2010 Sep 05
13
undefined method `path' for Gem:Module (NoMethodError)
Hi, when running - ''ruby setup.rb'' I get the following error message: C:\rubygems-1.3.7>ruby setup.rb C:/rubygems-1.3.7/lib/rubygems/source_index.rb:68:in installed_spec_directories'': undefined method `path'' for Gem:Module (NoMethodError) Ruby version is ruby-1.9.2-p0. Any idea ? Thanks. Dani -- Posted via http://www.ruby-forum.com/. -- You received
2010 Oct 03
23
Newbe: rails version issue
I am evaluating RubyMine but am getting the following rake issue... C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path'': can''t find executable rake for rake-0.8.7 (Gem::Exception) There are many web pages (through Google) that discuss this, and several recommend applying a patch and link to a .patch file (0001-version-bundled-gems-during-installation.patch). This file opens
2011 Nov 14
2
Looking for environment setup help
Can anyone help with setting up my environment? This all started when I tried to install Aptana Studio 3, and want to use the debugger. I have installed ruby 1.9.2, and rails 3.1.0. When I try to install the ruby-debug-base gem, I get an error that does not make sense to me - it tells me it needs ruby version > 1.8.7. Here is the error message, along with other details. I am running this
2011 Sep 09
1
i need help.please anyone can help me out witth this.
I installed ruby on my pc...then after that i got lib not found as one error when i was installing rails... further all steps worked like installing sqlite3 and creating test application...but wen i gave a cmd called rake db:migrate, i got errors like these- rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) D:/Ruby192/lib/ruby/1.9.1/rake.rb:2367:in
2011 Mar 14
3
error during installing gem named mysql2
*hello everyone,* * * *im getting this error when im installing a gem via command prompt * *can any one help me out? please* * * *thanks.* * * *C:\>gem i mysql2* *Temporarily enhancing PATH to include DevKit...* *Building native extensions. This could take a while...* *ERROR: Error installing mysql2:* * ERROR: Failed to build gem native extension.* * * * C:/Ruby192/bin/ruby.exe
2011 Mar 20
10
Unable to install mysql2 gem on windows 7
I am getting the following error message while installing, let me know if any one needs some more details. I followed instruction from "https://github.com/oneclick/rubyinstaller/wiki/Development-Kit". I am using ruby 1.9.2p136 (2010-12-25) [i386-mingw32]. E:\work_desk\trunk>gem install mysql2 -v 0.2.4 Temporarily enhancing PATH to include DevKit... Building native extensions. This
2011 Dec 08
3
Problem with running "WEbrick"
Hi After I installed ruby 1.9.2p290(with rubyInstaller) on windows 7 and connected MySQL to it ( I checked it and it worked ) I installed rails then I create a project on "C:\Users\Amiref\Documents\Sites\simple_cms" with this order : "rails new simple_cms -d mysql" then when I use "rails server" to run webrick I saw this error on command prompt : "rails.bat :
2011 Feb 07
9
Best way to populate development database
What would be the best way to populate a development database for a Rails 3 app? I have looked at faker, but it seems that development has stopped, any other options? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2011 Jun 15
1
uninitialized class variable @@env in OCI8
Can anyone help me with the uninitialized class variable @@env in OCI8 error raised in my app\views\xxxx index.html.erb file Thanks in advance Below is the code and the result of bundle show. I am using Windows 7 <h1>Listing comics</h1> <table> <tr> <th>Title</th> <th>Issue</th> <th>Publisher</th>
2010 Sep 23
3
Can't install mysql2 gem on Windows 7
I am new to Ruby and have tried and failed several times installing mysql2 gem on my windows 7 OS. I checked several forums for solutions but still couldn''t get that installed. can someone help my out please? below is the error: c:\>gem install mysql2 Building native extensions. This could take a while. ERROR: Error installing mysql2: ERROR: Failed to build gem native
2010 Dec 15
3
ORA-12514: TNS:listener d oes not currently know of service requested in connect descriptor (OCIEr
Hi I am a new to ROR and learning this framework from various tutorials. I have my new application and had the rails generate scaffold get going but after this when I first ran the rake db:migrate I got this ERROR! ORA-12514: TNS:listener d oes not currently know of service requested in connect descriptor (OCIError) I''m using database which is on a server and have used the tnsnames.ora