Re: [Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Colin Law
On 14 September 2015 at 12:15, Prasanna Moharana wrote: > Everything seems ok in RVM it shows me- Checking requirements for ubuntu. > Requirements installation successful. > But issue in Rails installation pls see the above picture and help me... It would help me if you

[Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Prasanna Moharana
ok please have a look - prasanna@prasanna-HP-Pavilion-dv6-Notebook-PC:~/rubyinstaller$ sudo apt-get install ruby-dev zlib1g-dev Reading package lists... Done Building dependency tree Reading state information... Done ruby-dev is already the newest version. zlib1g-dev is already the newest

[Rails] Error in loading WEBrick server on Windows

2015-09-14 Thread Alejandro Barrero
I am at the beginning of the book "Ruby on Rails 3 Tutorial"; In section 1.2.5 I am trying the command "rails server", but I am getting a very strange error: Usage: rails new APP_PATH [options] Your help will be greatly appreciated, Alejandro Barrero -- You received this message because

[Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Prasanna Moharana
So i think if mkmf file issue will sort out then everything will goes well..so can you help me to how could mkmf file issue resolve? please send me some of the commands that can be helpful. i have tried out sudo apt-get install libmagickwand-dev gem update --system sudo apt-get install ruby-dev

Re: [Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Colin Law
On 14 September 2015 at 13:55, Prasanna Moharana wrote: > > So i think if mkmf file issue will sort out then everything will goes > well..so can you help me to how could mkmf file issue resolve? As I suggested previously please reply with your message after the relevant

[Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Prasanna Moharana
well when i was trying to run sudo apt-get install mkmf it showing me Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mkmf cause i know there are issue in mkmf files. so when i tried to run build essential -. by

Re: [Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Colin Law
On 14 September 2015 at 11:56, Prasanna Moharana wrote: > > Hello am using Ubuntu 14.04,and i have prefer this > > http://blog.coolaj86.com/articles/installing-ruby-on-ubuntu-12-04.html > so please help me how to tackle this. That looks ok. What does the command rvm

[Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Prasanna Moharana
Hello am using Ubuntu 14.04,and i have prefer this http://blog.coolaj86.com/articles/installing-ruby-on-ubuntu-12-04.html so please help me how to tackle this. On Monday, September 14, 2015 at 3:34:22 PM UTC+5:30, Prasanna Moharana wrote: > > >

Re: [Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Prasanna Moharana
Everything seems ok in RVM it shows me- Checking requirements for ubuntu. Requirements installation successful. But issue in Rails installation pls see the above picture and help me... On Monday, September 14, 2015 at 4:40:58 PM UTC+5:30, Colin Law wrote: > > On 14 September 2015 at 11:56,

Re: [Rails] Error in loading WEBrick server on Windows

2015-09-14 Thread Colin Law
On 14 September 2015 at 12:06, Alejandro Barrero wrote: > I am at the beginning of the book "Ruby on Rails 3 Tutorial"; In section > 1.2.5 I am trying the command "rails server", but I am getting a very > strange error: > > Usage: > rails new APP_PATH [options] Which

[Rails] Problem connecting to localhost:3000, still

2015-09-14 Thread Bill Fulbright
I am building my environment on my Mac / Yosemite Here is my /etc/hosts file ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost

Re: [Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Colin Law
On 14 September 2015 at 12:29, Prasanna Moharana wrote: > > well when i was trying to run sudo apt-get install mkmf > it showing me Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package mkmf mkmf is

[Rails] Re: Validate uniqueness of association not working.

2015-09-14 Thread Luis
There is no unit test for this. On Friday, September 11, 2015 at 11:43:39 AM UTC-4, Luis wrote: > > Hi! > > I have the following classes for postgres rails 4 project : > > class Medhospital < ActiveRecord::Base > belongs_to :pcp > belongs_to :hospital > validates_uniqueness_of :pcp_id,

Re: [Rails] Problem connecting to localhost:3000, still

2015-09-14 Thread Hassan Schroeder
On Mon, Sep 14, 2015 at 5:20 AM, Bill Fulbright wrote: > I don't get it. What is the issue with connecting to the rails server? What server are you using, and how are you trying to start it? If it fails to start there should be some kind of error message. -- Hassan

Re: [Rails] Re: Validate uniqueness of association not working.

2015-09-14 Thread Colin Law
On 14 September 2015 at 15:13, Luis wrote: > There is no unit test for this. Then the solution is obvious. Write one. Colin > > > On Friday, September 11, 2015 at 11:43:39 AM UTC-4, Luis wrote: >> >> Hi! >> >> I have the following classes for postgres rails 4

Re: [Rails] Re: Help regarding installation of Gems

2015-09-14 Thread Colin Law
On 14 September 2015 at 14:21, Prasanna Moharana wrote: > > > ok please have a look - Please post your reply inline in the previous message as I have asked multiple times. If you want me to help then do this. Please also read more carefully what I am asking for. I

Re: [Rails] Problem running ruby script with rails42

2015-09-14 Thread PandaR1
Il giorno venerdì 10 aprile 2015 14:53:10 UTC+2, d ha scritto: > > Did you find out how to fix this? > Yes, it was a jruby problem, I solved with jruby 1.7.22 ;) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from

Re: [Rails] Help regarding installation of Gems

2015-09-14 Thread Norbert Melzer
OK, I have taken a closer look into the posted screenshot. It seems to happen when installing nokogiri, what were the names of the development headers it depends on? Colin Law schrieb am Mo., 14.09.2015, 21:41: > On 14 September 2015 at 18:52, Norbert Melzer

Re: [Rails] Re: Validate uniqueness of association not working.

2015-09-14 Thread Colin Law
On 14 September 2015 at 01:04, Luis wrote: > That is all I have, The controller have nothing special all is basic and > default. Well not quite, I am using > > cocoon gem for the nested forms but other than that is pretty vanilla. Please quote the previous message when

Re: [Rails] Help regarding installation of Gems

2015-09-14 Thread Norbert Melzer
Install gcc, it's obvious by just looking at which point mkmf cancels... Probably you will stumble over more missing development packages after that, but let's make one step after the other. Prasanna Moharana schrieb am Mo., 14.09.2015, 12:03: > >

Re: [Rails] Help regarding installation of Gems

2015-09-14 Thread Colin Law
On 14 September 2015 at 18:52, Norbert Melzer wrote: > Install gcc, it's obvious by just looking at which point mkmf cancels... > Probably you will stumble over more missing development packages after > that, but let's make one step after the other. > He said he had already

[Rails] Help regarding installation of Gems

2015-09-14 Thread Prasanna Moharana
Hello every body am very new to this group. i have some issue regarding Rails installation.Though i have installed Ruby,bundler etc i was trying to

Re: [Rails] Help regarding installation of Gems

2015-09-14 Thread Colin Law
On 14 September 2015 at 11:00, Prasanna Moharana wrote: > > > Hello every body am very new to this group. > i have some issue