How to Migrate a Project created in rails 3.0.3 and ruby 1.9.2 using mongodb with mongoid?

hello ,
i would like to know how can i migrate a rails project from one system
to another
Rails 3.0.3
ruby 1.9.2
mongodb with mongoid

On Fri, Mar 4, 2011 at 8:02 AM, nishant [email protected] wrote:

hello ,
i would like to know how can i migrate a rails project from one system
to another
Rails 3.0.3
ruby 1.9.2
mongodb with mongoid

Lets start with the basics. Do you have a running Rails environment on
the
system you are moving it too? If not, see the below documentation on how
to
set one up.

http://guides.rubyonrails.org/getting_started.html

B.

Thanks Bryan , i have learned the basics of Ruby On Rails and its
installed
in my System i have also created few basic apps but what the problem is
i
have to work on the Client project and i have that project code and i
have
to configure that project into my system so that i can make changes…so
its
really urgent …help me with this…

thanks
nishant

On 4 March 2011 08:37, Bryan C. [email protected] wrote:

Lets start with the basics. Do you have a running Rails environment on the
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


T**hanks and Regards
Nishant Nigam
“Destiny is not a matter of chance,
it is a matter of choice;
it is not a thing to be waited for,
it is a thing to be achieved.”

On 4 Mar 2011, at 17:10, nishant nigam [email protected] wrote:

Thanks Bryan , i have learned the basics of Ruby On Rails and its installed in
my System i have also created few basic apps but what the problem is i have to
work on the Client project and i have that project code and i have to configure
that project into my system so that i can make changes…so its really urgent
…help me with this…

Well at a basic level all you need to do is install any libraries or
gems the project uses ( if they’re using bundler then bundle install
will do the trick) and that any required services ( databases, mongodb,
solr etc) are running and with suitable data. It might also be an idea
to be a bit more familiar with the technologies involved before taking
on client work

Fred

On Mar 4, 2011, at 12:52 PM, nishant nigam [email protected]
wrote:

thanks Fred,
but what about the database like in php we import the database dump in new
system. what about mongodb in rails?

That is what Fred and I are trying to tell you. You need to do the
basics and install MongoDB, setup Rails, install needed libraries, etc.
before you can ever be expected to run let alone work on your client’s
application.

B.

thanks Fred,
but what about the database like in php we import the database dump in
new
system. what about mongodb in rails?

On 4 March 2011 10:45, Frederick C. [email protected]
wrote:

thanks

to another
http://guides.rubyonrails.org/getting_started.html
[email protected]
"Destiny is not a matter of chance,
For more options, visit this group at


T**hanks and Regards
Nishant Nigam
“Destiny is not a matter of chance,
it is a matter of choice;
it is not a thing to be waited for,
it is a thing to be achieved.”

Thanks,
But i am done with those things and when i am trying yo run the
application
. It does not show any view and show the error or nil object because
they
have used some dynamic values in the view and those values are fetched
from
the database which does not exist …
i have generated the mongoid.yml file but that file does`nt help my
cause
…because of the databse… that is the problem…

On 4 March 2011 11:21, Bryan C. [email protected] wrote:

can ever be expected to run let alone work on your client’s application.
http://groups.google.com/group/rubyonrails-talk?hl=en.


T**hanks and Regards
Nishant Nigam
“Destiny is not a matter of chance,
it is a matter of choice;
it is not a thing to be waited for,
it is a thing to be achieved.”

thanks fred !! and thanks brayn for your time …i will check those
things
and let you know guys …thanks again…

On 4 March 2011 11:37, Frederick C. [email protected]
wrote:

Thanks Bryan , i have learned the basics of Ruby On Rails and its
familiar with the technologies involved before taking on client work

You received this message because you are subscribed to the Google G.

http://groups.google.com/group/rubyonrails-talk?hl=en.
it is a thing to be achieved."

You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


T**hanks and Regards
Nishant Nigam
“Destiny is not a matter of chance,
it is a matter of choice;
it is not a thing to be waited for,
it is a thing to be achieved.”

On 4 Mar 2011, at 18:52, nishant nigam [email protected] wrote:

thanks Fred,
but what about the database like in php we import the database dump in new
system. what about mongodb in rails?

Mongodb comes with a set of tools for importing/exporting databases
(mongodump/mongoexport etc). There’s plenty of info on the mongodb
website

Fred

On Fri, Mar 4, 2011 at 1:26 PM, nishant nigam
[email protected]wrote:

Thanks,
But i am done with those things and when i am trying yo run the
application . It does not show any view and show the error or nil object
because they have used some dynamic values in the view and those values are
fetched from the database which does not exist …
i have generated the mongoid.yml file but that file does`nt help my cause
…because of the databse… that is the problem…

Then go get a copy of your clients database or a copy that has dummy
records
in it for you to use. Again, basics.

B.

Thanks Bryan…i am new to this and i am getting use to it …thanks

On 4 March 2011 11:39, Bryan C. [email protected] wrote:

[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


T**hanks and Regards
Nishant Nigam
“Destiny is not a matter of chance,
it is a matter of choice;
it is not a thing to be waited for,
it is a thing to be achieved.”

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs