i have download one rails application. i am using mysql database. so i need to get the existing database into mysql, and run that application. how will run that application. i have search so many stuffs, but i didn''t get related issues. how to migrate that schema into database. Thank you Vishnu -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/OBQuy7etIvAJ. 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.
On 21 November 2011 11:30, amvis <vgrkrishnan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > i have download one rails application. i am using mysql database. so i need > to get the existing database into mysql, and run that application. how will > run that application. i have search so many stuffs, but i didn''t get related > issues. how to migrate that schema into database.Try rake db:create which should create the database according to the contents of schema.rb Then rake db:migrate which will run any migrations that are not already in schema.rb. Colin -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> i have download one rails application. i am using mysql database. so i > need to get the existing database into mysql, and run that application. how > will run that application. i have search so many stuffs, but i didn''t get > related issues. how to migrate that schema into database. > > > Change database details in app/config/database.ymland run rake db:migrate and also run bundle install To install all gems in that application -- Regards sathia http://www.sathia27.wordpress.com -- 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.
Thank all.. I am fed up with so many gems problems to running one ruby on rails application , which use ruby 1.8.7 and rails 2.3.6. so some gems which related with 2.3.6 not getting now a days. we just change to 2.3.11 in *(environment.rb). *and when i run* bundle instal*l command, which shows* could not find gemfile* .already i have install all the gems which using in that application. Any way to solve this? Thank you vishnu -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/kswXo_uFl1kJ. 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.
> > I am fed up with so many gems problems to running one ruby on rails > application , which use ruby 1.8.7 and rails 2.3.6. so some gems which > related >By default, *bundle install *is for rails 3 and above. Regards sathia Here I share my experience with open source <http://www.sathia27.wordpress.com> http://www.sathia27.wordpress.com <http://www.sathia27.wordpress.com>http://www.lquery.com<http://www.sathia27.wordpress.com/> -- 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.
On 22 November 2011 05:35, amvis <vgrkrishnan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thank all.. > I am fed up with so many gems problems to running one ruby on rails > application , which use ruby 1.8.7 and rails 2.3.6. so some gems which > related with 2.3.6 not getting now a days. we just change to 2.3.11 in > (environment.rb). and when i run bundle install command, which shows could > not find gemfile .already i have install all the gems which using in that > application. Any way to solve this?After changing the rails version in environment.rb you must install that version of rails and run rake rails:update That will update some files for you. Commit those to your version control system obviously. Although I believe there is a way of using bundler with rails 2 it is not normally used with version 2. If you are still having problems come back with the specific issue. Colin -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks sathia. i got that when i search -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/4jfxFtyFyH0J. 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.
Thanks colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/N_57l86Bcd0J. 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.