Displaying 20 results from an estimated 400 matches similar to: "How do you run a rail app from a subdirectory?"
2002 Sep 25
1
Win95 .bat Issue
For some reason I'm getting Access denied errors when I try to execute a
.bat file that resides on a TRU64 samba share, from a Win95 command prompt.
The drive is mapped as x:\ & for the sake of testing, the directory has been
recursively set to 777 (chmod).
Command prompt output:
x:\> x:\r235\src\ntprpst\sharc\mta\src\build_sharc_fta.bat
Access denied -
2002 Oct 10
1
Win95 Issue
For some reason I'm getting Access denied errors when I try to execute a
.bat file that resides on a samba share (from a Win95 command prompt). The
drive is mapped as x:\ & for the sake of testing, the directory has been
recursively set to 777 (chmod).
Command prompt output:
x:\> x:\r235\src\ntprpst\sharc\mta\src\build_sharc_fta.bat
Access denied -
2010 Jun 15
0
[LLVMdev] Question on X86 backend
Thanks Cristoph, I have that code in my backend, but unless I do the following, the registers are never considered 'live' into the call.
/ Handle a function call
let isCall = 1,
Defs = [
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15,
R16, R17, R18, R19, R20, R21, R22, R23, R24, R25, R26, R27, R28, R29, R30, R31,
R32, R33, R34, R35, R36, R37, R38, R39, R40, R41,
2010 Jun 15
2
[LLVMdev] Question on X86 backend
Hi Micah,
> In X86InstrInfo.td for Call Instructions, it mentions that Uses for
> argument registers are added manually. Can someone point me to the
> location where they are added as the comment doesn't reference a
> where or how?
the register uses are added by the function
X86TargetLowering::LowerCall() during the DAG Lowering phase. This is
the relevant code segment:
// Add
2015 Dec 15
2
Debugging INVALID_OPCODE / MULTIPLE_WARP_ERRORS ?
Hi all,
As part of my compute work I'm trying to get some TGSI compute
code to work. The code from mesa/src/gallium/tests/trivial.c
works.
So now I'm trying to get a "native" tgsi kernel to run via
clover, I'm using Francisco's nbody.c example for this:
https://fedorapeople.org/~jwrdegoede/nbody.c
Which does not work, at first I thought there was an issue
with the
2015 Dec 15
2
Debugging INVALID_OPCODE / MULTIPLE_WARP_ERRORS ?
Also, where's the exit op? Perhaps what's happening is that you don't
have an exit and it just goes off executing into the ether?
On Tue, Dec 15, 2015 at 12:00 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> A few things that stand out:
>
> 0: ld u32 %r219 c0[0x0000000000000000+0x0] (0)
>
> wtf is that 0x0000000000000 thing doing there? Was it a %rX which got
2006 Jun 15
2
Running a rails app from a directory instead of a sub domain.
Hey guys,
I''d like to be able to run a rails app from a directory instead of a
sub-domain (in Apache). I haven''t been able to find any resources on
the web describing how to do this.
I was wondering if anybody has any experiences doing this, or can at
least point me towards some resources that could tell me how this is
done.
Thanks,
Mike
--
http://ablegray.com
2015 Dec 16
4
Debugging INVALID_OPCODE / MULTIPLE_WARP_ERRORS ?
I believe that your problem is this:
/*01a0*/ LD R8, [R8];
/* 0x8000000000821c85 */
That needs to be LD.E (and your ST's need to be ST.E). You're using a
32-bit gmem address, but you need to be using a 64-bit one. I believe
the 32-bit ones work on fermi, but afaik not on Kepler.
Cheers,
-ilia
On Wed, Dec 16, 2015 at 12:06 PM, Hans de Goede
2006 Jul 10
7
Rails app in a subdirectory via Mongrel
I''m trying to make Mongrel the default web server for Typo, but I''m running
into a problem. Is there an easy way to run a Rails app in a subdirectory (
http://foo/blog instead of http://foo/) with Mongrel? For most apps, I''d
just change routes.rb to include the prefix that I wanted, but that won''t
really work with Typo--I''d rather not require a few
2015 Dec 15
0
Debugging INVALID_OPCODE / MULTIPLE_WARP_ERRORS ?
A few things that stand out:
0: ld u32 %r219 c0[0x0000000000000000+0x0] (0)
wtf is that 0x0000000000000 thing doing there? Was it a %rX which got
constant-folded into 0? That indirectness should have then been
removed... that said, the final encoding looks fine.
I believe that kepler has this launch descriptor thing too... is that
being set correctly? Please generate a mmt trace, and we can
2015 Dec 16
0
Debugging INVALID_OPCODE / MULTIPLE_WARP_ERRORS ?
Hi,
On 15-12-15 20:04, Ilia Mirkin wrote:
> Also, where's the exit op? Perhaps what's happening is that you don't
> have an exit and it just goes off executing into the ether?
Sorry I only included a small bit of the program in my original mail
because I found the use of "MOV" instructions to load constants
suspicious, is that normal ?
I've put a log with
2015 Dec 16
0
Debugging INVALID_OPCODE / MULTIPLE_WARP_ERRORS ?
BTW, you may be interested in
https://github.com/imirkin/mesa/commits/atomic3 which has working
ARB_shader_atomic_counters and ARB_shader_storage_buffer_object
support (while ripping out things like TGSI_FILE_RESOURCE). Still
working on proper memory qualifier support, and obviously need to do
some cleanup before upstreaming. Should be getting into a pushable
state probably early January.
Cheers,
2015 Dec 18
0
Debugging INVALID_OPCODE / MULTIPLE_WARP_ERRORS ?
Hi,
On 16-12-15 18:24, Ilia Mirkin wrote:
> I believe that your problem is this:
>
> /*01a0*/ LD R8, [R8];
> /* 0x8000000000821c85 */
>
> That needs to be LD.E (and your ST's need to be ST.E). You're using a
> 32-bit gmem address, but you need to be using a 64-bit one. I believe
> the 32-bit ones work on fermi, but afaik not
2006 May 11
5
Problem running application in cpanel
Hi,
I installed rails following the instruccions from
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
but when i try see the application i have a 500 Internal Server Error, this
is only with apache because i can run with webrick
Please i am desesperate
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jan 25
1
Routes working with subdirectories repeat subdirectory...
Hi all.
Views associated with admin controllers must always specify both :controller
and :action when using link_to.
Example:
<%= link_to ''Edit'', { :controller => ''/raid_manager'', :action =>
''edit_raid_template'', :id => raid_template.id } %>
The above is being called from within the Admin::RaidManagerController. The
2007 Jun 22
0
Mongrel_cluster and rails app in a subdirectory
Info:
Apache 2.2
mongrel 1.0.1
mongrel_cluster 0.2.1
I''ve had everything working with a bunch of applications like this
when the the rails app is the document root, but a client just asked
to move the app to a subdirectory, leaving he rest of their site
alone. However, I can''t seem to get it to work. Let''s make the
assumption that the Apache document root for the
2006 Mar 29
0
placing specific views within a subdirectory?
Can anyone show me how to go about placing specific views within a directory?
ie:
controllers/hello.rb
views/hello/english/world.rhtml
views/hello/english/people.rhtml
views/hello/spanish/mundo.rhtml
views/hello/spanish/gente.rhtml
instead of the usual:
controllers/hello.rb
views/hello/world.rhtml
views/hello/mundo.rhtml
hello.rb currently contains the basic methods:
class ChartsController
2005 Dec 14
0
relative subdirectory of partials
if im in the views dir for the railtstest controller and
render a partial like so: render(:partial=>''container/
thepartial'') then
it will only work if that partial is in views/container/thepartial
not if its in
views/railstest/container/thepartial as I expected.
but what i want is to have a dir called container inside of railstest
and be
able to render a partial
2005 Mar 09
0
Setup Help - Apache/FastCGI/subdirectory
OK, I am stumbling forward bit by bit, learning as I go. The details:
- Running under Apache on Mac OS X Server (10.3.5)
- Obtained and installed FastCGI via instructions at rubyonrails.com
(installation appears to be OK)
- My app is called Voters and it lives in /Voters/
Where I am stuck is that I have found several sets of instructions for
setting up a Rails app as I intend, using some
2009 Feb 26
0
Using form_for and has_many associations with a controller in its own subdirectory
Hi,
I''m trying to create a Blog in it''s own subdirectory for an E-commerce
site. Everything is hooked up just fine for the basic posting, but
when I try to add Comments, I''m getting all sorts of headaches! I''m
referring to the screencast by Ryan Bates on the rubyonrails.org site.
Basically, my controller is Blog::Comments, in my Blog::Post comment
form I have