Re: Question about fresh GEM install

Jarkko Laine
2005-01-05T21:37:02Z

On 5.1.2005, at 23:29, Trevor wrote:

> Hello,
>
> I have a fresh install of RubyGems (0.8.4) and installed Rails via the
> Gems install (0.9.3) answering yes to all the dependencies.  Trying to
> set it up for the first time:
>
> machine > rails /home/mydir/Todo
> (in /opt/local/lib/ruby/gems/1.8/gems/rails-0.9.3)
> rake aborted!
> No such file to load -- rake/gempackagetask
> ./Rakefile:4
>
> Does anybody have any ideas how I could fix this?

Try ''cd /home/mydir; rails todo;''

>
> ---
>
> Second question:
>
> Also, I noticed in /opt/local/lib/ruby/gems/1.8/gems/rails-0.9.3 there
> is no "script" directory, so I can''t try "ruby
script/server" as
> suggested in the README.  I can do:
>
> machine > ruby bin/server
> bin/server:45:in `require'': No such file to load --
> bin/../config/environment (LoadError)
> from bin/server:45
>
> Is this just an error in README?

No, it''s not. The script folder will be in your rails app folder, which
get generated when you run the rails command above successfully.

HTH,
Jarkko

>
> Thanks for any help,
> Trevor
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Jarkko Laine
http://jlaine.net
http://odesign.fi


_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org