Hello Everyone I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want to set up the ''redmine''. To install mysql gem I used --> sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql -- --with-mysql-config=/usr/local/bin/mysql_config When I issue --> RAILS_ENV=production rake db:migrate, I get /Users/myth/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.2/lib/bundler/runtime.rb:211: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. rake aborted! cannot load such file -- mysql However I have successfully deployed redmine1.3 on default ruby1.8.7 installation of OSX with installing mysql gem the very same way. I want to work on the latest trunk with ruby-1.9.3 How can I resolve the issue? I have been searching the mailing list and found similar posts, however could not solve the problem. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/rSDZhsf31yoJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Why do you use sudo? On Wed, Mar 21, 2012 at 8:50 PM, Myth17 <nitishupreti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello Everyone > > I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want to > set up the ''redmine''. To install mysql gem I used --> > sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql -- > --with-mysql-config=/usr/local/bin/mysql_config > > When I issue --> RAILS_ENV=production rake db:migrate, I get > /Users/myth/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.2/lib/bundler/runtime.rb:211: > warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 > !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please > install the mysql gem and try again: gem install mysql. > rake aborted! > cannot load such file -- mysql > > However I have successfully deployed redmine1.3 on default ruby1.8.7 > installation of OSX with installing mysql gem the very same way. > > I want to work on the latest trunk with ruby-1.9.3 > How can I resolve the issue? I have been searching the mailing list and > found similar posts, however could not solve the problem. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/rSDZhsf31yoJ. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Stop it now! ;) On Wed, Mar 21, 2012 at 10:00 PM, Maksim Morozov <me-KlfLmd++2hhg9hUCZPvPmw@public.gmane.org> wrote:> Why do you use sudo? > > > On Wed, Mar 21, 2012 at 8:50 PM, Myth17 <nitishupreti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Hello Everyone >> >> I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want >> to set up the ''redmine''. To install mysql gem I used --> >> sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql -- >> --with-mysql-config=/usr/local/bin/mysql_config >> >> When I issue --> RAILS_ENV=production rake db:migrate, I get >> /Users/myth/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.2/lib/bundler/runtime.rb:211: >> warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 >> !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please >> install the mysql gem and try again: gem install mysql. >> rake aborted! >> cannot load such file -- mysql >> >> However I have successfully deployed redmine1.3 on default ruby1.8.7 >> installation of OSX with installing mysql gem the very same way. >> >> I want to work on the latest trunk with ruby-1.9.3 >> How can I resolve the issue? I have been searching the mailing list and >> found similar posts, however could not solve the problem. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/rSDZhsf31yoJ. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Without sudo I get -->
ERROR: While executing gem ... (Errno::EACCES)
Permission denied -
/Users/myth/.rvm/gems/ruby-1.9.3-p0/gems/mysql-2.8.1/COPYING
On Wednesday, March 21, 2012 11:30:54 PM UTC+5:30, Maksim Morozov
wrote:>
> Why do you use sudo?
>
> On Wed, Mar 21, 2012 at 8:50 PM, Myth17
<nitishupreti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> Hello Everyone
>>
>> I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want
>> to set up the ''redmine''. To install mysql gem I used
-->
>> sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc
--no-ri mysql --
>> --with-mysql-config=/usr/local/bin/mysql_config
>>
>> When I issue --> RAILS_ENV=production rake db:migrate, I get
>>
/Users/myth/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.2/lib/bundler/runtime.rb:211:
>> warning: Insecure world writable dir /usr/local/bin in PATH, mode
040777
>> !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
>> install the mysql gem and try again: gem install mysql.
>> rake aborted!
>> cannot load such file -- mysql
>>
>> However I have successfully deployed redmine1.3 on default ruby1.8.7
>> installation of OSX with installing mysql gem the very same way.
>>
>> I want to work on the latest trunk with ruby-1.9.3
>> How can I resolve the issue? I have been searching the mailing list and
>> found similar posts, however could not solve the problem.
>>
>> --
>> You received this message because you are subscribed to the Google
Groups
>> "Ruby on Rails: Talk" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/rubyonrails-talk/-/rSDZhsf31yoJ.
>> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To unsubscribe from this group, send email to
>>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/qbfCMrF_0owJ.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
try: rm -rf /Users/myth/.rvm/gems/ruby-1.9.3-p0/gems/mysql-2.8.1/ and gem install mysql again don''t mix rvm and sudo if you don''t use Multi-User install of rvm On Thu, Mar 22, 2012 at 2:56 AM, Myth17 <nitishupreti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Without sudo I get --> > ERROR: While executing gem ... (Errno::EACCES) > Permission denied - > /Users/myth/.rvm/gems/ruby-1.9.3-p0/gems/mysql-2.8.1/COPYING > > On Wednesday, March 21, 2012 11:30:54 PM UTC+5:30, Maksim Morozov wrote: >> >> Why do you use sudo? >> >> On Wed, Mar 21, 2012 at 8:50 PM, Myth17 <nitishupreti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> Hello Everyone >>> >>> I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want >>> to set up the ''redmine''. To install mysql gem I used --> >>> sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql -- >>> --with-mysql-config=/usr/**local/bin/mysql_config >>> >>> When I issue --> RAILS_ENV=production rake db:migrate, I get >>> /Users/myth/.rvm/gems/ruby-1.**9.3-p0@global/gems/bundler-1.** >>> 1.2/lib/bundler/runtime.rb:**211: warning: Insecure world writable dir >>> /usr/local/bin in PATH, mode 040777 >>> !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please >>> install the mysql gem and try again: gem install mysql. >>> rake aborted! >>> cannot load such file -- mysql >>> >>> However I have successfully deployed redmine1.3 on default ruby1.8.7 >>> installation of OSX with installing mysql gem the very same way. >>> >>> I want to work on the latest trunk with ruby-1.9.3 >>> How can I resolve the issue? I have been searching the mailing list and >>> found similar posts, however could not solve the problem. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ruby on Rails: Talk" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/rubyonrails-talk/-/**rSDZhsf31yoJ<https://groups.google.com/d/msg/rubyonrails-talk/-/rSDZhsf31yoJ> >>> . >>> To post to this group, send email to rubyonrails-talk@googlegroups.**com<rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>> . >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe@**googlegroups.com<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>> . >>> For more options, visit this group at http://groups.google.com/** >>> group/rubyonrails-talk?hl=en<http://groups.google.com/group/rubyonrails-talk?hl=en> >>> . >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/qbfCMrF_0owJ. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
you can get really ugly stuff like you have now On Thu, Mar 22, 2012 at 12:38 PM, Maksim Morozov <me-KlfLmd++2hhg9hUCZPvPmw@public.gmane.org> wrote:> try: rm -rf /Users/myth/.rvm/gems/ruby-1.9.3-p0/gems/mysql-2.8.1/ > and gem install mysql again > don''t mix rvm and sudo if you don''t use Multi-User install of rvm > > > On Thu, Mar 22, 2012 at 2:56 AM, Myth17 <nitishupreti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Without sudo I get --> >> ERROR: While executing gem ... (Errno::EACCES) >> Permission denied - >> /Users/myth/.rvm/gems/ruby-1.9.3-p0/gems/mysql-2.8.1/COPYING >> >> On Wednesday, March 21, 2012 11:30:54 PM UTC+5:30, Maksim Morozov wrote: >>> >>> Why do you use sudo? >>> >>> On Wed, Mar 21, 2012 at 8:50 PM, Myth17 <nitishupreti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> >>>> Hello Everyone >>>> >>>> I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want >>>> to set up the ''redmine''. To install mysql gem I used --> >>>> sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql >>>> -- --with-mysql-config=/usr/**local/bin/mysql_config >>>> >>>> When I issue --> RAILS_ENV=production rake db:migrate, I get >>>> /Users/myth/.rvm/gems/ruby-1.**9.3-p0@global/gems/bundler-1.** >>>> 1.2/lib/bundler/runtime.rb:**211: warning: Insecure world writable dir >>>> /usr/local/bin in PATH, mode 040777 >>>> !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please >>>> install the mysql gem and try again: gem install mysql. >>>> rake aborted! >>>> cannot load such file -- mysql >>>> >>>> However I have successfully deployed redmine1.3 on default ruby1.8.7 >>>> installation of OSX with installing mysql gem the very same way. >>>> >>>> I want to work on the latest trunk with ruby-1.9.3 >>>> How can I resolve the issue? I have been searching the mailing list and >>>> found similar posts, however could not solve the problem. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ruby on Rails: Talk" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msg/rubyonrails-talk/-/**rSDZhsf31yoJ<https://groups.google.com/d/msg/rubyonrails-talk/-/rSDZhsf31yoJ> >>>> . >>>> To post to this group, send email to rubyonrails-talk@googlegroups.** >>>> com <rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe@**googlegroups.com<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>>> . >>>> For more options, visit this group at http://groups.google.com/** >>>> group/rubyonrails-talk?hl=en<http://groups.google.com/group/rubyonrails-talk?hl=en> >>>> . >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/qbfCMrF_0owJ. >> >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Geraldo Andrade
2012-Mar-22 11:16 UTC
Re: Getting mysql gem working with ruby-1.9.3 on rvm
I have solved this problem using chown On 21 mar, 13:50, Myth17 <nitishupr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello Everyone > > I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want to > set up the ''redmine''. To install mysql gem I used --> > sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql -- > --with-mysql-config=/usr/local/bin/mysql_config > > When I issue --> RAILS_ENV=production rake db:migrate, I get > /Users/myth/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.2/lib/bundler/r untime.rb:211: > warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 > !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please > install the mysql gem and try again: gem install mysql. > rake aborted! > cannot load such file -- mysql > > However I have successfully deployed redmine1.3 on default ruby1.8.7 > installation of OSX with installing mysql gem the very same way. > > I want to work on the latest trunk with ruby-1.9.3 > How can I resolve the issue? I have been searching the mailing list and > found similar posts, however could not solve the problem.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No help! :( On Thursday, March 22, 2012 2:08:45 PM UTC+5:30, Maksim Morozov wrote:> > try: rm -rf /Users/myth/.rvm/gems/ruby-1.9.3-p0/gems/mysql-2.8.1/ > and gem install mysql again > don''t mix rvm and sudo if you don''t use Multi-User install of rvm > > On Thu, Mar 22, 2012 at 2:56 AM, Myth17 <nitishupreti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Without sudo I get --> >> ERROR: While executing gem ... (Errno::EACCES) >> Permission denied - >> /Users/myth/.rvm/gems/ruby-1.9.3-p0/gems/mysql-2.8.1/COPYING >> >> On Wednesday, March 21, 2012 11:30:54 PM UTC+5:30, Maksim Morozov wrote: >>> >>> Why do you use sudo? >>> >>> On Wed, Mar 21, 2012 at 8:50 PM, Myth17 <nitishupreti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> >>>> Hello Everyone >>>> >>>> I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I want >>>> to set up the ''redmine''. To install mysql gem I used --> >>>> sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql >>>> -- --with-mysql-config=/usr/**local/bin/mysql_config >>>> >>>> When I issue --> RAILS_ENV=production rake db:migrate, I get >>>> /Users/myth/.rvm/gems/ruby-1.**9.3-p0@global/gems/bundler-1.** >>>> 1.2/lib/bundler/runtime.rb:**211: warning: Insecure world writable dir >>>> /usr/local/bin in PATH, mode 040777 >>>> !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please >>>> install the mysql gem and try again: gem install mysql. >>>> rake aborted! >>>> cannot load such file -- mysql >>>> >>>> However I have successfully deployed redmine1.3 on default ruby1.8.7 >>>> installation of OSX with installing mysql gem the very same way. >>>> >>>> I want to work on the latest trunk with ruby-1.9.3 >>>> How can I resolve the issue? I have been searching the mailing list and >>>> found similar posts, however could not solve the problem. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ruby on Rails: Talk" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msg/rubyonrails-talk/-/**rSDZhsf31yoJ<https://groups.google.com/d/msg/rubyonrails-talk/-/rSDZhsf31yoJ> >>>> . >>>> To post to this group, send email to rubyonrails-talk@googlegroups.** >>>> com <rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >>>> To unsubscribe from this group, send email to >>>> rubyonrails-talk+unsubscribe@**googlegroups.com<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >>>> . >>>> For more options, visit this group at http://groups.google.com/** >>>> group/rubyonrails-talk?hl=en<http://groups.google.com/group/rubyonrails-talk?hl=en> >>>> . >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/qbfCMrF_0owJ. >> >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/vEZqze-DKYUJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I did a clean install of ruby1.9.3 and also mysql gem without sudo.
However after successful installation of gem I get.
ERROR: While executing gem ... (Gem::FilePermissionError)
You don''t have write permissions into the ./Mysql directory.
Where do I find the mysql directory? :|
On Thursday, March 22, 2012 4:46:42 PM UTC+5:30, Geraldo Andrade
wrote:>
> I have solved this problem using chown
>
> On 21 mar, 13:50, Myth17
<nitishupr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > Hello Everyone
> >
> > I am trying to setup mysql gem on ruby-1.9.3 installed with rvm. I
want
> to
> > set up the ''redmine''. To install mysql gem I used
-->
> > sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc
--no-ri mysql --
> > --with-mysql-config=/usr/local/bin/mysql_config
> >
> > When I issue --> RAILS_ENV=production rake db:migrate, I get
> >
> /Users/myth/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.2/lib/bundler/r
> untime.rb:211:
> > warning: Insecure world writable dir /usr/local/bin in PATH, mode
040777
> > !!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please
> > install the mysql gem and try again: gem install mysql.
> > rake aborted!
> > cannot load such file -- mysql
> >
> > However I have successfully deployed redmine1.3 on default ruby1.8.7
> > installation of OSX with installing mysql gem the very same way.
> >
> > I want to work on the latest trunk with ruby-1.9.3
> > How can I resolve the issue? I have been searching the mailing list
and
> > found similar posts, however could not solve the problem.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/0Uk2d2qCT78J.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.