Displaying 20 results from an estimated 1000 matches similar to: "Having trouble testing :( "superclass mismatch" and can't load "test_helper""
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error :
/Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e
$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test
Testing started at 12:00 PM ...
(in /Users/nikosd/Work/.../.../...)
2010 Jul 22
9
Something went wrong.
My app works fine in development on my laptop but in production on my
server I get "We''re sorry, but something went wrong. We''ve been notified
about this issue and we''ll take a look at it shortly."
I am using Rails 3, Ruby 1.8.7, Apache and passenger 2.2.15
I get the welcome aboard page in production if I just go to the domain
name but as soon as I want data
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
2012 Jun 26
0
no such file load errors - md5
Dear All ,
I have a problem with : this error messasge " No Such File Load error -
md5 "
I can only use with development section.(rails s)
I can''t use with production . ( rails s -e production). I use this
command, the error message is like this
Exiting
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:317:in
`rescue in
2011 Feb 05
1
ActionMailer::Base.default_url_options
Hi,
I want so set a default url for ActionMailer. I know,
ActionMailer::Base.default_url_options is deprecated, so I use
config.action_mailer.default_url_options = {
:host => "localhost"
}
in my environments (test.rb, production.rb, ...). The problem is, I get a
deprecation error and rails won''t start. I have no solution...
Any hints for me?
Testing started at
2011 Dec 07
1
Errors when running the local server
Hi all,
I''m running an application on my localhost, but the command "rails server"
behaves very inconsistently. About an hour ago it ran well on another app,
but got errors now.
According to the errors it seemed that the server began to run but the
there is something missing in the library. But I''m very new to Rails so
cannot figure out what do these lines mean:
2013 Apr 09
2
Getting Started
So far I''m disappointed with what I see as red flags. I follow along what
seems like foolproof instructions. I install everything, rails new
/some/new/app cd to the directory and rails server and my worst fears
cryptic useless stack trace...so I copy the top line, search for stuff on
this sqllite3 adaptor to fix it, I type the gem install command it mentions
(gem install
2013 Apr 13
2
running rails on my linux mint
Hi
i cannot start my rails server webrick and i m just start learning rails ..
the error i get is:
> /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11:
warning: Insecure world writable dir /sbin in PATH, mode 040777
/var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning:
Insecure world writable dir /sbin in PATH, mode 040777
=> Booting WEBrick
2011 May 27
3
unable to start server
When i start the server "rails s",following error message appears:
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:167:in
`default_controller_and_action'': missing :controller
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
HI All,
I have installed the Active Admin successfully, but facing the following
error while restarting the server after generating an resource.
*rails generate active_admin:resource item*
/home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top
(required)>'': uninitialized constant Item (NameError)
from
2011 Nov 18
5
Puppet on windows: File resource problem
Anybody knows what this error, bellow, means, the target file,
C:/Splunk/etc/system/local/inputs.conf, does exist.
sometimes, if I delete the file, it does actually create it, but never
update it if it exists and changed...
The resource is defined as:
file { "splunk_inputs": owner => SYSTEM, group
=> SYSTEM, mode => 664, require =>
2012 Feb 29
4
Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
I just installed the latest rc 1.7 to solve another issue I had. It
solved the issue, but I''m getting a different issue.
I''m running it interactively from an administrator command prompt. It
connects to the master puppet server, processes the configuration
items then gives an error. The interesting thing is that it never
returns to the command prompt. It just hangs. I have
2011 Jan 22
1
uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
I am a new to ruby and rails and am trying to refactor some code with
rspec and have run into a problem that has stumped me for a few days and
I have searched google and ruby/rails forums to no avail so I really
hope somebody can help me out with this problem which I think may be
caused by a rails config problem. Anyway, I used ''rails new myapp'' to
make a new rails project and
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows ..
So from irb, I can load hpricot ok. (ruby 1.8.7)
C:\Users\Laurence\rails-play\plug-test>irb
irb(main):001:0> require ''hpricot''
LoadError: no such file to load -- hpricot
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require
2010 Jun 13
5
script/server vs mongrel_rails start issue
I am having different results between when I start mongrel with script/
server and with mongrel_rails start.
When I run script/server to boot mongrel everything runs fine, no
errors.
When I run mongrel_rails start I get the following errors - verified
the problem on a fresh app and on two different environments (mac and
yes, windows server 2008). The actual line of fault changes but the
problem
2010 Oct 30
12
Anyone successfully ran JRuby 1.5.3, Rails 3, Tomcat6
Hi,
I''ve been trying to get JRuby 1.5.3 with Rails 3 to run on the Tomcat6
server with little success.
Has anyone been able to do this? If so, what issues did you have to
overcome to get this to work?
Also, is this a combination that you would recommend for a production
site, or is it all too new and untested?
The latest issue I''m stuck on right now is with the mysql-connector-
2012 Oct 17
2
autolog: set_trace_func without all the typing
If it helps anyone developing Rails, apps, or gems, I wrote a shortcut for
set_trace_func, so next time you want to just add a line before and after
some function you are trying to debug you can have Ruby temporarily output
every line, method, etc. executed. Also, it lets you define the format, use
other loggers, etc. via a proc/lambda define, since you might not like the
default format.
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening?
C:\Users\Family\workspace\myapp>rake test
(in C:/Users/Family/workspace/myapp)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
Errors
2009 Jun 25
8
Mongrel service keeps re-starting ruby
On Thu, Jun 25, 2009 at 2:07 AM, Michael Pliskin<mike at comapping.com> wrote:
> Hi all,
>
>
>
> Some disclaimer first: I am a complete newbie in mongrel and this list, so
> please forgive me if I say something weird. I have a problem, I?ve googled
> for a solution for quite a while and failed so far, so decided to ask here.
>
>
>
> I am trying to set up my
2011 Aug 31
2
Rails 3 - Require - Path Not Found
I have:
Windows XP Professional SP3
Ruby 1.8.7
Rails 3.0.10
Bundler 1.0.15
ImageMagick 6.5.6 Q8
Rmagick 2.12.9
My gemfile:
gem ''rmagick-2.12.0-x86-mswin32'', ''2.12.0'', :path => ''c:/sites/
uplodify/vendor''
My controller:
require ''RMagick''
Here I have installed my rmagick gem: