Shoaibi <iknewitalready <at> gmail.com> writes: > > Hi, > > I am following > http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server > to install gitorious with ruby1.9 installed via rvm. When i try to > create admin user i get: > > $ env RAILS_ENV=production ruby script/create_admin > <internal:lib/rubygems/custom_require>:29:in `require': no such file > to load -- script/../config/environment (LoadError) > from <internal:lib/rubygems/custom_require>:29:in `require' > from script/create_admin:2:in `<main>' > > would appreciate if anyone could help on me this issue. >
I have same problem. similar problem: http://stackoverflow.com/questions/3865515/strange-inability-to-require-config-boot-after-upgrading-to-ruby-1-9-2 Problem is in File.dirname(__FILE__) call: env RAILS_ENV=production ruby ./script/create_admin -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
