![]() ![]() Two options are to 1) install Git locally and then use it’s SSH implementation and 2) install PuTTY. vagrant ssh # if this fails, you need to put SSH on the path.vagrant up # first time will download the vm machine.uncomment config.vm.network :private_network, ip: "192.168.33.10" in Vagrantfile.vagrant init rails3r2e13.box url_to_image.Create a machine1 directory mkdir vms/machine1 It will be accessible to both.Create a vms directory for your development use mkdir vms.OS X/Linux commands are given here, change the direction of the / (to \) for Windows. Install the base machine on student computer Restart the machine and continue work: vagrant up.Package the machine post configuration with vagrant package default -output rails3r2e13.box Shutdown the virtual machine (saving the contents): vagrant halt.Create a directory to place files add in.I make it by following roughly the following procedure: There is a small bit of logic to avoid re-provisioning things each time the The Vagrantfile is configured to support networking from the host machineĪnd to run a configuration script ( script.sh) as part of the provisioning. Vagrant 1.22 to help manage the install.With an almost configured RAILS system for development. Based on feedback from last year’s class, I am furnishing students In my Software Engineering Projects class, we are going to do a RAILS-based dll file however when trying to generate a model, a whole gamut of errors occured, any help would be most welcome, as having come from a 15 year stint with foxpro, Ruby on Rails although in itself just fab, has the linkup problem with MySQL which is totally annoying.Using Bitnami’s Rubystack on VirtualBox Linux with Vagrant I downloaded the above which comprises a full folder, and inserted the one. It's recommended to use the exact same version to avoid potential issues.Īt the time of building this gem, the necessary DLL files where availableĪnd put lib\libmysql.dll file in your Ruby bin directory, for example C:\Ruby\ It was built using MySQL Connector/C version 6.0.2. any siggestions would be appreciated.Īfter Installation of RubyStack1-1.9.3-0 in Windows XP, there appeared an SSL Error on bundling, when creating a new project, and an upgrade to Gems 1.8.4 was suggested, however after upgrading there was the following error displayed, "You've installed the binary version of mysql2. Luckily it is a virtual machine, so i have restored back back to my start point, so the same problem will happen again, when i try to upgrade. I didn't want to proceeed any further, as i had probbaly broken it enough! Make sure that gem install json -v '1.7.3' succeeds before bundling. Please update your PATH to include build tools or download the DevKitĪn error occured while installing json (1.7.3), and Bundler cannot continue. Gem::InstallError: The 'json' native gem requires installed build tools. someone suggested deleting my Rakefile.lock file, and run the 'bundle install' again, i did this, and got this:. I attempted to therefore install that, but failed:-Ĭ:\Program Files\BitNami Redmine Stack 2.0.3-1\apps\redmine\htdocs>gem install activerecord-mysql2-adapterĮRROR: Could not find a valid gem 'activerecord-mysql2-adapter' (>= 0) in any repositoryĮRROR: Possible alternatives: activerecord-jdbcmysql-adapter, activerecord-jdbch2-adapter, activerecord-odbc-adapter, activerecord-jdbcmssql-adapter, activerecord-postgis-adapter Tasks: TOP => redmine:plugins:migrate => environment (See full trace by running task with -trace) Please install the mysql2 adapter: gem install activerecord-mysql2-adapter (mysql2 is not part of the bundle. Until i tried to run the migration again, and got this:. Your bundle is complete! Use bundle show to see where a bundled gemis installed. I then ran the 'bundle install', which seemed to run ok:. I have recently upgraded bitnami redmine stack from 1.4.1-0 to 2.0.3-1.Įverything goes fine until i try to migrate my plugins:-Ģ.0.3-1\apps\redmine\htdocs>rake redmine:plugins:migrate ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |