[Rails] The best source to start

2016-01-28 Thread Benyamin Pm
hi everyone. i'm new in ruby/On rails i want to start lerning ruby on rails from zero to 100! i tried in tutorialpoints.com && The best source to start but either have problems! when i start , in second or third step i have problems! i just want to know , what is the best resource for learning r

[Rails] Re: migrate error

2016-01-27 Thread Benyamin Pm
Colin Law wrote in post #1180957: > On 27 January 2016 at 13:32, Benyamin Pm wrote: >> >> text, "created_at" timestamp) > The error indicates that the migration calls for the creation of the > books table, but that table already exists. > > Colin but i don&

[Rails] migrate error

2016-01-27 Thread Benyamin Pm
i have problem with 'rake db:migrate' i use this tutorial => http://www.tutorialspoint.com/ruby-on-rails/rails-routes.htm form first step to this step. when i type 'rake db:migrate' in my terminal. i get this error => == 20160127215334 Books: migrating =

[Rails] Re: Re: Re: Re: Gem::Load error

2016-01-26 Thread Benyamin Pm
Colin Law wrote in post #1180906: > On 26 January 2016 at 07:48, Benyamin Pm wrote: >>> not realise this shows that you really need to work through the tutorial >>> that I suggested. >>> >>> Colin > >> gem 'rails', '4.2.5' >&

[Rails] Re: Re: Re: Gem::Load error

2016-01-25 Thread Benyamin Pm
Colin Law wrote in post #1180898: > On 25 Jan 2016 22:36, "Benyamin Pm" wrote: >> > asked for? Please just copy/paste your Gemfile here so that we can >> list of gems : >> >> *** LOCAL GEMS *** >> > > That is not the file Gemfile which is a f

[Rails] Re: Re: Gem::Load error

2016-01-25 Thread Benyamin Pm
Colin Law wrote in post #1180889: > On 25 January 2016 at 22:13, Benyamin Pm wrote: >> hi scott. >> >> >> please take a look at this => >> http://8pic.ir/images/cqpc93bssq0dyvqqy33e.png > > Why is it apparently so difficult for people to supply the inform

[Rails] Re: Gem::Load error

2016-01-25 Thread Benyamin Pm
Scott Eisenberg wrote in post #1180887: > How about giving us the output of bundle list? Or at the very least > bundle list pg? > > PS If you see pg listed there you’re gonna have to give more information > like the stacktrace, error messages in the server window, your > database.yml file. > > If

[Rails] Re: Re: Gem::Load error

2016-01-25 Thread Benyamin Pm
James Jelinek (shakycode) wrote in post #1180884: > Ok, but would you mind posting your Gemfile in a github gist so we can > look at it? What happens when you run “bundle install” from the command > line? Does it install all of the gems in your Gemfile? > > -James bundle install work's perfectl

[Rails] Re: Gem::Load error

2016-01-25 Thread Benyamin Pm
James Jelinek (shakycode) wrote in post #1180882: > What does your Gemfile look like? Does it have the pg gem listed? > > -James i intsall pg gem and test again but it agian i get sampe problem. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribe

[Rails] Gem::Load error

2016-01-25 Thread Benyamin Pm
hi everyone.. i install rails and all the things which is need for. i create a new project i create datbase's and set the database.yml file but when i go to browser and type this=> localhost:3000. i get this error=> Gem::Loaderror Specified 'postgresql' for database adapter, but the gem is not l

[Rails] Re: rails server starting error

2016-01-24 Thread Benyamin Pm
hi james. thanks for your reply i uninstall openssl and type in treminal => bundle install openssl error is gone. but when i type this=> rails server again i get this=> /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.5/lib/active_support/key_generator.rb:2:in `require': cannot load such f

[Rails] rails server starting error

2016-01-24 Thread Benyamin Pm
hi there. i'm new in ruby on rails. i using kali linux , i complete the rbenv and all the gems installation. now i create a demo and when i type this => rails server i get this error => Error! You've somehow installed openssl from rubygems.org Remove openssl from your Gemfile and delete it fr