similar to: Railties and unit tests...

Displaying 20 results from an estimated 10000 matches similar to: "Railties and unit tests..."

2008 Jun 19
1
How to run unit tests for Rails
hi, I downloaded rails as well as unit tests from: http://svn.rubyonrails.org/rails/branches/1-2-stable/ bash-2.03$ cd rails-1.2.6/railties/ bash-2.03$ rake regular_test (in /u/liangl/ruby/JRUBY103/unit_test/rails-1.2.6/railties) /u/liangl/ruby/JRUBY103/bin/jruby -w -Ilib:test "/u/liangl/ruby/ JRUBY103/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/ rake_test_loader.rb"
2012 May 29
1
Rails s - startup issue (new Rails on ubuntu installation
Hi, I''ve got at server with Rails 3.2.3 and Ruby 1.9.3p125. I''m trying to start the Rails web server with rails s But I get the following error /var/lib/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:77:in `rescue in rescue in block in require'': undefined method `gsub'' for nil:NilClass (NoMethodError) from
2013 Nov 20
0
Railties-4.0.1 - what happened to rake tmp:clear
MRI-2.0.0p247 Railties-4.0.1 We have a standalone Rails-3.2.15 based application that we are upgrading to 4.0.1. It uses only the following components of Rails-4.0.1: * actionmailer (4.0.1) * actionpack (4.0.1) * activemodel (4.0.1) * activerecord (4.0.1) * activesupport (4.0.1) * arel (4.0.1) * railties (4.0.1) Bundler has a path setting which is: path Set for your local app
2008 May 29
0
NoMethodError: undefined method `configuration' for #<String inside railties?
I''m in the middle of upgrading an application to rails 2.0.2 from 1.2.5 and on startup I see this message printed out: #<NoMethodError: undefined method `configuration'' for #<String: 0x1145040>> After some hacking I''ve figured out it emanates from plugin.rb in railties (railties/lib/rails/plugin.rb) in the following block: def evaluate_init_rb(initializer)
2010 Jul 10
0
`method_missing': undefined method `i18n' for #<Rails::Railtie::Configuration:0x000001010fce98>
I have recently upgraqded to Ruby 1.9.2-rc1 and reinstalled rails 3 beta 4 with all the dependencies. I have run bundle install in my rails project. Now I am trying to run some tests... My test_helper.rb file looks like this: # test_helper.rb require ''rubygems'' require ''test/unit'' require ''rails/all'' $ gem list i18n (0.4.1, 0.3.7)
2004 Apr 29
0
Printing problem! CUPS, XP-pro
Hi, I'we tried posting this before without any luck! I share a printer and some shares on my samba 3.0.2a-debian server. No fancy domain-logon, just plain workgroup connect (smb.conf below). The problem is, sometimes when i choose to print from my XP-pro machine, the printer don't react... The shares work fine, and i read/write from them, but i can't print. Neither cups, samba or
2010 Sep 24
2
Rails 3: Engines or/and Railties. How to use them?
Howdy all, I have spent a couple of days trying to figure out how to put different pieces of our (quite large) app into components. The idea was to use Rails 3 Engines/Railties and place them in /lib. Each would have its own [app/views, app/helpers, app/models and app/ controllers] We also needed an ability for those components to override views/ helpers/controllers in the parent
2004 Apr 26
1
Printing problem, only XP-PRO
Hi, I share a printer and some shares on my samba 3.0.2a-debian server. No fancy domain-logon, just plain workgroup connect (smb.conf below). The problem is, sometimes when i choose to print from my XP-pro machine, the printer don't react... The shares work fine, and i read/write from them, but i can't print. Neither cups, samba or syslog throws any error in the log, and the printjob
2011 Aug 11
0
JRuby + Rails3 + Unit Tests = "Log" issue?
Hey all, I am working on a Rails 3.0.7 application that is using JRuby 1.6.3, running on Debian. I keep encountering an error regarding a missing "Log" file when I am trying to run some Unit tests (among various other activities). The cryptic error in question: LoadError: No such file to load -- Log Has anyone seen anything like this before? I am baffled as to where to even begin to
2004 Mar 26
2
Resolving computername from ip
Hi, Is there, on a intranet, any way to resolve the computername from its ip ? I have a setup where I know which users are on which ip, and I wan't to notify some events to some users with a "smbclient -M". But since I don't know the computername, I don't know any way to send the popups... thanks /torben t
2007 Oct 25
1
Problem with Oracle
Hi, Normally I''m using Rails with mySql but for the moment I''m trying to make a Rails/Oracle solution using oci and instantclient, but I''m having a problem I receive the following when doing a select Exception string : undefined method `empty?'' for 1:Fixnum does anybody know a solution to this. kr Torben
2011 Jun 22
0
Railtie initializer and generators
I am creating a gem for a Rails project and I got some troubles to understand how generators and initializers work. I would like to initialize my module loading some stuff from the database from models related to tables my gem should create with a migration file. Problem is : if I create a Railtie and put it my gem lib directory, when I try to run my generator (to create the migration template
2003 Jul 14
1
wanting to pkg_add KDE/Gnome post-install
After installing a text-based development environment via /stand/sysinstall (followed by CVSup, makeworld/kernel etc to 4-8-stable), I realize I want to install KDE, too. I initiated this with: pkg_add -r kdebase followed again by CVSup etc. Apparently that wasn't enough. Am getting message "XFree86 setup utility.. not installed" when trying to config xf86config (text-based) via
2004 Feb 25
1
calculating uidnumber
Hi, I'm building my system on a LDAP backend, but I wan't to have full control over the user creation-process. I have developed a backend in php, to handle most of my needs. Except for calculating the uidnumber, from where i calculate sambaSID... My question is, can I call a function somewhere that returns the next uidnumber/gidnumber? or do I have to look at idmap? Thanks Torben
2012 Oct 12
1
missing gcc-42-5666.3-darwin11.pkg
Hi there, I just wanted to install gfortran via homebrew on mac os x mountain lion. It uses the package gcc-42-5666.3-darwin11.pkg for installation. Unfortunately I recognized that this package is not available anymore. But the google cache told me that it was available at http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg some time ago (the site was cached at Sep 30th). Does anybody
2004 Feb 17
2
ldap, quickie...
Hi, I'm a bit confused over the whole "dn" concept .... various documentation states that I should create new samba-entries with dn: uid=user,ou=<user-org>,dc=<domain> and other states that i should do it with dn: cn=user,ou=<user-org>,dc=<domain> Right now i have a few entries, created both ways... and since i'm not quite home in ldap, I haven't
2006 Apr 16
7
Problem running unit tests
I am running Rails 1.1.2 with Ruby 1.82-15. My database is Postgresql. I haven''t had any problems generating models, migrations, using scaffolds, and generally building and using my application, but I haven''t been able to get testing to work. I initially just ignored the problem and kept developing, but would like to add proper testing from here on out. Currently when I type
2006 Apr 21
3
Bug: maidirsize double counting moved messages
The maildirsize file is double counting messages when moving them from folder to folder when "maildir_copy_with_hardlinks = no": 1024000000000S 99337571 19370 14010590 2 <--- moved from subfolder to subfolder -7005295 -1 14010590 2 <--- moved from subfolder to INBOX -7005295 -1 14010590 2 <--- moved from INBOX to subfolder -7005295 -1 14010590 2 <---
2016 Aug 01
0
Announce: OpenSSH 7.3 released
OpenSSH 7.3 has just been released. It will be available from the mirrors listed at http://www.openssh.com/ shortly. OpenSSH is a 100% complete SSH protocol 2.0 implementation and includes sftp client and server support. OpenSSH also includes transitional support for the legacy SSH 1.3 and 1.5 protocols that may be enabled at compile-time. Once again, we would like to thank the OpenSSH community
2004 Feb 18
1
calculating passwords, and what to do with sambaLMPassword
Hi, I'm trying to calculate the passwords so i can change them from a php-gui, an as i see it, userPassword can have any form if the cryptation algorithm is stated before the hash, like "{md5}blahblah32bit". In the docs, it states that sambaNTPassword is a md4 hash, wich should be calculatable (haven't done it yet though). And last for the sambaLMPassword: I can't find