I've just tried to upgrade redcar from 0.11 to 0.12 but I've a problem:
$ gem install redcar
Fetching: redcar-0.12.gem (100%)
Successfully installed redcar-0.12
1 gem installed
Invalid gemspec in
[/home/pic/.rvm/gems/ree-1.8.7-2011.03/specifications/redcar-0.12.gemspec]:
Illformed requirement ["#<YAML::Syck::DefaultKey:0x3ebeb20> 1.1.2"]
Affected lines in redcar-0.12.gemspec are related to cucumber:
s.add_development_dependency(%q<cucumber>,
["#<YAML::Syck::DefaultKey:0x3ebeb20> 1.1.2"])
Please advice, thanks,
Nicola
Do you have up-to-date versions of Rubygems and Bundler? There was a
whole host of Syck/Psyck/YAML related issues that made the rounds a few
months ago. Make sure you have current versions of them and then try
uninstalling and reinstalling the gems. I forget what library I had
difficulty with but updating Rubygems and reinstalling the gem cleared
the issue for me.
--
Steven! Ragnar�k
T 408 256 0278
ste...@nuclearsandwich.com
http://www.nuclearsandwich.com
> Do you have up-to-date versions of Rubygems and Bundler?
I upgraded ree with rubygems and this problem is solved, thanks.
But now I've a new one:
$ redcar .
/home/pic/.rvm/gems/ree-1.8.7-2011.12/gems/redcar-0.12/lib/redcar.rb:28:in
`require': no such file to load -- redcar-icons (LoadError)
from /home/pic/.rvm/gems/ree-1.8.7-2011.12/gems/redcar-0.12/lib/redcar.rb:28
from /home/pic/.rvm/rubies/ree-1.8.7-2011.12/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in
`gem_original_require'
from /home/pic/.rvm/rubies/ree-1.8.7-2011.12/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in
`require'
from /home/pic/.rvm/gems/ree-1.8.7-2011.12/gems/redcar-0.12/bin/redcar:22
from /home/pic/.rvm/gems/ree-1.8.7-2011.12/bin/redcar:19:in `load'
from /home/pic/.rvm/gems/ree-1.8.7-2011.12/bin/redcar:19
$ gem list redcar*
*** LOCAL GEMS ***
redcar (0.12, 0.11)
redcar-bundles (0.3)
redcar-icons (0.3)
redcar-javamateview (0.2)
redcar-jruby (0.1)
redcar-svnkit (0.2)
Any idea?
Thanks,
Nicola
> --
> You received this message because you are subscribed to the Google Groups "Redcar" group.
> To post to this group, send email to redcar...@googlegroups.com.
> To unsubscribe from this group, send email to redcar-edito...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/redcar-editor?hl=en.
>
> In older versions such problem arrived if you forget to run `redcar install`.
thanks for the hint.
It makes me spot the problem:
I used to go in the project directory and:
$ redcar .
this doesn't work anymore.
I guess that there is a sort of conflict with the Gemfile.lock inside
the project.
But if I stay in the parent directory and lauch with:
$ redcar project
it works like a charm.
I had an issue with the plugin manager and SWT bindings in version
0.11, and this seems solved too, great.
Many thanks for redcar,
Nicola
> If you wouldn't mind, could you update (gem install redcar) and try "redcar
> ." and "redcar project" again, so I can check I haven't broken anything with
> this hasty patch?
both "redcar ." and "redcar project" work with 0.12.1 so far.
Thanks,
Nicola
I've changed project, this is an old one using rails 2.3.5, and there
I have the conflict with project Gemfile again:
$ redcar .
Could not find activesupport-2.3.5 in any of the sources
Run `bundle install` to install missing gems.
Launching
$ redcar project/
works, so it is not a big problem.
A part of this, 0.12.1 seems a lot better than 0.11 for the moment, congrats!
Nicola
Thanks for letting me know.
First, sorry but can you check you are definitely running 0.12.1 here, rvm hasn't changed gem sets without you noticing or anything?
Thanks
Dan
yes, you are right, first check if the user is an idiot! ;-)
I'm, it was still 0.12 with another ruby.
Sorry,
Nicola
yes, you are right, first check if the user is an idiot! ;-)I'm, it was still 0.12 with another ruby.
Sorry,