Manuele Dones
2011-Apr-13 17:38 UTC
ERROR:"Could not find activesupport-3.0.4 in any of the sources"
I''ve already installed Rails 3.0.6. Now when i run "script server" on a project realised with rails 3.0.4 it replies me with the following: "Could not find activesupport-3.0.4 in any of the sources". I''m supposing that the reason is I''ve the activesupport-3.0.6 installed and he cannot find the 3.0.4. Do you know how to migrate a project from rails3.0.4 to rails 3.0.6? Thanks guys! ;-) -- 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.
radhames brito
2011-Apr-13 18:13 UTC
Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
strange, it should be rails server since script server is deprecated, execute gem cleanup to remove gem conflicts -- 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.
Manuele Dones
2011-Apr-13 18:20 UTC
R: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
yeah sorry it''s "rails server" i''ve runned gem cleanup but it didn''t work... :-( -- 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.
Colin Law
2011-Apr-13 21:04 UTC
Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
On 13 April 2011 18:38, Manuele Dones <manueledones-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve already installed Rails 3.0.6. > Now when i run "script server" on a project realised with rails 3.0.4 it > replies me with the following: "Could not find activesupport-3.0.4 in any of > the sources". I''m supposing that the reason is I''ve the activesupport-3.0.6 > installed and he cannot find the 3.0.4. > Do you know how to migrate a project from rails3.0.4 to rails 3.0.6? > Thanks guys! ;-)Which version of rails have you specified in your Gemfile? After changing it there (if you have not already) run bundle install and rake rails:update Make sure it is all committed to your source control system (git for example) before you start. 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Manuele Dones
2011-Apr-13 22:26 UTC
R: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
on Gemfile there were still 3.0.4. So now i''m changing it on 3.0.6...and everything is working now! Thanks! -- 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.
Manuele Dones
2011-Jun-01 21:55 UTC
R: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
Here again... the same problem ;-) I''ve done a project some weeks ago, using rails 3.0.7 Today i''ve updated the gems by "gem update", and it installed new versions of some gems like "arel", "rack", "rake". Then I removed the old versions of the gem by "gem cleanup" and it deleted all the previous versions of them. My application didn''t start, because some (version of) gems were missing. After running the command "build install" it installed the previous version of all the gems used by my application so now i''ve again 2 versions of arel, 2 versions or rack, rake etc etc. Is there a way to "update" my project to the newest versions of the gems? I mean, now my project seems to required an older versions of some gem, so is there a way to update it? I think this is important otherwise it''s useless to update the gems if the proejcts still need and use the older versions.. Is it clear? Thanks guys, see you. -- 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/-/UHR1czNhS0tFTjBK. 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.
Bryan Crossland
2011-Jun-02 00:02 UTC
Re: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
On Wed, Jun 1, 2011 at 4:55 PM, Manuele Dones <manueledones-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Here again... the same problem ;-) > > I''ve done a project some weeks ago, using rails 3.0.7 > > Today i''ve updated the gems by "gem update", and it installed new versions > of some gems like "arel", "rack", "rake". > > Then I removed the old versions of the gem by "gem cleanup" and it deleted > all the previous versions of them. > > My application didn''t start, because some (version of) gems were missing. > > After running the command "build install" it installed the previous version > of all the gems used by my application so now i''ve again 2 versions of arel, > 2 versions or rack, rake etc etc. > > Is there a way to "update" my project to the newest versions of the gems? I > mean, now my project seems to required an older versions of some gem, so is > there a way to update it? I think this is important otherwise it''s useless > to update the gems if the proejcts still need and use the older versions.. > > Is it clear? Thanks guys, see you. >Try bundle update. http://jsbin.com/ihiqe4 B.> -- > 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/-/UHR1czNhS0tFTjBK. > > 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.
elitwin
2011-Jun-02 00:06 UTC
Re: R: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
On Jun 1, 2:55 pm, Manuele Dones <manueledo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Here again... the same problem ;-) >> Is there a way to "update" my project to the newest versions of the gems? I > mean, now my project seems to required an older versions of some gem, so is > there a way to update it? I think this is important otherwise it''s useless > to update the gems if the proejcts still need and use the older versions.. > > Is it clear? Thanks guys, see you.You are not specifying the version of arel in your Gemfile (at least you shouldn''t be), just the version of rails. You need to understand Gem dependencies a bit better. Look at Gemfile.lock and you will see Gem dependencies - for example, rails 3.0.7 depends on activerecord 3.0.7 which depends on arel 2.0.x. ( ~> 2.0.2 means you can use 2.0.3, 2.0.10, etc.) Bundler will manage these dependencies for you. If you uninstall arel 2.0.10 and keep arel 2.1.x, your app won''t start because of a missing dependency. -- 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.
Manuele Dones
2011-Jun-02 07:15 UTC
R: Re: R: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
yes that''s the point. My project still requires in the Gemfile.lock Arel 2.0.2. After updating and cleaning up the gem in my system there''s Arel 2.1.1. So is there a way to update my rails project in order to use all the newest versions of the gems? So for example a way to change in the Gemfile.lock Arel 2.0.2 --> Arel 2.1.1 ? I tried "bundle update" but it only updates the gem in the system and not the references in my project. Thanks!! -- 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/-/aUNxYThtUXdEdGNK. 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.
Manuele Dones
2011-Jun-02 07:17 UTC
R: Re: R: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
* sorry, "bundle update" doesn''t update the gems in my system, but install the previous version of them required by the project... so it''s the same as "bundle install"... Instead I would like to update the references in my project of the newest version of gems. Thanks again -- 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/-/bDZRaDJveFg2aHdK. 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.
Walter Davis
2011-Jun-02 13:24 UTC
Re: R: Re: R: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
You could generate a new scratch application without specifying Rails version (thus getting the latest) and look at the versions that get written into that new Gemfile. Manual translation is the only way -- the idea here is that once you''ve generated an application, you make the decisions (manually and deliberately) about what to do next. Walter On Jun 2, 2011, at 3:17 AM, Manuele Dones wrote:> * sorry, "bundle update" doesn''t update the gems in my system, but > install the previous version of them required by the project... so > it''s the same as "bundle install"... > > Instead I would like to update the references in my project of the > newest version of gems. > > Thanks again > > -- > 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/-/bDZRaDJveFg2aHdK > . > 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-/JYPxA39Uh5TLH3MbocFFw@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.
elitwin
2011-Jun-02 16:04 UTC
Re: R: Re: R: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
On Jun 2, 12:15 am, Manuele Dones <manueledo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> yes that''s the point. My project still requires in the Gemfile.lock Arel > 2.0.2. After updating and cleaning up the gem in my system there''s Arel > 2.1.1. So is there a way to update my rails project in order to use all the > newest versions of the gems? So for example a way to change in the > Gemfile.lock Arel 2.0.2 --> Arel 2.1.1 ? > > I tried "bundle update" but it only updates the gem in the system and not > the references in my project. > > Thanks!!You are missing the point I made - activerecord 3.0.7 depends on arel 2.0.x - it was not written against arel 2.1.1, and bundler figures this out for you and manages the dependencies accordingly. You could fork activerecord 3.0.7 and make it use arel 2.1.1, but why would you want to take on that headache? Is there some new must have feature in arel 2.1.1 that you need? -- 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.
Manuele Dones
2011-Jun-02 16:10 UTC
R: Re: R: Re: R: Re: ERROR:"Could not find activesupport-3.0.4 in any of the sources"
Oh ok understood ;-) Well I thought that a new version of a gem is better then the previous one, so why Arel update at 2.1.1 if Activerecord doesn''t use the new version? It seems to be useless... I understood that maybe Activerecord doesn''t need or doesn''t care about a new version... Well I don''t know what Arel is used to, but I''ve noticed the same behaviour for the gems RAKE and RACK for example... It should be important to use a new version of them no? Anyway, i''ve understood your point, thanks again for ur time!! -- 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/-/cm5uenpsQlBoOFFK. 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.