If the file exists then you have a permissions problem.
Ari
On 23/06/12 9:49pm, elviseras wrote:
> Uppps!!!
>
> There are an "copy and paste" error in last message. The correct transcription is:
> /
> -- assume_migrated_upto_version(20120423075901, ["db/migrate"])
> -> 0.0033s
> rake aborted!
> Permission denied - /var/www/jobsworth/db/schema.rb
>
> Tasks: TOP => db:schema:dump
> (See full trace by running task with --trace)
> lib/setup.rb:129:in `require': cannot load such file --*/var/www/jobsworth/lib/config/environment.rb (LoadError)*
> from lib/setup.rb:129:in `<main>'/
>
> Sorry!!!!!
>
> -elviseras
>
> El sábado, 23 de junio de 2012 13:22:02 UTC+2, elviseras escribió:
>
> Hi,
>
> RVM is in correct user's home directory.
>
> After realizing the tasks that you advise me, everything seems be OK,but when I run again /bundle exec lib/setup.rb/ and type data the system is Initializing database schema and all seem to be fine until near end, that appears the following new error message:
> /
> -- initialize_schema_migrations_table()
> -> 0.0012s
> -- assume_migrated_upto_version(20120423075901, ["db/migrate"])
> -> 0.0044s
> rake aborted!
> Permission denied - /var/www/jobsworth/db/schema.rb
>
> Tasks: TOP => db:schema:dump
> (See full trace by running task with --trace)
> lib/setup.rb:129:in `require': cannot load such file -- /var/www/jobsworth/lib/setup.rb/var/www/jobsworth/config/environment.rb (LoadError)
> from lib/setup.rb:129:in `<main>'/
>
> I have verified the path to the file and it is perfect!!
>
> thanks for your help!!
>
> -elviseras
>
>
> El viernes, 22 de junio de 2012 19:31:06 UTC+2, liu fengyun escribió:
>
> RVM is installed in a user's home directory. If it's installed, the direcotry '~/.rvm' should exist.
>
> Also, from the command line, you should be able to run 'rvm use 1.9.3'(if you have installed ruby 1.9.3 using rvm).
>
> You may need to run 'source ~/.rvm/scripts/rvm' before you run the command above. The better approach is to add following at the end of your bash profile '~/.bash_profile':
> [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
>
> 2012/6/23 elviseras <
elvi...@gmail.com <mailto:
elvi...@gmail.com>>
>
> Hi,
>
> I have installed rvm without error, but Iḿ not sure that is installed fine, because the install instructions are too complicated and confused for me
>
> Since How I can confirm that rvm its correctly installed? I think that the problem is there
>
> -elviseras
>
> El viernes, 22 de junio de 2012 18:20:24 UTC+2, liu fengyun escribió:
>
> It seems that your bundler is in not in correct path.
>
> Have you installed rvm? On my system, when I run 'which bundle', the output is in the rvm directory:
>
> ~/.rvm/gems/ruby-1.9.2-p290/__bin/bundle
>
> 2012/6/22 elviseras <
elvi...@gmail.com <mailto:
elvi...@gmail.com>>
>
> When run following command in jobsworth root directory:
>
>
> bundle exec rails c -e production
>
> terminal give me a following errorr, but i have install rubygems and bundler. Any version conflict??
>
> /os@linux:/var/www/jobsworth$ bundle exec lib/setup.rb
> /usr/lib/ruby/vendor_ruby/__bundler/rubygems_ext.rb:8:in `require': no such file to load -- rubygems (LoadError)
> from /usr/lib/ruby/vendor_ruby/__bundler/rubygems_ext.rb:8
> from /usr/lib/ruby/vendor_ruby/__bundler.rb:11:in `require'
> from /usr/lib/ruby/vendor_ruby/__bundler.rb:11
> from /usr/bin/bundle:4:in `require'
> from /usr/bin/bundle:4/
>
> Thanks,
>
>
> El viernes, 22 de junio de 2012 13:44:43 UTC+2, liu fengyun escribió:
>
> If you have followed the instruction, it should work.
>
> To workaround your problem, you can run following command in jobsworth root directory:
>
> bundle exec rails c -e production
>
> Then in the interactive console, you can find the user, reset the password:
>
> > u = User.first
> > u.password = "xxxxx"
> > u.save
>
> Then try to login again.
>
> Note: there's a 'Forget your password?' link in sign in page, you can try that as well if it works for you.
>
> - liu
>
> 2012/6/22 elviseras <
elvi...@gmail.com <mailto:
elvi...@gmail.com>>
>
> Dear Liu
>
> Thanks for your fast response. I have run 'bundle exec lib/setup.rb', and created the initial user and passwrd, but after in login screen, the user and/or password don´t work
>
> -elviseras
>
>
> On Friday, June 22, 2012 12:35:05 PM UTC+2, liu fengyun wrote:
>
> If you have run 'bundle exec lib/setup.rb', you should have created an initial user. You can login with that account.
>
> - liu
>
> 2012/6/22 elviseras <
elvi...@gmail.com <mailto:
elvi...@gmail.com>>
>
> Dear Ari,
>
> Congratulations for your fantastic work. I am very interested in your
> application for project management. Since it is not possible test it
> without installing, I have decided to install with my few knowledge on
> the Linux System.
>
> After many attempts and a lot of time, I have completed all the steps
> without errors and to come in to the log screen on my servant from
> localhost, but the problem is that always it says me that my user's
> name or password is incorrect, and I cannot pass from the log screen
>
> I am not capable of verifying that it is what happens
>
> Thanks a lot for your help and comprehension, since I am totally
> blocked at this moment.
>
> greetings
>
>
>
>
>
--
-------------------------->
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone
+61 2 9550 5001 fax
+61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A