I am getting error: rake db:migrate (in /home/hsrai/public_html/ERP/ERP_Campus/projectfedena_v2.0) rake aborted! can''t activate , already activated prawn-0.11.1 Where is problem? Fedena is Ruby on Rails (RoR) application. My installation log is below signature. mkdir ERP cd ERP wget http://202.164.53.122/ERP/ERP_Campus.tar.gz tar -zxvf ERP_Campus.tar.gz cd ERP_Campus/projectfedena_v2.0/ sudo apt-get install rake ruby1.8-dev rake gems:install sudo gem install rails -v=2.3.5 --remote sudo rake gems:install sudo gems install prawn joe config/database.yml sudo gem install mysql --remote rake db:create rake db:migrate ruby script/server -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
This is a list for discussing Rails core development. Please refer to Fedena (http://projectfedena.org/forum) or RailsTalk ( http://groups.google.com/group/rubyonrails-talk) for support. On Fri, Apr 8, 2011 at 10:55, amritpal pathak <amritpalpathak1@gmail.com>wrote:> Fedena-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
This would be a question for that project''s list, not rails core :) Regards, Ben Langfeld On Fri, Apr 8, 2011 at 9:55 AM, amritpal pathak <amritpalpathak1@gmail.com>wrote:> I am getting error: > > rake db:migrate > (in /home/hsrai/public_html/ERP/ERP_Campus/projectfedena_v2.0) > rake aborted! > can''t activate , already activated prawn-0.11.1 > > Where is problem? > > Fedena is Ruby on Rails (RoR) application. > > My installation log is below signature. > > > mkdir ERP > cd ERP > wget http://202.164.53.122/ERP/ERP_Campus.tar.gz > tar -zxvf ERP_Campus.tar.gz > cd ERP_Campus/projectfedena_v2.0/ > sudo apt-get install rake ruby1.8-dev > rake gems:install > sudo gem install rails -v=2.3.5 --remote > sudo rake gems:install > sudo gems install prawn > joe config/database.yml > sudo gem install mysql --remote > rake db:create > rake db:migrate > ruby script/server > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
I believe this is an error cause by two gems having different dependencies on prawn. So the first one to load depends on prawn 0.11.1 and then the second one tries to load an older version but can''t because the newer version has already loaded. This is the type of problem Bundler was designed to solve. However, since it looks like you''re just trying to get this to run, you could just uninstall the newest version of prawn and there''s a good chance things will work out. If not, you''ll have to go version hunting for compatible gems or retrofit the project to use Bundler. Allen Madsen http://www.allenmadsen.com On Fri, Apr 8, 2011 at 4:55 AM, amritpal pathak <amritpalpathak1@gmail.com>wrote:> I am getting error: > > rake db:migrate > (in /home/hsrai/public_html/ERP/ERP_Campus/projectfedena_v2.0) > rake aborted! > can''t activate , already activated prawn-0.11.1 > > Where is problem? > > Fedena is Ruby on Rails (RoR) application. > > My installation log is below signature. > > > mkdir ERP > cd ERP > wget http://202.164.53.122/ERP/ERP_Campus.tar.gz > tar -zxvf ERP_Campus.tar.gz > cd ERP_Campus/projectfedena_v2.0/ > sudo apt-get install rake ruby1.8-dev > rake gems:install > sudo gem install rails -v=2.3.5 --remote > sudo rake gems:install > sudo gems install prawn > joe config/database.yml > sudo gem install mysql --remote > rake db:create > rake db:migrate > ruby script/server > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.