Closed anishshah101 closed 10 years ago
Hi, Anish - so rake gems:install
did not work? Also, why do you have to remove write permissions for the root folder?
rake gems:install
shows an error of missing gemfile.
When users beside you have write permissions for the root folder it doesn't allow the server to start and displays the warning: /home/username is insecure 40775. It may not be group or world writable. Exiting
Running chmod -R go-w mapknitter
solves this.
ah, these must be recent Rails/Ruby things. I know the Gemfile is a new rails convention -- what version of rails are you running?
The Readme should specify that those are specific to the appropriate Rails version only. Thanks for looking into this!
On Tue, Apr 1, 2014 at 3:52 PM, anishshah101 notifications@github.comwrote:
rake gems:install shows an error of missing gemfile. When users beside you have write permissions for the root folder it doesn't allow the server to start and displays the warning: /home/username is insecure 40775. It may not be group or world writable. Exiting Running chmod -R go-w mapknitter solves this.
Reply to this email directly or view it on GitHubhttps://github.com/jywarren/mapknitter/pull/165#issuecomment-39250613 .
I am using Rails 2.3.15. When you run it with Rails 2.3.11 it displays an error saying Rails 2.3.15 not found.
Hmm, but I wasn't aware rails 2.3.x used a Gemfile to list gems. I thought
that was a Rails 3.x convention. You're sure that's what you're using? Are
you in RVM? Can you run rails -v
?
On Tue, Apr 1, 2014 at 5:31 PM, anishshah101 notifications@github.comwrote:
I am using Rails 2.3.15. When you run it with Rails 2.3.11 it displays an error saying Rails 2.3.15 not found.
Reply to this email directly or view it on GitHubhttps://github.com/jywarren/mapknitter/pull/165#issuecomment-39261798 .
Actually rails 2.3.x doesn't use Gemfile to list gems. It is possible that other errors are happening here as pointed out in this old blog: http://sleeplesscoding.blogspot.in/2010/07/install-rails-apps-dependencies-where.html I think the installing the bundler will work best here: http://bundler.io/rails23.html
Hmm, ok, i trust your investigation :-) but just be sure you're not displacing a set of instructions which does work for an older version. Note the versions you think your approach is valid for inline in the README steps. Thanks!
On Tue, Apr 1, 2014 at 6:00 PM, anishshah101 notifications@github.comwrote:
Actually rails 2.3.x doesn't use Gemfile to list gems. It is possible that other errors are happening here as pointed out in this old blog: http://sleeplesscoding.blogspot.in/2010/07/install-rails-apps-dependencies-where.html I think the installing the bundler will work best here: http://bundler.io/rails23.html
Reply to this email directly or view it on GitHubhttps://github.com/jywarren/mapknitter/pull/165#issuecomment-39265661 .
I have mentioned both Ruby 1.8.7 and Rails 2.3.15 in the README. The rest of the steps are primitive even for Rails 2.3 as here you find the necessary gems using environment.rb and then install them manually using gem install 'gem name' -v 'version name'
I think they should work properly even for older versions. Bundler is a simpler solution for this but it's support for versions older than 2.3 is not guaranteed so haven't put this alternative in the README.
Revised the installations steps for the app.