SapphireSteel Forum
Welcome, Guest. Please login or register.
May 24, 2013, 01:06:16 AM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Ruby In Steel and Amethyst IDEs
3884 Posts in 800 Topics by 669 Members
Latest Member: m
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Ruby In Steel
| | |-+  Project creation failed error
« previous next »
Pages: [1] Print
Author Topic: Project creation failed error  (Read 1829 times)
ChrisE
Newbie
*
Posts: 2


« on: October 26, 2009, 02:12:40 PM »

I downloaded and installed the trial version of Ruby In Steel Developer 2008 1.4 but whenever I try to create a Rails project I get an error:

Project creation failed
MakeRailsFiles failed: The filename, directory name, or volume label syntax is incorrect.  See Output (General) pane for more information.

The Output pane doesn't give me any additional information.  This happens after I click 'Proceed' in the 'Creation and Import Data' dialog.

I don't know if this has anything to do with the error but my project directory is D:\Design\Software\Projects\Rails.

Thanks.
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1005


« Reply #1 on: October 26, 2009, 04:07:30 PM »

I think it's a straight Rails generator error.

The command that is being run is:

rails --force --database=mysql D:\Design\Software\Projects\Rails

Try this from the command line and see if that produces some more information.

There is a minor bug in that the error isn't currently reported to the Output window (this is due to be fixed in 1.5)

Dermot


Logged
ChrisE
Newbie
*
Posts: 2


« Reply #2 on: October 26, 2009, 09:21:28 PM »

Thanks, Dermot.  It was a bug in my rails.bat file in "c:/program files/ruby/bin"

My rails.bat looked like this:
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"ruby.exe"" "C:/Program Files/Ruby/bin/rails" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
@"ruby.exe"" "%~dpn0" %*

I just removed the extra double quote after "ruby.exe".

Same problem here: http://www.ruby-forum.com/topic/151841
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!