Displaying 20 results from an estimated 7000 matches similar to: "Rails 3 App generator - could not find source path"
2006 Oct 28
4
Mounting an app as ''/'' under Apache?
Hello everyone, I have a site with a collection of camping apps. I''m trying
to force one of them, blog.rb, to run as the index (''/'').
I think that I understand the RDoc as stating that I can execute the
following to make that happen:
Camping::FastCGI.serve File.expand_path(current), Blog
But, when doing so, I recieve the following error:
Camping
2009 Apr 22
1
Tests for my gem cannot find classes in gems lib directory ..
I am writing a gem and using RSpec to drive my development. However,
whenever I describe a class within the gems lib I get an uninitialized
constant error. I am placing my folder structure, spec.rake and first
spec below. I feel I must be missing something obvious.
Additionally, I did output the value of f in lib inclusion code and it
is traversing the lib folder correctly and I can
2007 Apr 09
7
RCov results seem to include the spec files
I saw the RCov page at http://rspec.rubyforge.org/tools/rcov.html and
decided to add it to my project. My rakefile looks like this:
require "rake"
require "spec/rake/spectask"
desc "Run all specs with RCov"
Spec::Rake::SpecTask.new("spec:rcov") do |t|
t.spec_files = FileList["spec/**/*_spec.rb"]
t.rcov = true
end
When I run rake spec:rcov,
2010 Oct 02
2
Unicorn doesn't reload the app after the HUP signal
Hi folks, I''ve experimented a problem while deploying my app, I''ve
sent the HUP signal to the master process, I''ve checked everything is
ok: new master and workers are spawned and the old ones are
killed(I''ve checked the PIDs), but the new code deployed isn''t
reflected in the living site, so I''ve to stop and start again unicorn
in order to see
2004 Feb 17
1
[patch] Make robust_rename() handle EXDEV.
All callers of robust_rename() call copy_file() if EXDEV is received. This
patch moves the copy_file() call into robust_rename().
Patch Summary:
-12 +1 backup.c
-15 +2 rsync.c
-9 +33 util.c
-------------- next part --------------
patchwork diff util.c
--- util.c 2004-02-17 09:58:44.000000000 -0500
+++ util.c 2004-02-17 10:21:22.000000000 -0500
@@ -355,16 +355,40 @@
2011 May 10
7
Webrick script/server file does not exist
Hello all,
I worked fairly enough with PHP and MySQL, but am very new to Ruby.
I have Windows machine with Apache and MySQL installed previously.
Both Apache and MySql were stopped while installing Ruby.
I tried several ways to install Ruby 1.8.7 and one-step installer.
I can use Ruby with netbeans 6.0.1 with its own Ruby or with the one I
installed now.
The problem starts when I try to create
2012 Jul 16
1
After moving from Ruby 1.8.7 to 1.9.3 - test/unit/error (LoadError)
People,
For my old library app I did with Rails 2.1.1, if I use Fedora 16/Ruby
1.8.6, everything is OK. If I copy the app to a Fedora 17/Ruby 1.9.3
setup and reinstall all the old Gems and run:
./script/server
I get:
/usr/share/rubygems/rubygems/custom_require.rb:55:in `require'': cannot
load such file -- test/unit/error (LoadError)
from
2006 Aug 10
4
1.1.5 Upgrade and config.load_path not working
Hey,
I am trying to upgrade to 1.1.5 and rails no longer finds my controllers the
live outside app/controllers. I was on 1.1.2 previously and here is my
setup
In environment.rb
config.load_paths += [File.join(File.expand_path(RAILS_ROOT),
"rails_shared/controllers") ]
config.load_paths += [File.join(File.expand_path(RAILS_ROOT),
"rails_shared/helpers") ]
2006 Aug 15
4
How to run autotest(Zentest)
Hi,
When I start the "autotest" it gives me the following error...not sure what
HOME path I have to set...all Ruby/Rails related components are in path!
---
C:\>autotest -rails
C:/Tools/InstantRails/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.3.0/lib/autotest.rb:285:in
`expand_path'': couldn''t find HOME environment -- expanding `~/.autotest''
(ArgumentError)
---
2006 Aug 10
5
Major security vulnerability in the latest Rails 1.1.5
Hi,
I think there is still a major vulnerability exists in the latest Rails 1.1.5.
The problem is in the routing.rb file and safe_load_paths method.
Because of the erroneous regexp it is possible to perform a DOS attack
on any rails application.
To reproduce:
1. start your application
2. use this url: http://localhost:3000/debug
Routing module will load standard debug.rb script which stops a
2008 Mar 17
10
RSpec and RCov with JRuby
Hi,
I am using JRuby (trunk) and wrote a bunch of specifications for my
code. Everything works fine so far.
Now I am trying to integrate RCov in my test run. I have installed
RCov without the C extensions. I tried it with a simple script and it
worked (pretty slow, but it doesn?t matter).
But when I add the rcov options to my Rake task, RCov is not invoke
properly!
Rakefile:
2003 May 23
1
PATCH: better handling for write failures (disk full)
[I sent this the other day, but it never got approved for the list]
I've been having problems trying to sync two small partitions (128MB)
that are usually near being full. The rsync would fail with this
cryptic error:
rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown": Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(515)
It ends up
2002 Jul 24
0
couple of minor fixes to rsync 2.5.5
Dear friends!
I really appriciate the great job you did on rsync package and hope for its
further improvement and development. It works great in our pretty complex
environment and helps us a lot in our daily duties.
But we've run into couple of small inconveniences.
First one:
We use rsyncd to propagate a tree of html files among several web-servers.
That files are generated on the fly and
2006 Sep 01
0
Add --no-tweak-hlinked, etc.
Dear rsync people,
Usually, if the receiving rsync finds a destination file that passes
the quick check with the source file but differs in attributes, the
receiving rsync will change the attributes. This is undesirable when
the destination is an incremental backup containing files hard-linked
from older backups.
Thus, I propose an option --no-tweak-hlinked to tell the receiving
rsync not to
2013 Aug 12
2
[Bug 10081] New: Multiple rsync instances conflict
https://bugzilla.samba.org/show_bug.cgi?id=10081
Summary: Multiple rsync instances conflict
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: xaionaro at gmail.com
2006 Jul 16
0
Patch for selecting MySQL socket in app_generator.rb
Was trying out Streamlined and it was complaining about not finding
/tmp/mysql.sock. Traced the problem to the rails command. In
app_generator.rb, it is trying to find alternate paths for the socket
only when the OS is Windows. A simple change from = to ! fixed it.
http://dev.rubyonrails.org/svn/rails/trunk/railties/lib/rails_generator/generators/applications/app/app_generator.rb
***
2009 Sep 15
1
Strange error no idea -fileutils.rbThumbs.db (Errno::EACCES)
I can not find a single post on this but trying to start mongrel_rails
after closing it down I get the strangest error I have ever seen.
Nothing on Google anywhere at all - please can somebody give some
expertise?
D:\2_Rails_WWW\rails_apps\footballstars>mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
2007 Mar 28
1
attachment_fu & update_attributes... bug?
It seems that attachment_fu is a pretty popular plugin (it''s great), but
I''ve been having a terrible time trying to figure out an issue when
using "update_attributes". I''m storing files on the file system rather
than in a database.
It seems that when "update_attributes" is called with a new file,
upload_data= tries to copy a file that
2010 Aug 30
0
rails new --builder
When invoking rails new with the --builder option, I see that you have
to call the class ::AppBuilder. How can you
change the source_root for just a few of the methods?
I want to generate the gemfile from my own template
AppBuilder < Rails::AppBuilder
def gemfile
template ''Gemfile''
end
end
How can I change the Gemfile template from the AppBuilder and if I
2023 Jun 05
0
[ANNOUNCE] xorgproto 2023.1
This release introduces a couple of new options for existing extensions:
* A new option PresentOptionAsyncMayTear for the Present extension,
* A new flag XFixesClientDisconnectFlagForceTerminate to the XFixes
XFixesClientDisconnectFlags intended to be used by screen lockers,
where the server must exit if the screen locker does.
The other changes include various fixes, clarifications