Good evening everyone,
I went to change the Rails version of my project, and saw that many things have
stopped working.
As the "rake routes", which is giving the following error:
rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes
rake aborted!
no such file to load - tasks / rails
(See full trace by running task with - trace)
What do you think you can be?
thanks
--
* Atenciosamente*
___________________________
Rodrigo Martins
www.rrmartins.com
tel: (28) 9882-6202
(27) 9601-9573
My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j>
[image:
Twitter] <http://www.twitter.com/rr_martins>
Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image:
Skype/]rr_martinsj [image:
MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Install rails upgrade plugin, it will convert your old routes, environment and other config files to new Rails 3 format. Read the instructions on plugin''s homepage for more info. https://github.com/rails/rails_upgrade Chirag http://sumeruonrails.com On Wed, Jul 27, 2011 at 7:00 AM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:> Good evening everyone, > > I went to change the Rails version of my project, and saw that many things have > stopped working. > > As the "rake routes", which is giving the following error: > rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes > rake aborted! > no such file to load - tasks / rails > > (See full trace by running task with - trace) > > > What do you think you can be? > > thanks > > > -- > * Atenciosamente* > ___________________________ > Rodrigo Martins > www.rrmartins.com > > tel: (28) 9882-6202 > (27) 9601-9573 > > > My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j> [image: > Twitter] <http://www.twitter.com/rr_martins> > Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj [image: > MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
good day
When I try to install a plugin error, and when I try to install as root also
of a system error.
running down this without being root:
*rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby script/plugin install
git://github.com/rails/rails_upgrade.git
<internal:lib/rubygems/custom_require>:29:in `require'': no such
file to load
-- script/../config/boot (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require''
from script/plugin:2:in `<main>''
*and below this running as root:
rodrigo@rrmartins:~/Documentos$ sudo ruby script/plugin install git://
github.com/rails/rails_upgrade.git
[sudo] password for rodrigo:
ruby: No such file or directory -- script/plugin (LoadError)
--
* Atenciosamente*
___________________________
Rodrigo Martins
www.rrmartins.com
tel: (28) 9882-6202
(27) 9601-9573
My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j>
[image:
Twitter] <http://www.twitter.com/rr_martins>
Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image:
Skype/]rr_martinsj [image:
MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
On Wed, Jul 27, 2011 at 2:58 AM, Chirag Singhal
<chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:
> Install rails upgrade plugin, it will convert your old routes, environment
> and other config files to new Rails 3 format.
> Read the instructions on plugin''s homepage for more info.
>
> https://github.com/rails/rails_upgrade
>
>
> Chirag
> http://sumeruonrails.com
>
>
>
> On Wed, Jul 27, 2011 at 7:00 AM, Rodrigo Martins
<rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:
>
>> Good evening everyone,
>>
>> I went to change the Rails version of my project, and saw that many
>> things have stopped working.
>>
>> As the "rake routes", which is giving the following error:
>> rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes
>> rake aborted!
>> no such file to load - tasks / rails
>>
>> (See full trace by running task with - trace)
>>
>>
>> What do you think you can be?
>>
>> thanks
>>
>>
>> --
>> * Atenciosamente*
>> ___________________________
>> Rodrigo Martins
>> www.rrmartins.com
>>
>> tel: (28) 9882-6202
>> (27) 9601-9573
>>
>>
>> My profiles: [image: Facebook]
<http://pt-br.facebook.com/rr.martins.j> [image:
>> Twitter] <http://www.twitter.com/rr_martins>
>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj
[image:
>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>
>>
>> --
>> You received this message because you are subscribed to the Google
Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To unsubscribe from this group, send email to
>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
If you have already upgraded your application to Rails 3, then you have to use the new syntax to install the plugin: rails plugin install git://github.com/rails/rails_upgrade.git or ruby script/rails plugin install git://github.com/rails/rails_upgrade.git Chirag http://sumeruonrails.com On Wed, Jul 27, 2011 at 5:19 PM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:> good day > > When I try to install a plugin error, and when I try to install as root > also of a system error. > > running down this without being root: > > *rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby script/plugin install > git://github.com/rails/rails_upgrade.git > <internal:lib/rubygems/custom_require>:29:in `require'': no such file to > load -- script/../config/boot (LoadError) > from <internal:lib/rubygems/custom_require>:29:in `require'' > from script/plugin:2:in `<main>'' > > *and below this running as root: > > rodrigo@rrmartins:~/Documentos$ sudo ruby script/plugin install git:// > github.com/rails/rails_upgrade.git > [sudo] password for rodrigo: > ruby: No such file or directory -- script/plugin (LoadError) > > > > -- > * Atenciosamente* > ___________________________ > Rodrigo Martins > www.rrmartins.com > > tel: (28) 9882-6202 > (27) 9601-9573 > > > My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j> [image: > Twitter] <http://www.twitter.com/rr_martins> > Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj [image: > MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org > > > > > On Wed, Jul 27, 2011 at 2:58 AM, Chirag Singhal <chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> Install rails upgrade plugin, it will convert your old routes, environment >> and other config files to new Rails 3 format. >> Read the instructions on plugin''s homepage for more info. >> >> https://github.com/rails/rails_upgrade >> >> >> Chirag >> http://sumeruonrails.com >> >> >> >> On Wed, Jul 27, 2011 at 7:00 AM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote: >> >>> Good evening everyone, >>> >>> I went to change the Rails version of my project, and saw that many >>> things have stopped working. >>> >>> As the "rake routes", which is giving the following error: >>> rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes >>> rake aborted! >>> no such file to load - tasks / rails >>> >>> (See full trace by running task with - trace) >>> >>> >>> What do you think you can be? >>> >>> thanks >>> >>> >>> -- >>> * Atenciosamente* >>> ___________________________ >>> Rodrigo Martins >>> www.rrmartins.com >>> >>> tel: (28) 9882-6202 >>> (27) 9601-9573 >>> >>> >>> My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j> [image: >>> Twitter] <http://www.twitter.com/rr_martins> >>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj [image: >>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
when I run the first command you gave me appears the help of the rails, and
apparently does not install, and the second an error.
I put down the errors and the versions of ruby and rails.
rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo ruby script/rails plugin
install git://github.com/rails/rails_upgrade.git
ruby: No such file or directory -- script/rails (LoadError)
rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo rails plugin install git://
github.com/rails/rails_upgrade.git
Usage:
rails new APP_PATH [options]
Options:
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
# Default: /usr/local/bin/ruby
-d, [--database=DATABASE] # Preconfigure for selected database (options:
mysql/oracle/postgresql/sqlite3/frontbase/ibm_db)
# Default: sqlite3
-b, [--builder=BUILDER] # Path to an application builder (can be a
filesystem path or URL)
-m, [--template=TEMPLATE] # Path to an application template (can be a
filesystem path or URL)
[--dev] # Setup the application with Gemfile pointing
to your Rails checkout
[--edge] # Setup the application with Gemfile pointing
to Rails repository
[--skip-gemfile] # Don''t create a Gemfile
-O, [--skip-active-record] # Skip Active Record files
-T, [--skip-test-unit] # Skip Test::Unit files
-J, [--skip-prototype] # Skip Prototype files
-G, [--skip-git] # Skip Git ignores and keeps
Runtime options:
-f, [--force] # Overwrite files that already exist
-p, [--pretend] # Run but do not make any changes
-q, [--quiet] # Supress status output
-s, [--skip] # Skip files that already exist
Rails options:
-v, [--version] # Show Rails version number and quit
-h, [--help] # Show this help message and quit
Description:
The ''rails new'' command creates a new Rails application
with a default
directory structure and configuration at the path you specify.
Example:
rails new ~/Code/Ruby/weblog
This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
See the README in the newly created application to get going.
rodrigo@rrmartins:~/Documentos/vota_prato2$ rails -v
Rails 3.0.9
rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
--
* Atenciosamente*
___________________________
Rodrigo Martins
www.rrmartins.com
tel: (28) 9882-6202
(27) 9601-9573
My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j>
[image:
Twitter] <http://www.twitter.com/rr_martins>
Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image:
Skype/]rr_martinsj [image:
MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
On Wed, Jul 27, 2011 at 8:54 AM, Chirag Singhal
<chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:
> If you have already upgraded your application to Rails 3, then you have to
> use the new syntax to install the plugin:
>
> rails plugin install git://github.com/rails/rails_upgrade.git
>
> or
>
> ruby script/rails plugin install git://github.com/rails/rails_upgrade.git
>
> Chirag
> http://sumeruonrails.com
>
>
>
> On Wed, Jul 27, 2011 at 5:19 PM, Rodrigo Martins
<rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:
>
>> good day
>>
>> When I try to install a plugin error, and when I try to install as root
>> also of a system error.
>>
>> running down this without being root:
>>
>> *rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby script/plugin install
>> git://github.com/rails/rails_upgrade.git
>> <internal:lib/rubygems/custom_require>:29:in `require'':
no such file to
>> load -- script/../config/boot (LoadError)
>> from <internal:lib/rubygems/custom_require>:29:in
`require''
>> from script/plugin:2:in `<main>''
>>
>> *and below this running as root:
>>
>> rodrigo@rrmartins:~/Documentos$ sudo ruby script/plugin install git://
>> github.com/rails/rails_upgrade.git
>> [sudo] password for rodrigo:
>> ruby: No such file or directory -- script/plugin (LoadError)
>>
>>
>>
>> --
>> * Atenciosamente*
>> ___________________________
>> Rodrigo Martins
>> www.rrmartins.com
>>
>> tel: (28) 9882-6202
>> (27) 9601-9573
>>
>>
>> My profiles: [image: Facebook]
<http://pt-br.facebook.com/rr.martins.j> [image:
>> Twitter] <http://www.twitter.com/rr_martins>
>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj
[image:
>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>
>>
>>
>>
>> On Wed, Jul 27, 2011 at 2:58 AM, Chirag Singhal
<chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>> > wrote:
>>
>>> Install rails upgrade plugin, it will convert your old routes,
>>> environment and other config files to new Rails 3 format.
>>> Read the instructions on plugin''s homepage for more info.
>>>
>>> https://github.com/rails/rails_upgrade
>>>
>>>
>>> Chirag
>>> http://sumeruonrails.com
>>>
>>>
>>>
>>> On Wed, Jul 27, 2011 at 7:00 AM, Rodrigo Martins
<rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:
>>>
>>>> Good evening everyone,
>>>>
>>>> I went to change the Rails version of my project, and saw that
many
>>>> things have stopped working.
>>>>
>>>> As the "rake routes", which is giving the following
error:
>>>> rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes
>>>> rake aborted!
>>>> no such file to load - tasks / rails
>>>>
>>>> (See full trace by running task with - trace)
>>>>
>>>>
>>>> What do you think you can be?
>>>>
>>>> thanks
>>>>
>>>>
>>>> --
>>>> * Atenciosamente*
>>>> ___________________________
>>>> Rodrigo Martins
>>>> www.rrmartins.com
>>>>
>>>> tel: (28) 9882-6202
>>>> (27) 9601-9573
>>>>
>>>>
>>>> My profiles: [image: Facebook]
<http://pt-br.facebook.com/rr.martins.j> [image:
>>>> Twitter] <http://www.twitter.com/rr_martins>
>>>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj
[image:
>>>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the
Google
>>>> Groups "Ruby on Rails: Talk" group.
>>>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> To unsubscribe from this group, send email to
>>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
Groups
>>> "Ruby on Rails: Talk" group.
>>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To unsubscribe from this group, send email to
>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> For more options, visit this group at
>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google
Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To unsubscribe from this group, send email to
>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Can you attach your config/environment.rb file and Gemfile? Chirag http://sumeruonrails.com On Wed, Jul 27, 2011 at 5:43 PM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:> when I run the first command you gave me appears the help of the rails, > and apparently does not install, and the second an error. > > I put down the errors and the versions of ruby and rails. > > rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo ruby script/rails plugin > install git://github.com/rails/rails_upgrade.git > ruby: No such file or directory -- script/rails (LoadError) > rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo rails plugin install > git://github.com/rails/rails_upgrade.git > Usage: > rails new APP_PATH [options] > > Options: > -r, [--ruby=PATH] # Path to the Ruby binary of your choice > # Default: /usr/local/bin/ruby > -d, [--database=DATABASE] # Preconfigure for selected database > (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db) > # Default: sqlite3 > -b, [--builder=BUILDER] # Path to an application builder (can be a > filesystem path or URL) > -m, [--template=TEMPLATE] # Path to an application template (can be a > filesystem path or URL) > [--dev] # Setup the application with Gemfile pointing > to your Rails checkout > [--edge] # Setup the application with Gemfile pointing > to Rails repository > [--skip-gemfile] # Don''t create a Gemfile > -O, [--skip-active-record] # Skip Active Record files > -T, [--skip-test-unit] # Skip Test::Unit files > -J, [--skip-prototype] # Skip Prototype files > -G, [--skip-git] # Skip Git ignores and keeps > > Runtime options: > -f, [--force] # Overwrite files that already exist > -p, [--pretend] # Run but do not make any changes > -q, [--quiet] # Supress status output > -s, [--skip] # Skip files that already exist > > Rails options: > -v, [--version] # Show Rails version number and quit > -h, [--help] # Show this help message and quit > > Description: > The ''rails new'' command creates a new Rails application with a default > directory structure and configuration at the path you specify. > > Example: > rails new ~/Code/Ruby/weblog > > This generates a skeletal Rails installation in ~/Code/Ruby/weblog. > See the README in the newly created application to get going. > rodrigo@rrmartins:~/Documentos/vota_prato2$ rails -v > Rails 3.0.9 > rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby -v > ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux] > > > > -- > * Atenciosamente* > ___________________________ > Rodrigo Martins > www.rrmartins.com > > tel: (28) 9882-6202 > (27) 9601-9573 > > > My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j> [image: > Twitter] <http://www.twitter.com/rr_martins> > Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj [image: > MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org > > > > > On Wed, Jul 27, 2011 at 8:54 AM, Chirag Singhal <chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> If you have already upgraded your application to Rails 3, then you have to >> use the new syntax to install the plugin: >> >> rails plugin install git://github.com/rails/rails_upgrade.git >> >> or >> >> ruby script/rails plugin install git://github.com/rails/rails_upgrade.git >> >> Chirag >> http://sumeruonrails.com >> >> >> >> On Wed, Jul 27, 2011 at 5:19 PM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote: >> >>> good day >>> >>> When I try to install a plugin error, and when I try to install as root >>> also of a system error. >>> >>> running down this without being root: >>> >>> *rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby script/plugin install >>> git://github.com/rails/rails_upgrade.git >>> <internal:lib/rubygems/custom_require>:29:in `require'': no such file to >>> load -- script/../config/boot (LoadError) >>> from <internal:lib/rubygems/custom_require>:29:in `require'' >>> from script/plugin:2:in `<main>'' >>> >>> *and below this running as root: >>> >>> rodrigo@rrmartins:~/Documentos$ sudo ruby script/plugin install git:// >>> github.com/rails/rails_upgrade.git >>> [sudo] password for rodrigo: >>> ruby: No such file or directory -- script/plugin (LoadError) >>> >>> >>> >>> -- >>> * Atenciosamente* >>> ___________________________ >>> Rodrigo Martins >>> www.rrmartins.com >>> >>> tel: (28) 9882-6202 >>> (27) 9601-9573 >>> >>> >>> My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j> [image: >>> Twitter] <http://www.twitter.com/rr_martins> >>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj [image: >>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>> >>> >>> >>> >>> On Wed, Jul 27, 2011 at 2:58 AM, Chirag Singhal < >>> chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> >>>> Install rails upgrade plugin, it will convert your old routes, >>>> environment and other config files to new Rails 3 format. >>>> Read the instructions on plugin''s homepage for more info. >>>> >>>> https://github.com/rails/rails_upgrade >>>> >>>> >>>> Chirag >>>> http://sumeruonrails.com >>>> >>>> >>>> >>>> On Wed, Jul 27, 2011 at 7:00 AM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>>> > wrote: >>>> >>>>> Good evening everyone, >>>>> >>>>> I went to change the Rails version of my project, and saw that many >>>>> things have stopped working. >>>>> >>>>> As the "rake routes", which is giving the following error: >>>>> rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes >>>>> rake aborted! >>>>> no such file to load - tasks / rails >>>>> >>>>> (See full trace by running task with - trace) >>>>> >>>>> >>>>> What do you think you can be? >>>>> >>>>> thanks >>>>> >>>>> >>>>> -- >>>>> * Atenciosamente* >>>>> ___________________________ >>>>> Rodrigo Martins >>>>> www.rrmartins.com >>>>> >>>>> tel: (28) 9882-6202 >>>>> (27) 9601-9573 >>>>> >>>>> >>>>> My profiles: [image: Facebook]<http://pt-br.facebook.com/rr.martins.j> [image: >>>>> Twitter] <http://www.twitter.com/rr_martins> >>>>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: >>>>> Skype/] rr_martinsj [image: MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Ruby on Rails: Talk" group. >>>>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>>>> . >>>>> To unsubscribe from this group, send email to >>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ruby on Rails: Talk" group. >>>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> For more options, visit this group at >>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Attached files
--
* Atenciosamente*
___________________________
Rodrigo Martins
www.rrmartins.com
tel: (28) 9882-6202
(27) 9601-9573
My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j>
[image:
Twitter] <http://www.twitter.com/rr_martins>
Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image:
Skype/]rr_martinsj [image:
MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
On Wed, Jul 27, 2011 at 10:27 AM, Chirag Singhal
<chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:
> Can you attach your config/environment.rb file and Gemfile?
>
>
> Chirag
> http://sumeruonrails.com
>
>
>
> On Wed, Jul 27, 2011 at 5:43 PM, Rodrigo Martins
<rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:
>
>> when I run the first command you gave me appears the help of the rails,
>> and apparently does not install, and the second an error.
>>
>> I put down the errors and the versions of ruby and rails.
>>
>> rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo ruby script/rails
plugin
>> install git://github.com/rails/rails_upgrade.git
>> ruby: No such file or directory -- script/rails (LoadError)
>> rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo rails plugin install
>> git://github.com/rails/rails_upgrade.git
>> Usage:
>> rails new APP_PATH [options]
>>
>> Options:
>> -r, [--ruby=PATH] # Path to the Ruby binary of your choice
>> # Default: /usr/local/bin/ruby
>> -d, [--database=DATABASE] # Preconfigure for selected database
>> (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db)
>> # Default: sqlite3
>> -b, [--builder=BUILDER] # Path to an application builder (can be
a
>> filesystem path or URL)
>> -m, [--template=TEMPLATE] # Path to an application template (can be
a
>> filesystem path or URL)
>> [--dev] # Setup the application with Gemfile
>> pointing to your Rails checkout
>> [--edge] # Setup the application with Gemfile
>> pointing to Rails repository
>> [--skip-gemfile] # Don''t create a Gemfile
>> -O, [--skip-active-record] # Skip Active Record files
>> -T, [--skip-test-unit] # Skip Test::Unit files
>> -J, [--skip-prototype] # Skip Prototype files
>> -G, [--skip-git] # Skip Git ignores and keeps
>>
>> Runtime options:
>> -f, [--force] # Overwrite files that already exist
>> -p, [--pretend] # Run but do not make any changes
>> -q, [--quiet] # Supress status output
>> -s, [--skip] # Skip files that already exist
>>
>> Rails options:
>> -v, [--version] # Show Rails version number and quit
>> -h, [--help] # Show this help message and quit
>>
>> Description:
>> The ''rails new'' command creates a new Rails
application with a default
>> directory structure and configuration at the path you specify.
>>
>> Example:
>> rails new ~/Code/Ruby/weblog
>>
>> This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
>> See the README in the newly created application to get going.
>> rodrigo@rrmartins:~/Documentos/vota_prato2$ rails -v
>> Rails 3.0.9
>> rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby -v
>> ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
>>
>>
>>
>> --
>> * Atenciosamente*
>> ___________________________
>> Rodrigo Martins
>> www.rrmartins.com
>>
>> tel: (28) 9882-6202
>> (27) 9601-9573
>>
>>
>> My profiles: [image: Facebook]
<http://pt-br.facebook.com/rr.martins.j> [image:
>> Twitter] <http://www.twitter.com/rr_martins>
>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj
[image:
>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>
>>
>>
>>
>> On Wed, Jul 27, 2011 at 8:54 AM, Chirag Singhal
<chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>> > wrote:
>>
>>> If you have already upgraded your application to Rails 3, then you
have
>>> to use the new syntax to install the plugin:
>>>
>>> rails plugin install git://github.com/rails/rails_upgrade.git
>>>
>>> or
>>>
>>> ruby script/rails plugin install git://
>>> github.com/rails/rails_upgrade.git
>>>
>>> Chirag
>>> http://sumeruonrails.com
>>>
>>>
>>>
>>> On Wed, Jul 27, 2011 at 5:19 PM, Rodrigo Martins
<rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:
>>>
>>>> good day
>>>>
>>>> When I try to install a plugin error, and when I try to install
as root
>>>> also of a system error.
>>>>
>>>> running down this without being root:
>>>>
>>>> *rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby script/plugin
install
>>>> git://github.com/rails/rails_upgrade.git
>>>> <internal:lib/rubygems/custom_require>:29:in
`require'': no such file to
>>>> load -- script/../config/boot (LoadError)
>>>> from <internal:lib/rubygems/custom_require>:29:in
`require''
>>>> from script/plugin:2:in `<main>''
>>>>
>>>> *and below this running as root:
>>>>
>>>> rodrigo@rrmartins:~/Documentos$ sudo ruby script/plugin install
git://
>>>> github.com/rails/rails_upgrade.git
>>>> [sudo] password for rodrigo:
>>>> ruby: No such file or directory -- script/plugin (LoadError)
>>>>
>>>>
>>>>
>>>> --
>>>> * Atenciosamente*
>>>> ___________________________
>>>> Rodrigo Martins
>>>> www.rrmartins.com
>>>>
>>>> tel: (28) 9882-6202
>>>> (27) 9601-9573
>>>>
>>>>
>>>> My profiles: [image: Facebook]
<http://pt-br.facebook.com/rr.martins.j> [image:
>>>> Twitter] <http://www.twitter.com/rr_martins>
>>>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj
[image:
>>>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Jul 27, 2011 at 2:58 AM, Chirag Singhal <
>>>> chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>>>>
>>>>> Install rails upgrade plugin, it will convert your old
routes,
>>>>> environment and other config files to new Rails 3 format.
>>>>> Read the instructions on plugin''s homepage for
more info.
>>>>>
>>>>> https://github.com/rails/rails_upgrade
>>>>>
>>>>>
>>>>> Chirag
>>>>> http://sumeruonrails.com
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Jul 27, 2011 at 7:00 AM, Rodrigo Martins <
>>>>> rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org> wrote:
>>>>>
>>>>>> Good evening everyone,
>>>>>>
>>>>>> I went to change the Rails version of my project, and
saw that many
>>>>>> things have stopped working.
>>>>>>
>>>>>> As the "rake routes", which is giving the
following error:
>>>>>> rrmartins rodrigo @: ~ / Documents / vota_prato $ rake
routes
>>>>>> rake aborted!
>>>>>> no such file to load - tasks / rails
>>>>>>
>>>>>> (See full trace by running task with - trace)
>>>>>>
>>>>>>
>>>>>> What do you think you can be?
>>>>>>
>>>>>> thanks
>>>>>>
>>>>>>
>>>>>> --
>>>>>> * Atenciosamente*
>>>>>> ___________________________
>>>>>> Rodrigo Martins
>>>>>> www.rrmartins.com
>>>>>>
>>>>>> tel: (28) 9882-6202
>>>>>> (27) 9601-9573
>>>>>>
>>>>>>
>>>>>> My profiles: [image:
Facebook]<http://pt-br.facebook.com/rr.martins.j> [image:
>>>>>> Twitter] <http://www.twitter.com/rr_martins>
>>>>>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image:
>>>>>> Skype/] rr_martinsj [image: MSN/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to
the Google
>>>>>> Groups "Ruby on Rails: Talk" group.
>>>>>> To post to this group, send email to
>>>>>>
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>> To unsubscribe from this group, send email to
>>>>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the
Google
>>>>> Groups "Ruby on Rails: Talk" group.
>>>>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>>>> .
>>>>> To unsubscribe from this group, send email to
>>>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the
Google
>>>> Groups "Ruby on Rails: Talk" group.
>>>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> To unsubscribe from this group, send email to
>>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
Groups
>>> "Ruby on Rails: Talk" group.
>>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To unsubscribe from this group, send email to
>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> For more options, visit this group at
>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google
Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To unsubscribe from this group, send email to
>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Everything looks good here. What all did you do when upgrading from rails 2 to rails 3? There are a lot of changes in the script and config folders between the two versions. Generate a new rails3 app, copy over everything from the script folder into script folder of your app. Then try installing the plugin again with: ruby script/rails plugin install git://github.com/rails/rails_upgrade.git No need to use sudo with the command, unless your application directory is owned by root. Chirag http://sumeruonrails.com On Wed, Jul 27, 2011 at 7:54 PM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:> Attached files > > > > -- > * Atenciosamente* > ___________________________ > Rodrigo Martins > www.rrmartins.com > > tel: (28) 9882-6202 > (27) 9601-9573 > > > My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j> [image: > Twitter] <http://www.twitter.com/rr_martins> > Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj [image: > MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org > > > > > On Wed, Jul 27, 2011 at 10:27 AM, Chirag Singhal <chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > wrote: > >> Can you attach your config/environment.rb file and Gemfile? >> >> >> Chirag >> http://sumeruonrails.com >> >> >> >> On Wed, Jul 27, 2011 at 5:43 PM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote: >> >>> when I run the first command you gave me appears the help of the rails, >>> and apparently does not install, and the second an error. >>> >>> I put down the errors and the versions of ruby and rails. >>> >>> rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo ruby script/rails >>> plugin install git://github.com/rails/rails_upgrade.git >>> ruby: No such file or directory -- script/rails (LoadError) >>> rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo rails plugin install >>> git://github.com/rails/rails_upgrade.git >>> Usage: >>> rails new APP_PATH [options] >>> >>> Options: >>> -r, [--ruby=PATH] # Path to the Ruby binary of your choice >>> # Default: /usr/local/bin/ruby >>> -d, [--database=DATABASE] # Preconfigure for selected database >>> (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db) >>> # Default: sqlite3 >>> -b, [--builder=BUILDER] # Path to an application builder (can be a >>> filesystem path or URL) >>> -m, [--template=TEMPLATE] # Path to an application template (can be a >>> filesystem path or URL) >>> [--dev] # Setup the application with Gemfile >>> pointing to your Rails checkout >>> [--edge] # Setup the application with Gemfile >>> pointing to Rails repository >>> [--skip-gemfile] # Don''t create a Gemfile >>> -O, [--skip-active-record] # Skip Active Record files >>> -T, [--skip-test-unit] # Skip Test::Unit files >>> -J, [--skip-prototype] # Skip Prototype files >>> -G, [--skip-git] # Skip Git ignores and keeps >>> >>> Runtime options: >>> -f, [--force] # Overwrite files that already exist >>> -p, [--pretend] # Run but do not make any changes >>> -q, [--quiet] # Supress status output >>> -s, [--skip] # Skip files that already exist >>> >>> Rails options: >>> -v, [--version] # Show Rails version number and quit >>> -h, [--help] # Show this help message and quit >>> >>> Description: >>> The ''rails new'' command creates a new Rails application with a >>> default >>> directory structure and configuration at the path you specify. >>> >>> Example: >>> rails new ~/Code/Ruby/weblog >>> >>> This generates a skeletal Rails installation in ~/Code/Ruby/weblog. >>> See the README in the newly created application to get going. >>> rodrigo@rrmartins:~/Documentos/vota_prato2$ rails -v >>> Rails 3.0.9 >>> rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby -v >>> ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux] >>> >>> >>> >>> -- >>> * Atenciosamente* >>> ___________________________ >>> Rodrigo Martins >>> www.rrmartins.com >>> >>> tel: (28) 9882-6202 >>> (27) 9601-9573 >>> >>> >>> My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j> [image: >>> Twitter] <http://www.twitter.com/rr_martins> >>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj [image: >>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>> >>> >>> >>> >>> On Wed, Jul 27, 2011 at 8:54 AM, Chirag Singhal < >>> chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> >>>> If you have already upgraded your application to Rails 3, then you have >>>> to use the new syntax to install the plugin: >>>> >>>> rails plugin install git://github.com/rails/rails_upgrade.git >>>> >>>> or >>>> >>>> ruby script/rails plugin install git:// >>>> github.com/rails/rails_upgrade.git >>>> >>>> Chirag >>>> http://sumeruonrails.com >>>> >>>> >>>> >>>> On Wed, Jul 27, 2011 at 5:19 PM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>>> > wrote: >>>> >>>>> good day >>>>> >>>>> When I try to install a plugin error, and when I try to install as >>>>> root also of a system error. >>>>> >>>>> running down this without being root: >>>>> >>>>> *rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby script/plugin >>>>> install git://github.com/rails/rails_upgrade.git >>>>> <internal:lib/rubygems/custom_require>:29:in `require'': no such file to >>>>> load -- script/../config/boot (LoadError) >>>>> from <internal:lib/rubygems/custom_require>:29:in `require'' >>>>> from script/plugin:2:in `<main>'' >>>>> >>>>> *and below this running as root: >>>>> >>>>> rodrigo@rrmartins:~/Documentos$ sudo ruby script/plugin install git:// >>>>> github.com/rails/rails_upgrade.git >>>>> [sudo] password for rodrigo: >>>>> ruby: No such file or directory -- script/plugin (LoadError) >>>>> >>>>> >>>>> >>>>> -- >>>>> * Atenciosamente* >>>>> ___________________________ >>>>> Rodrigo Martins >>>>> www.rrmartins.com >>>>> >>>>> tel: (28) 9882-6202 >>>>> (27) 9601-9573 >>>>> >>>>> >>>>> My profiles: [image: Facebook]<http://pt-br.facebook.com/rr.martins.j> [image: >>>>> Twitter] <http://www.twitter.com/rr_martins> >>>>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: >>>>> Skype/] rr_martinsj [image: MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>>>> >>>>> >>>>> >>>>> >>>>> On Wed, Jul 27, 2011 at 2:58 AM, Chirag Singhal < >>>>> chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>>>> >>>>>> Install rails upgrade plugin, it will convert your old routes, >>>>>> environment and other config files to new Rails 3 format. >>>>>> Read the instructions on plugin''s homepage for more info. >>>>>> >>>>>> https://github.com/rails/rails_upgrade >>>>>> >>>>>> >>>>>> Chirag >>>>>> http://sumeruonrails.com >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Jul 27, 2011 at 7:00 AM, Rodrigo Martins < >>>>>> rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org> wrote: >>>>>> >>>>>>> Good evening everyone, >>>>>>> >>>>>>> I went to change the Rails version of my project, and saw that many >>>>>>> things have stopped working. >>>>>>> >>>>>>> As the "rake routes", which is giving the following error: >>>>>>> rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes >>>>>>> rake aborted! >>>>>>> no such file to load - tasks / rails >>>>>>> >>>>>>> (See full trace by running task with - trace) >>>>>>> >>>>>>> >>>>>>> What do you think you can be? >>>>>>> >>>>>>> thanks >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> * Atenciosamente* >>>>>>> ___________________________ >>>>>>> Rodrigo Martins >>>>>>> www.rrmartins.com >>>>>>> >>>>>>> tel: (28) 9882-6202 >>>>>>> (27) 9601-9573 >>>>>>> >>>>>>> >>>>>>> My profiles: [image: Facebook]<http://pt-br.facebook.com/rr.martins.j> [image: >>>>>>> Twitter] <http://www.twitter.com/rr_martins> >>>>>>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: >>>>>>> Skype/] rr_martinsj [image: MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Ruby on Rails: Talk" group. >>>>>>> To post to this group, send email to >>>>>>> rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>> To unsubscribe from this group, send email to >>>>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Ruby on Rails: Talk" group. >>>>>> To post to this group, send email to >>>>>> rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>> To unsubscribe from this group, send email to >>>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Ruby on Rails: Talk" group. >>>>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>>>> . >>>>> To unsubscribe from this group, send email to >>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ruby on Rails: Talk" group. >>>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> For more options, visit this group at >>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Chirag, Thank you,
Differences between the Rakefile to rails2 rails3.
Rails2 the Rakefile:
require(File.join(File.dirname(__FILE__), ''config'',
''boot''))
require ''...''
Rails3 the Rakefile:
require File.expand_path(''../config/application'', __FILE__)
<NameApplication>::Application.load_tasks
brother won ...
link:
http://stackoverflow.com/questions/3953275/heroku-rake-dbmigrate-fails-missing-tasks-rails
--
* Atenciosamente*
___________________________
Rodrigo Martins
www.rrmartins.com
tel: (28) 9882-6202
(27) 9601-9573
My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j>
[image:
Twitter] <http://www.twitter.com/rr_martins>
Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image:
Skype/]rr_martinsj [image:
MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
On Thu, Jul 28, 2011 at 1:00 AM, Chirag Singhal
<chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:
> Everything looks good here.
> What all did you do when upgrading from rails 2 to rails 3?
> There are a lot of changes in the script and config folders between the two
> versions.
>
> Generate a new rails3 app, copy over everything from the script folder into
> script folder of your app.
> Then try installing the plugin again with:
>
> ruby script/rails plugin install git://github.com/rails/rails_upgrade.git
>
> No need to use sudo with the command, unless your application directory is
> owned by root.
>
>
> Chirag
> http://sumeruonrails.com
>
>
>
> On Wed, Jul 27, 2011 at 7:54 PM, Rodrigo Martins
<rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:
>
>> Attached files
>>
>>
>>
>> --
>> * Atenciosamente*
>> ___________________________
>> Rodrigo Martins
>> www.rrmartins.com
>>
>> tel: (28) 9882-6202
>> (27) 9601-9573
>>
>>
>> My profiles: [image: Facebook]
<http://pt-br.facebook.com/rr.martins.j> [image:
>> Twitter] <http://www.twitter.com/rr_martins>
>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj
[image:
>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>
>>
>>
>>
>> On Wed, Jul 27, 2011 at 10:27 AM, Chirag Singhal <
>> chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>
>>> Can you attach your config/environment.rb file and Gemfile?
>>>
>>>
>>> Chirag
>>> http://sumeruonrails.com
>>>
>>>
>>>
>>> On Wed, Jul 27, 2011 at 5:43 PM, Rodrigo Martins
<rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:
>>>
>>>> when I run the first command you gave me appears the help of
the rails,
>>>> and apparently does not install, and the second an error.
>>>>
>>>> I put down the errors and the versions of ruby and rails.
>>>>
>>>> rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo ruby
script/rails
>>>> plugin install git://github.com/rails/rails_upgrade.git
>>>> ruby: No such file or directory -- script/rails (LoadError)
>>>> rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo rails plugin
install
>>>> git://github.com/rails/rails_upgrade.git
>>>> Usage:
>>>> rails new APP_PATH [options]
>>>>
>>>> Options:
>>>> -r, [--ruby=PATH] # Path to the Ruby binary of your
choice
>>>> # Default: /usr/local/bin/ruby
>>>> -d, [--database=DATABASE] # Preconfigure for selected
database
>>>> (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db)
>>>> # Default: sqlite3
>>>> -b, [--builder=BUILDER] # Path to an application builder
(can be a
>>>> filesystem path or URL)
>>>> -m, [--template=TEMPLATE] # Path to an application template
(can be
>>>> a filesystem path or URL)
>>>> [--dev] # Setup the application with
Gemfile
>>>> pointing to your Rails checkout
>>>> [--edge] # Setup the application with
Gemfile
>>>> pointing to Rails repository
>>>> [--skip-gemfile] # Don''t create a Gemfile
>>>> -O, [--skip-active-record] # Skip Active Record files
>>>> -T, [--skip-test-unit] # Skip Test::Unit files
>>>> -J, [--skip-prototype] # Skip Prototype files
>>>> -G, [--skip-git] # Skip Git ignores and keeps
>>>>
>>>> Runtime options:
>>>> -f, [--force] # Overwrite files that already exist
>>>> -p, [--pretend] # Run but do not make any changes
>>>> -q, [--quiet] # Supress status output
>>>> -s, [--skip] # Skip files that already exist
>>>>
>>>> Rails options:
>>>> -v, [--version] # Show Rails version number and quit
>>>> -h, [--help] # Show this help message and quit
>>>>
>>>> Description:
>>>> The ''rails new'' command creates a new
Rails application with a
>>>> default
>>>> directory structure and configuration at the path you
specify.
>>>>
>>>> Example:
>>>> rails new ~/Code/Ruby/weblog
>>>>
>>>> This generates a skeletal Rails installation in
~/Code/Ruby/weblog.
>>>> See the README in the newly created application to get
going.
>>>> rodrigo@rrmartins:~/Documentos/vota_prato2$ rails -v
>>>> Rails 3.0.9
>>>> rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby -v
>>>> ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
>>>>
>>>>
>>>>
>>>> --
>>>> * Atenciosamente*
>>>> ___________________________
>>>> Rodrigo Martins
>>>> www.rrmartins.com
>>>>
>>>> tel: (28) 9882-6202
>>>> (27) 9601-9573
>>>>
>>>>
>>>> My profiles: [image: Facebook]
<http://pt-br.facebook.com/rr.martins.j> [image:
>>>> Twitter] <http://www.twitter.com/rr_martins>
>>>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj
[image:
>>>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Jul 27, 2011 at 8:54 AM, Chirag Singhal <
>>>> chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>>>>
>>>>> If you have already upgraded your application to Rails 3,
then you have
>>>>> to use the new syntax to install the plugin:
>>>>>
>>>>> rails plugin install
git://github.com/rails/rails_upgrade.git
>>>>>
>>>>> or
>>>>>
>>>>> ruby script/rails plugin install git://
>>>>> github.com/rails/rails_upgrade.git
>>>>>
>>>>> Chirag
>>>>> http://sumeruonrails.com
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Jul 27, 2011 at 5:19 PM, Rodrigo Martins <
>>>>> rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org> wrote:
>>>>>
>>>>>> good day
>>>>>>
>>>>>> When I try to install a plugin error, and when I try to
install as
>>>>>> root also of a system error.
>>>>>>
>>>>>> running down this without being root:
>>>>>>
>>>>>> *rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby
script/plugin
>>>>>> install git://github.com/rails/rails_upgrade.git
>>>>>> <internal:lib/rubygems/custom_require>:29:in
`require'': no such file
>>>>>> to load -- script/../config/boot (LoadError)
>>>>>> from
<internal:lib/rubygems/custom_require>:29:in `require''
>>>>>> from script/plugin:2:in `<main>''
>>>>>>
>>>>>> *and below this running as root:
>>>>>>
>>>>>> rodrigo@rrmartins:~/Documentos$ sudo ruby script/plugin
install
>>>>>> git://github.com/rails/rails_upgrade.git
>>>>>> [sudo] password for rodrigo:
>>>>>> ruby: No such file or directory -- script/plugin
(LoadError)
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> * Atenciosamente*
>>>>>> ___________________________
>>>>>> Rodrigo Martins
>>>>>> www.rrmartins.com
>>>>>>
>>>>>> tel: (28) 9882-6202
>>>>>> (27) 9601-9573
>>>>>>
>>>>>>
>>>>>> My profiles: [image:
Facebook]<http://pt-br.facebook.com/rr.martins.j> [image:
>>>>>> Twitter] <http://www.twitter.com/rr_martins>
>>>>>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image:
>>>>>> Skype/] rr_martinsj [image: MSN/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Jul 27, 2011 at 2:58 AM, Chirag Singhal <
>>>>>>
chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>>>>>>
>>>>>>> Install rails upgrade plugin, it will convert your
old routes,
>>>>>>> environment and other config files to new Rails 3
format.
>>>>>>> Read the instructions on plugin''s homepage
for more info.
>>>>>>>
>>>>>>> https://github.com/rails/rails_upgrade
>>>>>>>
>>>>>>>
>>>>>>> Chirag
>>>>>>> http://sumeruonrails.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jul 27, 2011 at 7:00 AM, Rodrigo Martins
<
>>>>>>> rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>
wrote:
>>>>>>>
>>>>>>>> Good evening everyone,
>>>>>>>>
>>>>>>>> I went to change the Rails version of my
project, and saw that many
>>>>>>>> things have stopped working.
>>>>>>>>
>>>>>>>> As the "rake routes", which is giving
the following error:
>>>>>>>> rrmartins rodrigo @: ~ / Documents / vota_prato
$ rake routes
>>>>>>>> rake aborted!
>>>>>>>> no such file to load - tasks / rails
>>>>>>>>
>>>>>>>> (See full trace by running task with - trace)
>>>>>>>>
>>>>>>>>
>>>>>>>> What do you think you can be?
>>>>>>>>
>>>>>>>> thanks
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> * Atenciosamente*
>>>>>>>> ___________________________
>>>>>>>> Rodrigo Martins
>>>>>>>> www.rrmartins.com
>>>>>>>>
>>>>>>>> tel: (28) 9882-6202
>>>>>>>> (27) 9601-9573
>>>>>>>>
>>>>>>>>
>>>>>>>> My profiles: [image:
Facebook]<http://pt-br.facebook.com/rr.martins.j> [image:
>>>>>>>> Twitter]
<http://www.twitter.com/rr_martins>
>>>>>>>> Contact me: [image: Google Talk/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image:
>>>>>>>> Skype/] rr_martinsj [image: MSN/]
rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are
subscribed to the Google
>>>>>>>> Groups "Ruby on Rails: Talk" group.
>>>>>>>> To post to this group, send email to
>>>>>>>>
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>>>> For more options, visit this group at
>>>>>>>>
http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are
subscribed to the Google
>>>>>>> Groups "Ruby on Rails: Talk" group.
>>>>>>> To post to this group, send email to
>>>>>>>
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>>> To unsubscribe from this group, send email to
>>>>>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>>> For more options, visit this group at
>>>>>>>
http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to
the Google
>>>>>> Groups "Ruby on Rails: Talk" group.
>>>>>> To post to this group, send email to
>>>>>>
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>> To unsubscribe from this group, send email to
>>>>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the
Google
>>>>> Groups "Ruby on Rails: Talk" group.
>>>>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>>>>> .
>>>>> To unsubscribe from this group, send email to
>>>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the
Google
>>>> Groups "Ruby on Rails: Talk" group.
>>>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> To unsubscribe from this group, send email to
>>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
Groups
>>> "Ruby on Rails: Talk" group.
>>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To unsubscribe from this group, send email to
>>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> For more options, visit this group at
>>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google
Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To unsubscribe from this group, send email to
>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Great, copy over the changes and post again if you get stuck anywhere else. Chirag http://sumeruonrails.com On Thu, Jul 28, 2011 at 5:39 PM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote:> Chirag, Thank you, > > Differences between the Rakefile to rails2 rails3. > > Rails2 the Rakefile: > require(File.join(File.dirname(__FILE__), ''config'', ''boot'')) > require ''...'' > > Rails3 the Rakefile: > require File.expand_path(''../config/application'', __FILE__) > <NameApplication>::Application.load_tasks > > brother won ... > > link: > http://stackoverflow.com/questions/3953275/heroku-rake-dbmigrate-fails-missing-tasks-rails > > > > -- > * Atenciosamente* > ___________________________ > Rodrigo Martins > www.rrmartins.com > > tel: (28) 9882-6202 > (27) 9601-9573 > > > My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j> [image: > Twitter] <http://www.twitter.com/rr_martins> > Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj [image: > MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org > > > > > On Thu, Jul 28, 2011 at 1:00 AM, Chirag Singhal <chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> Everything looks good here. >> What all did you do when upgrading from rails 2 to rails 3? >> There are a lot of changes in the script and config folders between the >> two versions. >> >> Generate a new rails3 app, copy over everything from the script folder >> into script folder of your app. >> Then try installing the plugin again with: >> >> ruby script/rails plugin install git://github.com/rails/rails_upgrade.git >> >> No need to use sudo with the command, unless your application directory is >> owned by root. >> >> >> Chirag >> http://sumeruonrails.com >> >> >> >> On Wed, Jul 27, 2011 at 7:54 PM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org>wrote: >> >>> Attached files >>> >>> >>> >>> -- >>> * Atenciosamente* >>> ___________________________ >>> Rodrigo Martins >>> www.rrmartins.com >>> >>> tel: (28) 9882-6202 >>> (27) 9601-9573 >>> >>> >>> My profiles: [image: Facebook] <http://pt-br.facebook.com/rr.martins.j> [image: >>> Twitter] <http://www.twitter.com/rr_martins> >>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: Skype/]rr_martinsj [image: >>> MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>> >>> >>> >>> >>> On Wed, Jul 27, 2011 at 10:27 AM, Chirag Singhal < >>> chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> >>>> Can you attach your config/environment.rb file and Gemfile? >>>> >>>> >>>> Chirag >>>> http://sumeruonrails.com >>>> >>>> >>>> >>>> On Wed, Jul 27, 2011 at 5:43 PM, Rodrigo Martins <rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>>> > wrote: >>>> >>>>> when I run the first command you gave me appears the help of the rails, >>>>> and apparently does not install, and the second an error. >>>>> >>>>> I put down the errors and the versions of ruby and rails. >>>>> >>>>> rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo ruby script/rails >>>>> plugin install git://github.com/rails/rails_upgrade.git >>>>> ruby: No such file or directory -- script/rails (LoadError) >>>>> rodrigo@rrmartins:~/Documentos/vota_prato2$ sudo rails plugin install >>>>> git://github.com/rails/rails_upgrade.git >>>>> Usage: >>>>> rails new APP_PATH [options] >>>>> >>>>> Options: >>>>> -r, [--ruby=PATH] # Path to the Ruby binary of your choice >>>>> # Default: /usr/local/bin/ruby >>>>> -d, [--database=DATABASE] # Preconfigure for selected database >>>>> (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db) >>>>> # Default: sqlite3 >>>>> -b, [--builder=BUILDER] # Path to an application builder (can be >>>>> a filesystem path or URL) >>>>> -m, [--template=TEMPLATE] # Path to an application template (can be >>>>> a filesystem path or URL) >>>>> [--dev] # Setup the application with Gemfile >>>>> pointing to your Rails checkout >>>>> [--edge] # Setup the application with Gemfile >>>>> pointing to Rails repository >>>>> [--skip-gemfile] # Don''t create a Gemfile >>>>> -O, [--skip-active-record] # Skip Active Record files >>>>> -T, [--skip-test-unit] # Skip Test::Unit files >>>>> -J, [--skip-prototype] # Skip Prototype files >>>>> -G, [--skip-git] # Skip Git ignores and keeps >>>>> >>>>> Runtime options: >>>>> -f, [--force] # Overwrite files that already exist >>>>> -p, [--pretend] # Run but do not make any changes >>>>> -q, [--quiet] # Supress status output >>>>> -s, [--skip] # Skip files that already exist >>>>> >>>>> Rails options: >>>>> -v, [--version] # Show Rails version number and quit >>>>> -h, [--help] # Show this help message and quit >>>>> >>>>> Description: >>>>> The ''rails new'' command creates a new Rails application with a >>>>> default >>>>> directory structure and configuration at the path you specify. >>>>> >>>>> Example: >>>>> rails new ~/Code/Ruby/weblog >>>>> >>>>> This generates a skeletal Rails installation in ~/Code/Ruby/weblog. >>>>> See the README in the newly created application to get going. >>>>> rodrigo@rrmartins:~/Documentos/vota_prato2$ rails -v >>>>> Rails 3.0.9 >>>>> rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby -v >>>>> ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux] >>>>> >>>>> >>>>> >>>>> -- >>>>> * Atenciosamente* >>>>> ___________________________ >>>>> Rodrigo Martins >>>>> www.rrmartins.com >>>>> >>>>> tel: (28) 9882-6202 >>>>> (27) 9601-9573 >>>>> >>>>> >>>>> My profiles: [image: Facebook]<http://pt-br.facebook.com/rr.martins.j> [image: >>>>> Twitter] <http://www.twitter.com/rr_martins> >>>>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: >>>>> Skype/] rr_martinsj [image: MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>>>> >>>>> >>>>> >>>>> >>>>> On Wed, Jul 27, 2011 at 8:54 AM, Chirag Singhal < >>>>> chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>>>> >>>>>> If you have already upgraded your application to Rails 3, then you >>>>>> have to use the new syntax to install the plugin: >>>>>> >>>>>> rails plugin install git://github.com/rails/rails_upgrade.git >>>>>> >>>>>> or >>>>>> >>>>>> ruby script/rails plugin install git:// >>>>>> github.com/rails/rails_upgrade.git >>>>>> >>>>>> Chirag >>>>>> http://sumeruonrails.com >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Jul 27, 2011 at 5:19 PM, Rodrigo Martins < >>>>>> rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org> wrote: >>>>>> >>>>>>> good day >>>>>>> >>>>>>> When I try to install a plugin error, and when I try to install as >>>>>>> root also of a system error. >>>>>>> >>>>>>> running down this without being root: >>>>>>> >>>>>>> *rodrigo@rrmartins:~/Documentos/vota_prato2$ ruby script/plugin >>>>>>> install git://github.com/rails/rails_upgrade.git >>>>>>> <internal:lib/rubygems/custom_require>:29:in `require'': no such file >>>>>>> to load -- script/../config/boot (LoadError) >>>>>>> from <internal:lib/rubygems/custom_require>:29:in `require'' >>>>>>> from script/plugin:2:in `<main>'' >>>>>>> >>>>>>> *and below this running as root: >>>>>>> >>>>>>> rodrigo@rrmartins:~/Documentos$ sudo ruby script/plugin install >>>>>>> git://github.com/rails/rails_upgrade.git >>>>>>> [sudo] password for rodrigo: >>>>>>> ruby: No such file or directory -- script/plugin (LoadError) >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> * Atenciosamente* >>>>>>> ___________________________ >>>>>>> Rodrigo Martins >>>>>>> www.rrmartins.com >>>>>>> >>>>>>> tel: (28) 9882-6202 >>>>>>> (27) 9601-9573 >>>>>>> >>>>>>> >>>>>>> My profiles: [image: Facebook]<http://pt-br.facebook.com/rr.martins.j> [image: >>>>>>> Twitter] <http://www.twitter.com/rr_martins> >>>>>>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: >>>>>>> Skype/] rr_martinsj [image: MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Wed, Jul 27, 2011 at 2:58 AM, Chirag Singhal < >>>>>>> chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>>>>>> >>>>>>>> Install rails upgrade plugin, it will convert your old routes, >>>>>>>> environment and other config files to new Rails 3 format. >>>>>>>> Read the instructions on plugin''s homepage for more info. >>>>>>>> >>>>>>>> https://github.com/rails/rails_upgrade >>>>>>>> >>>>>>>> >>>>>>>> Chirag >>>>>>>> http://sumeruonrails.com >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Jul 27, 2011 at 7:00 AM, Rodrigo Martins < >>>>>>>> rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org> wrote: >>>>>>>> >>>>>>>>> Good evening everyone, >>>>>>>>> >>>>>>>>> I went to change the Rails version of my project, and saw that >>>>>>>>> many things have stopped working. >>>>>>>>> >>>>>>>>> As the "rake routes", which is giving the following error: >>>>>>>>> rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes >>>>>>>>> rake aborted! >>>>>>>>> no such file to load - tasks / rails >>>>>>>>> >>>>>>>>> (See full trace by running task with - trace) >>>>>>>>> >>>>>>>>> >>>>>>>>> What do you think you can be? >>>>>>>>> >>>>>>>>> thanks >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> * Atenciosamente* >>>>>>>>> ___________________________ >>>>>>>>> Rodrigo Martins >>>>>>>>> www.rrmartins.com >>>>>>>>> >>>>>>>>> tel: (28) 9882-6202 >>>>>>>>> (27) 9601-9573 >>>>>>>>> >>>>>>>>> >>>>>>>>> My profiles: [image: Facebook]<http://pt-br.facebook.com/rr.martins.j> [image: >>>>>>>>> Twitter] <http://www.twitter.com/rr_martins> >>>>>>>>> Contact me: [image: Google Talk/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org [image: >>>>>>>>> Skype/] rr_martinsj [image: MSN/] rodrigo-rncPa8n6ogiakBO8gow8eQ@public.gmane.org >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "Ruby on Rails: Talk" group. >>>>>>>>> To post to this group, send email to >>>>>>>>> rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>>> For more options, visit this group at >>>>>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Ruby on Rails: Talk" group. >>>>>>>> To post to this group, send email to >>>>>>>> rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>> To unsubscribe from this group, send email to >>>>>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>> For more options, visit this group at >>>>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Ruby on Rails: Talk" group. >>>>>>> To post to this group, send email to >>>>>>> rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>> To unsubscribe from this group, send email to >>>>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Ruby on Rails: Talk" group. >>>>>> To post to this group, send email to >>>>>> rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>> To unsubscribe from this group, send email to >>>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Ruby on Rails: Talk" group. >>>>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>>>> . >>>>> To unsubscribe from this group, send email to >>>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ruby on Rails: Talk" group. >>>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> For more options, visit this group at >>>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.