Displaying 20 results from an estimated 1000 matches similar to: "mysql installation in Windows 7"
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my
pc. Do I need to ran something in the ruby to use MySQL?
C:\>rails new MySQLRestaurant --database=mysql
C:\>cd MySQLRestaurant
C:\MySQLRestaurant>rails generate scaffold review poster:string
date:datetime ar
ticle:text
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l
2012 Oct 09
0
[Win7 x64] Encoding::UndefinedConversionError after installing when using gem and rails
Hello,
after installing the RailsInstaller i got the following error:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in
`exist?'': "\x81" to UTF-8 in conversion from Windows-1252 to
UTF-8 (Encoding::UndefinedConversionError)
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in
`default_path''
2013 Oct 20
1
cannot load such file -- unicode (LoadError)
I''m new to RoR and working on a migration of project developed by another
team.
I''m using Rails version (3.2.13) and my bundle install works successfully.
However while running "rails server", I get the error below.
Any suggestions are most appreciated.
Thanks!
-------------- rails server output --------------
2012 Jun 09
0
custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application
I just installed rails using Rails installer.
and when I ran the following code:
> rails new blog
>
I got the following errors:
F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_re
quire.rb:36:in `require'': 193: %1 is not a valid Win32 application. - F:/dev/r
uby/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadErro
r)
2012 Jun 11
10
installing ruby on rails 1.9.3 on windows 7
m sorry its a totally newbie question, but m really stuck. please help
if possible.
after installing everything required to run ruby on rails when i write
the command ''rails s'' in the command prompt it doesn''t start the server.
rather it shows :
C:\Sites\railsinstaller_demo>rails s
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/run
2011 Aug 26
1
gem installation issues
hi all,
This may seem trivial and stupid to the experts , but i have been at it
for over 2 weeks and all answers got from forums did not help with
resolving the issue. Even using cygwin didn''t help , i get the same
errors.
I''m working on a windows- rails combination and am trying trying to
setup an existing application which uses a plethora of gems. I''m done
with about
2013 Apr 16
1
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys..
i got this type of error when i configured Gemfile
then what to do?*
gem "thinking-sphinx"
gem ''ferret''
Updating git://github.com/mark-moseley/linecache
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
Using ClothRed (0.4.1)
Using RedCloth (4.2.9)
2014 Jan 19
0
gem install fileutils error
Hello Guys
I'm new in Ruby
so I'm now trying to install fileutils by using the command [ gem
install fileutils ]
note: I'm using windows 7 :(
always when i trying to install it i got this error
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for stdint.h... *** extconf.rb failed ***
Could not create Makefile due to some
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both -
After bundle install when I do a rails g foundation:install I get the
following:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti
ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local
variable o
r method `inheritable_attributes' for ActiveRecord::Base:Class
(NameError)
2013 Apr 16
2
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys..
i got this type of error when i configured Gemfile
then what to do?*
gem "thinking-sphinx"
gem ''ferret''
Updating git://github.com/mark-moseley/linecache
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
Using ClothRed (0.4.1)
Using RedCloth (4.2.9)
2014 Feb 23
0
ExecJS::RuntimeError in Say#hello
Showing *D:/RailsInstaller/blog/app/views/layouts/application.html.erb* where
line *#6* raised:
module.js:340
throw err;
^
Error: Cannot find module 'C:\Windows\system32\config\SYSTEM~1\AppData\Local\Temp\execjs20140223-5592-h2cx72.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain
2011 Mar 14
3
error during installing gem named mysql2
*hello everyone,*
*
*
*im getting this error when im installing a gem via command prompt *
*can any one help me out? please*
*
*
*thanks.*
*
*
*C:\>gem i mysql2*
*Temporarily enhancing PATH to include DevKit...*
*Building native extensions. This could take a while...*
*ERROR: Error installing mysql2:*
* ERROR: Failed to build gem native extension.*
*
*
* C:/Ruby192/bin/ruby.exe
2011 Aug 15
3
- WEBrick server refuses to launch
Running Ruby 1.8.7, Rails 3.0.7 on a Windows 7 machine - tried going
through an upgrade to Ruby 1.9.2 over the weekend, but ran into
issues, so have since gone back to 1.8.7. After restoring my app and
re-installing all of the gems, the application finally launches with
rails s:
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d
2011 Sep 08
3
Newbie | Installing mysql2 gem
Hello everyone,
I wanted to learn about Ruby on Rails and its advantages and I decided
to start with some tutorials.
Unfortunately I''m forced to post my problem on the forum after days of
unsuccessful solutions.
I''ve installed Railsinstaller and mysql 5.5.15 64 bit version.
I''m running win 7. I''ve been using the following command:
C:\>gem install mysql2 --
2012 Dec 29
0
no metadata found in activereocrd-3.2.9.gem when running bundle install in a rails 3.2.9
m a newbie in rails. working on Windows 7, 64 bits. Installed my
environment through RailsInstaller. latest version ofcourse. When creating
a new project, (keeping the gem file as default) and having the bundle
install run, am getting the error
gem::package::FormatError: no metadata found in
D:/RailsInstaller/Ruby1.9.3/bin/cashe/activereocrd-3.2.9.gem
and error occurrend while installing
2012 Mar 21
2
aws-s3 gem install error- bittorrent.rb
Hello,
Am running build install on an existing project and I get this error:
Installing aws-s3 (0.6.2)
Errno::EACCES: Permission-denied -
D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/bittorrent.rb
An error occured while installing aws-s3 (0.6.2) and Bundler cannot
continue, make sure that gem install aws-s3 -v ''0.6.2'' succeeds before
bundling.
2011 Mar 20
10
Unable to install mysql2 gem on windows 7
I am getting the following error message while installing, let me know
if any one needs some more details. I followed instruction from
"https://github.com/oneclick/rubyinstaller/wiki/Development-Kit".
I am using ruby 1.9.2p136 (2010-12-25) [i386-mingw32].
E:\work_desk\trunk>gem install mysql2 -v 0.2.4
Temporarily enhancing PATH to include DevKit...
Building native extensions. This
2013 Mar 14
7
No Migration Files are created
I''ve been working with Rails for 3 Months now, but haven''t experienced
this problem until now. I''m currently working through Micharl Hartls
Tutorial and everything worked fine so far, but suddenly (chapter 11) I
can nolonger create Migration Files.
when entering "rails g model Name field1:type" I don''t get the usual
"create db/migrate...."
2006 Jul 28
0
GEM-based rails application installer
I just uploaded the first version of my .gem-based Rails application installer
to Rubyforge (http://rubyforge.org/projects/rails-installer/; gem install
rails-app-installer). This is extracted from Typo 4.0, and it''s intended to
make it easy to build user-friendly installers for Rails applications.
This isn''t intended to compete with Capistrano; it''s much
2011 Oct 21
7
Error while install mysql2 in windows 7
hello i have problem while install gem mysql2 in windows 7 i have got
error
An error occurred while installing mysql (0.3.7), and Bundler cannot
continue. Make sure that ''gem install mysql2 -v ''0.3.7'''' succeeds before
bundling.
Please help me i want to codding with rails :)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because