Ok I made it works. I set default with the gemset gitorious then changed the script/gitorious shebang with #!/usr/local/rvm/bin/ruby which is a rvm wrapper to default env rvm. Maybe I should create a new wrapper just for gotiorious and not depend on default
Le lundi 11 février 2013 05:16:24 UTC+1, Chiku Linu a écrit : > > Hi, > > Fresh gitorious install with rvm ree default and gemset for gitorious. > gitorious folder got .rvmrc and when I'm inside this folder env is set for > this gemset. > > then 1st try : > git clone works. > when git push, commits are pushed on repository and I can browser tree. > But on gitorious activities, there is no commits. > > ~/toto$ LANG="C" git push > Counting objects: 3, done. > Delta compression using up to 4 threads. > Compressing objects: 100% (2/2), done. > Writing objects: 100% (2/2), 266 bytes, done. > Total 2 (delta 0), reused 0 (delta 0) > remote: > /usr/local/rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in > > `gem_original_require': no such file to load -- bundler (LoadError) > remote: from > /usr/local/rvm/rubies/ree-1.8.7-2012.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in > > `require' > remote: from ./hooks/messaging.rb:42 > remote: from hooks/post-receive:25:in `require' > remote: from hooks/post-receive:25 > remote: => Syncing Gitorious... To > [email protected]:toto/mainline.git > a974bf9..32553a3 master -> master > -- -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "Gitorious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
