similar to: Tutorial Steps Two & Three

Displaying 20 results from an estimated 1000 matches similar to: "Tutorial Steps Two & Three"

2005 Mar 22
9
am i the only one with this problem?
(clean install) >gem install rails Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Install required dependency activesupport? [Yn] y Install required dependency activerecord? [Yn] y Install required dependency actionpack? [Yn] y Install required dependency actionmailer? [Yn] y
2008 Jun 03
11
rake db:migrate not working
When I run the rake db:migrate command, I get this: C:\testror\depot>rake db:migrate --trace (in C:/testror/depot) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! 182: Le systÞme d''exploitation ne peut pas exÚcuter %1. - c:/ruby/ lib/ruby/gem
2009 Mar 05
0
ROR - Random [BUG] Segmentation faults
I''m new to ruby and webdev in general and am having a really hard time getting my first project kickin. I can install and get the initial server page up and running. I''ve updated the gems and installed the mysql one along with mongrel. But once I setup my controller and view, I begin getting the error below. It''ll occur after I load it 4 or 5 times. If I include
2008 Jan 17
6
Problems with sqlserver 2000 and ActiveRecord
Hi, I''m getting some trouble in connecting to a sql server 2000 database with ActiveRecord-2.0.1 and ruby 186-26, from win XP. Using the next conenction config: ActiveRecord::Base.establish_connection( :adapter => "sqlserver", :database => "nombre_bd", :username => "usu", :password => "contra" ) I have the next error:
2004 Oct 04
1
rsync uploading using ASCII translation ... ?
I am running rsync 2.6.3 on Cygwin 1.5.11-1 over ssh to a remote server (server is also running rsync 2.6.3). When I upload a file via rsync to a remote server, its filesize on the remote is much larger than the local copy, leading me to believe some sort of ASCII translation is being done. Some interesting things: 1. If I upload the file using scp instead of rsync, it works perfectly. 2. If
2009 Nov 16
0
mysql_adapter.rb:576: [BUG] Segmentation fault
Hello there, I am encountering segfaults with following: ruby 1.8.6 (2008-08-11) [i386-mswin32] on windows 7, rails 2.3.2, mysql (2.7.1) gem and MySQL 5.0.87-community-nt-log Tried with MySQL 5.1 and mysql gem 2.8.1 with no luck. Loga are showing: C:\Users\Alex\Documents\IT\ruote-web2>ruby script\server --port=3333 => Booting Mongrel => Rails 2.3.2 application starting on
2003 Mar 22
5
CYGWIN Rsync exclude/include problem
I'm having troubles with getting rsync 2.5.5 (CYGWIN version) to include/exclude files they way I expect it to. I have mulled over the list postings and man pages regarding this and I am either missing something or ... well I don' know. I have a drive with 12 folders in the root however, I only want to rsync 5 of them (the ones marked with an *) and in those 4 I want to exclude certain
2011 Jul 26
0
active record wants root password, not sure why ..
When I run a command program (rails 3/ruby 1.9.2) as this: class MsdsAttr < ActiveRecord::Base include MsdsAttrModule belongs_to :attribute_record, :polymorphic => true has_many :attribute_values, :foreign_key => ''attribute_id'' has_many :alt_values, :as => :alternative has_many :msds_ingredients end ActiveRecord::Base.establish_connection( :adapter =>
2012 Aug 31
1
after_fork - ActiveRecord::AdapterNotSpecified
Hi all, I''m fighting with the after_fork hook and my sinatra application. The Sinatra app is using active_record, In my unciron.rb file I''m using preload_app true after_fork do |server, worker| ? defined?(ActiveRecord::Base) and ??? ActiveRecord::Base.establish_connection End but I always get the error: ERROR -- : ActiveRecord::AdapterNotSpecified
2006 Aug 13
1
establish_connection method
I''m digging into rails source code. But I''ve got a problem in undestading actionrecord::base source code which is connection_specification.rb. In the body of establish_connection method, def self.establish_connection(spec = nil) case spec when nil raise AdapterNotSpecified unless defined? RAILS_ENV establish_connection(RAILS_ENV)
2004 Oct 26
1
Dreaded ERROR 5 In Robocopy
I'm still battling the dreaded "ERROR 5 (0x00000005)" error when trying to robocopy files from a W2K box to Samba 3.0.7 on FreeBSD. I've been fighting this since Samba 2.2.8 and the upgrade hasn't fixed it for me despite the entries in the changlelog. Now here's the strange part. If robocopy is sending NEW files, files which are on W2K but not on the Samba box, the copy
2004 Nov 04
4
Attempt to build a gemspec
Hi all, I''m trying to build a gemspec for win32-ipc, using a precompiled binary. Here''s my gemspec file: #win32-ipc.gemspec require "rubygems" spec = Gem::Specification.new do |s| s.name = "win32-ipc" s.version = "0.3.1" s.platform = Gem::Platform::WIN32 s.summary = "A base class for Win32 synchronization objects."
2006 Apr 20
1
Permission denied using mount.cifs
I'm having a strange problem mounting a share from a Windows 2003 server using cifs: mount.cifs //osirus.ficticious.org/inetpub /inetpub -ouser=transfer,pass=dkfhjdjskd It comes back immediately with: mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) However, the command below works. (abeit with about a 15 second wait before it comes back):
2004 Dec 28
0
The Infamous Robocopy Issues...Again
I've been tinkering with this for days now and I can't seem to figure out the problem. I know there were problems < 3.0.8 with robocopy and a few other programs, but even after upgrading, I'm still have a similiar issue with related errors. I'm running Samba 3.0.10 on FreeBSD pointed to an NT4 DC. I'm trying to copy files over to one of it's shares via robocopy from
2005 Dec 22
0
Getting AdapterNotSpecified on simple script/generate
So even after installing the sqlite3-ruby gem without issues, I still get this error when I try to generate a model... Attempting local installation of ''sqlite3-ruby'' Local gem file not found: sqlite3-ruby*.gem Attempting remote installation of ''sqlite3-ruby'' Select which gem to install for your platform (powerpc-darwin8.3.0) 1. sqlite3-ruby 1.1.0 (mswin32)
2006 Jan 14
1
(ActiveRecord::AdapterNotSpecified) Error
All, I am on Mac OS X 10.4, went through all the installation steps for mysql and ruby on rails. Now, I am getting this error when trying to start webrick or when trying to create the tables: /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/ connection_adapters/abstract/connection_specification.rb:73:in `establish_connection'': development database is not configured
2008 Nov 03
2
Unable to install sqlite3
I am new to Ruby. Try out a web application, but when I tried to access the page, it has the following error (see ERROR 1 below). So I thought I may have not installed "sqlite3" and tried downloading "sqlite_3-6-4.zip" and "sqlitedll_3-6-4.zip", unzipped it and place it in ruby''s bin directory. Then I run the command: gem install sqlite3-ruby But found
2008 Mar 16
0
ar_mailer problem
Hi, I am having the following problem with ar_mailer. FOr the time being i have manualyy created a record for the email to be sent, in the database in a table named ''emails''. Now if I run ar_sendmail i get the follwing error. C:\Inetpub\event>ar_sendmail Unhandled exception uninitialized constant ActionMailer::ARMailer(NameError):
2013 May 27
1
Platform variations with --exclude-from
On Linux, an rsync command and exclude_file contents of: # cat exclude_file /etc/alsa # rsync -a --delete --delete-excluded --exclude-from=exclude_file /etc server::module properly excludes /etc/alsa but not any file within /etc's directories that is named alsa. On Windows I don't seem to be able to reliably emulate this: C:\Scripts\Backup\rsyncd>type rsyncd_exclude
2003 Jan 18
1
IIS, ASP, and File Change Notification
I'm running IIS5 on windows 2000 with the root web directory mapped to a samba directory. Everything works great except for IIS's asp caching. Unless I explicitly disable asp script file caching, IIS refuses to invalidate cached asp files without a reboot. Research, including the following MS kb entry, indicates that the problem is that IIS is not getting the file change