# "Invalid argument - \*" when creating a new rails project

**URL:** <https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530>\
**Category:** Rails\
**Created:** [November 17, 2005, 11:28pm UTC](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530 "2005-11-17T23:28:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![icosahedron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/c77e96/32.png) [@icosahedron](https://www.ruby-forum.com/u/icosahedron)\
**Post date:** [November 17, 2005, 11:28pm UTC](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530/1 "2005-11-17T23:28:44Z")

</div>

I was having problems creating new projects, so I uninstalled ruby and  
rebooted. I then reinstalled ruby with gems from the Ruby-1.8.2-15  
installer and then tried to create a new rails project with “rails  
depot”.

Now I get:

[c:\dev\ruby\rails]rails depot  
create  
Invalid argument - \*

all the time no matter what directory I’m in.

Any ideas? I’m lost.

---

<div class="post-metadata">

**Author:** ![icosahedron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/c77e96/32.png) [@icosahedron](https://www.ruby-forum.com/u/icosahedron)\
**Post date:** [November 18, 2005, 12:09am UTC](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530/2 "2005-11-18T00:09:44Z")

</div>

rails depot

Not sure if you need the create…

Michael

Jay K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
I was having problems creating new projects, so I uninstalled ruby and  
rebooted. I then reinstalled ruby with gems from the Ruby-1.8.2-15  
installer and then tried to create a new rails project with “rails  
depot”.

Now I get:

[c:\dev\ruby\rails]rails depot  
create  
Invalid argument - \*

all the time no matter what directory I’m in.

Any ideas? I’m lost.

–  
Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![icosahedron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/c77e96/32.png) [@icosahedron](https://www.ruby-forum.com/u/icosahedron)\
**Post date:** [November 18, 2005, 12:09am UTC](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530/3 "2005-11-18T00:09:44Z")

</div>

sorry…I misread your post…obviously this is what you are doing! ☹

Michael

Michael [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
rails depot

Not sure if you need the create…

Michael

Jay K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
I was having problems creating new projects, so I uninstalled ruby and  
rebooted. I then reinstalled ruby with gems from the Ruby-1.8.2-15  
installer and then tried to create a new rails project with “rails  
depot”.

Now I get:

[c:\dev\ruby\rails]rails depot  
create  
Invalid argument - \*

all the time no matter what directory I’m in.

Any ideas? I’m lost.

–  
Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

* * *

Rails mailing list  
removed\_email\_address@domain.invalid  
[http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

* * *

Yahoo! FareChase - Search multiple travel sites in one click.

* * *

Rails mailing list  
removed\_email\_address@domain.invalid  
[http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

---

<div class="post-metadata">

**Author:** ![icosahedron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/c77e96/32.png) [@icosahedron](https://www.ruby-forum.com/u/icosahedron)\
**Post date:** [November 18, 2005, 12:57am UTC](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530/4 "2005-11-18T00:57:22Z")

</div>

icosahedron wrote:

> I was having problems creating new projects, so I uninstalled ruby and  
> rebooted. I then reinstalled ruby with gems from the Ruby-1.8.2-15  
> installer and then tried to create a new rails project with “rails  
> depot”.
> 
> Now I get:
> 
> [c:\dev\ruby\rails]rails depot  
> create  
> Invalid argument - \*
> 
> all the time no matter what directory I’m in.
> 
> Any ideas? I’m lost.

It turns out it was 4NT. If I run "rails " from the normal  
cmd.exe, it works fine. Go figure. Too bad, as I really like 4NT.

---

<div class="post-metadata">

**Author:** ![icosahedron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/c77e96/32.png) [@icosahedron](https://www.ruby-forum.com/u/icosahedron)\
**Post date:** [November 18, 2005, 8:40pm UTC](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530/5 "2005-11-18T20:40:53Z")

</div>

hgs wrote:

> On Fri, 18 Nov 2005, Jay K. wrote:
> 
> > > all the time no matter what directory I’m in.
> > > 
> > > Any ideas? I’m lost.
> > 
> > It turns out it was 4NT. If I run "rails " from the normal  
> > cmd.exe, it works fine. Go figure. Too bad, as I really like 4NT.
> 
> Wild guess: On unix :-
> 
> /usr/local/bin/rails: executable /usr/local/bin/ruby script
> 
> Maybe 4NT is trying to execute rails “directly” rather than  
> passing it to ruby? I don’t kow anything about 4NT.
> 
> ```
> Hugh
> 
> ```

4NT is a cmd.exe replacement that includes a number of niceties. If you  
develop on NT, you should check it out, but as a replacement, there are  
some inherent incompatibilities. I use it so much I forget sometimes  
it’s not the default.

Thanks.

---

<div class="post-metadata">

**Author:** ![icosahedron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/c77e96/32.png) [@icosahedron](https://www.ruby-forum.com/u/icosahedron)\
**Post date:** [November 21, 2005, 1:33am UTC](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530/6 "2005-11-21T01:33:11Z")

</div>

don’t you need to install rails

gem install rails

---

<div class="post-metadata">

**Author:** ![icosahedron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/c77e96/32.png) [@icosahedron](https://www.ruby-forum.com/u/icosahedron)\
**Post date:** [November 18, 2005, 11:43am UTC](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530/7 "2005-11-18T11:43:40Z")

</div>

On Fri, 18 Nov 2005, Jay K. wrote:

> > all the time no matter what directory I’m in.
> > 
> > Any ideas? I’m lost.
> 
> It turns out it was 4NT. If I run "rails " from the normal  
> cmd.exe, it works fine. Go figure. Too bad, as I really like 4NT.

Wild guess: On unix :-

/usr/local/bin/rails: executable /usr/local/bin/ruby script

Maybe 4NT is trying to execute rails “directly” rather than  
passing it to ruby? I don’t kow anything about 4NT.

```
    Hugh
```
